Skip to content

Commit

Permalink
Merge pull request #259 from lucas-diedrich/refactor_docs_II
Browse files Browse the repository at this point in the history
[DOC] Refactor Docs II
  • Loading branch information
lucas-diedrich authored Dec 11, 2024
2 parents 1a2e0e0 + 9288503 commit 1f08d58
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/constants/atom.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.constants.atom
===========================
========================

.. automodule:: alphabase.constants.atom
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/io/hdf.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.io.hdf
===========================
================

.. automodule:: alphabase.io.hdf
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/io/tempmmap.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.io.tempmmap
===========================
=====================

.. automodule:: alphabase.io.tempmmap
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules_io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ alphabase.io
:maxdepth: 1

io/hdf
.. io/tempmmap
io/tempmmap
2 changes: 1 addition & 1 deletion docs/nbs/peptide_smiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Further usage:\n",
"## Further usage:\n",
"\n",
"### Molecular fingerprints\n",
"\n",
Expand Down
31 changes: 30 additions & 1 deletion docs/notebooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,41 @@ Tutorials and Notebooks

Tutorials and notebooks about how to use AlphaBase.


Basics
------

.. toctree::
:maxdepth: 2
:maxdepth: 1

tutorials/tutorial_basic_definitions
tutorials/tutorial_dataframe_structures


Spectral libraries
------------------

.. toctree::
:maxdepth: 1

tutorials/tutorial_spectral_libraries
nbs/library_from_fasta


Reader
------
.. toctree::
:maxdepth: 1

nbs/psm_readers
nbs/library_reader


Chemical structures
-------------------
.. toctree::
:maxdepth: 1

nbs/tutorial_smiles
nbs/peptide_smiles
nbs/adding_smiles
2 changes: 1 addition & 1 deletion docs/protein/fasta.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.protein.fasta
===========================
=======================

The :obj:`SpecLibFasta <alphabase.protein.fasta.SpecLibFasta>`
provides the highest level APIs based on all other
Expand Down
2 changes: 1 addition & 1 deletion docs/protein/protein_level_decoy.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.protein.protein_level_decoy
===========================
=====================================

Protein reverse decoy defined in
:obj:`ProteinReverseDecoy <alphabase.protein.protein_level_decoy.ProteinReverseDecoy>`.
Expand Down
2 changes: 1 addition & 1 deletion docs/psm_reader/maxquant_reader.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.psm_reader.maxquant_reader
===========================================
====================================

.. automodule:: alphabase.psm_reader.maxquant_reader
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/psm_reader/msfragger_reader.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.psm_reader.msfragger_reader
===========================================
=====================================

.. automodule:: alphabase.psm_reader.msfragger_reader
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/psm_reader/pfind_reader.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.psm_reader.pfind_reader
===================================
=================================

.. automodule:: alphabase.psm_reader.pfind_reader
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/psm_reader/psm_reader.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.psm_reader.psm_reader
===================================
===============================

See examples in :doc:`psm_reader notebook <../nbs/psm_readers>`.

Expand Down
2 changes: 1 addition & 1 deletion docs/spectral_library/base.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alphabase.spectral_library.base
===================================
===============================

.. automodule:: alphabase.spectral_library.base
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/tutorial_basic_definitions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial: Basic Definations and Settings\n",
"# Tutorial: Basic Definitions and Settings\n",
"\n",
"Measuring m/z values is the elemental function of MS technologies, therefore the calculation of mass values for a peptide and its fragments becomes the most essential part in MS-based computational tools. AlphaBase calculates all mass values from atoms. And the masses of amino acids and modifications are calculated from their atom compositions, repectively. Eventually, the masses of peptides or precursors as well as their fragments can be calculated by the amino acid sequences with or without modifications (See figure below).\n",
"\n",
Expand Down

0 comments on commit 1f08d58

Please sign in to comment.