Skip to content
Snippets Groups Projects
Commit a537c66e authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Doc cleanup/update

parent 9bdd5401
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ safely delete the whole source folder. ...@@ -149,7 +149,7 @@ safely delete the whole source folder.
.. _python: https://www.python.org/ .. _python: https://www.python.org/
.. _boost: http://www.boost.org/ .. _boost: http://www.boost.org/
.. _eigen3: http://eigen.tuxfamily.org/index.php?title=Main_Page .. _eigen3: http://eigen.tuxfamily.org/index.php?title=Main_Page
.. _openmm: https://simtk.org/home/openmm .. _openmm: http://openmm.org
.. LocalWords: cmake makefiles CMakeLists txt DOCTEST LINKCHECK conf html .. LocalWords: cmake makefiles CMakeLists txt DOCTEST LINKCHECK conf html
.. LocalWords: doctest linkcheck qmean DQMEAN eigen CMakeCache .. LocalWords: doctest linkcheck qmean DQMEAN eigen CMakeCache
......
...@@ -221,4 +221,4 @@ modules from there, use the binaries from :file:`stage/bin`, etc.. ...@@ -221,4 +221,4 @@ modules from there, use the binaries from :file:`stage/bin`, etc..
.. |pylint| replace:: Pylint .. |pylint| replace:: Pylint
.. _pylint: http://www.pylint.org .. _pylint: https://www.pylint.org
...@@ -92,7 +92,7 @@ Create MM systems for loops ...@@ -92,7 +92,7 @@ Create MM systems for loops
:type loop_length: :class:`int` :type loop_length: :class:`int`
:param is_n_ter: For each *res_indices[i]*, *is_n_ter[i]* defines whether :param is_n_ter: For each *res_indices[i]*, *is_n_ter[i]* defines whether
that residue is N-terminal. that residue is N-terminal.
:type is_n_ter: :class:`list` :class:`bool` :type is_n_ter: :class:`list` of :class:`bool`
:param is_c_ter: For each *res_indices[i]*, *is_c_ter[i]* defines whether :param is_c_ter: For each *res_indices[i]*, *is_c_ter[i]* defines whether
that residue is C-terminal. that residue is C-terminal.
:type is_c_ter: :class:`list` of :class:`bool` :type is_c_ter: :class:`list` of :class:`bool`
......
...@@ -868,11 +868,6 @@ The PsipredPrediction class ...@@ -868,11 +868,6 @@ The PsipredPrediction class
:returns: Number of elements in container :returns: Number of elements in container
.. class:: PsipredPredictionList
Represents a list of :class:`PsipredPrediction` objects
.. [soding2005] Söding J (2005). Protein homology detection by HMM-HMM comparison. Bioinformatics 21 (7): 951–960. .. [soding2005] Söding J (2005). Protein homology detection by HMM-HMM comparison. Bioinformatics 21 (7): 951–960.
.. [sanner1996] Sanner M, Olson AJ, Spehner JC (1996). Reduced Surface: an Efficient Way to Compute Molecular Surfaces. Biopolymers 38 (3): 305-320. .. [sanner1996] Sanner M, Olson AJ, Spehner JC (1996). Reduced Surface: an Efficient Way to Compute Molecular Surfaces. Biopolymers 38 (3): 305-320.
......
...@@ -38,10 +38,10 @@ Build Raw Modelling Handle ...@@ -38,10 +38,10 @@ Build Raw Modelling Handle
.. attribute:: model .. attribute:: model
The resulting model. This includes one chain per target chain (in the same The resulting model. This includes one chain per target chain (in the same
order as the sequences in `seqres`) and (if they were included) a chain order as the sequences in :attr:`seqres`) and (if they were included) a
named '_' for ligands. You can therefore access `model.chains` items and chain named '_' for ligands. You can therefore access `model.chains` items
`seqres` items with the same indexing and the optional ligand chain follows and :attr:`seqres` items with the same indexing and the optional ligand
afterwards. chain follows afterwards.
:type: :class:`~ost.mol.EntityHandle` :type: :class:`~ost.mol.EntityHandle`
...@@ -57,26 +57,30 @@ Build Raw Modelling Handle ...@@ -57,26 +57,30 @@ Build Raw Modelling Handle
.. attribute:: seqres .. attribute:: seqres
List of sequences with one :class:`~ost.seq.SequenceHandle` for each chain List of sequences with one :class:`~ost.seq.SequenceHandle` for each chain
of target protein. of the target protein.
:type: :class:`~ost.seq.SequenceList` :type: :class:`~ost.seq.SequenceList`
.. attribute:: profiles .. attribute:: profiles
List of profiles with one :class:`ost.seq.ProfileHandle` for each chain of List of profiles with one :class:`ost.seq.ProfileHandle` for each chain of
target protein. Please note, that this attribute won't be set by simply the target protein (same order as in :attr:`seqres`). Please note, that this
calling :func:`BuildFromRawModel`. You have to fill it manually or even attribute won't be set by simply calling :func:`BuildFromRawModel`. You have
better by the convenient function :func:`SetSequenceProfiles`, to fill it manually or even better by the convenient function
to ensure consistency with the seqres. :func:`SetSequenceProfiles`, to ensure consistency with the seqres.
:type: :class:`list` of :class:`ost.seq.ProfileHandle`
.. attribute:: psipred_predictions .. attribute:: psipred_predictions
List of predictions with one :class:`promod3.loop.PsipredPrediction` for List of predictions with one :class:`promod3.loop.PsipredPrediction` for
each chain of target protein. each chain of the target protein (same order as in :attr:`seqres`). Please
Please note, that this attribute won't be set by simply note, that this attribute won't be set by simply calling
calling :func:`BuildFromRawModel`. You have to fill it manually or even :func:`BuildFromRawModel`. You have to fill it manually or even better by
better by the convenient function :func:`SetPsipredPredictions`, the convenient function :func:`SetPsipredPredictions`, to ensure
to ensure consistency with the seqres. consistency with the seqres.
:type: :class:`list` of :class:`~promod3.loop.PsipredPrediction`
.. attribute:: backbone_scorer_env .. attribute:: backbone_scorer_env
...@@ -353,14 +357,14 @@ Modelling Steps ...@@ -353,14 +357,14 @@ Modelling Steps
.. function:: SetSequenceProfiles(mhandle, profiles) .. function:: SetSequenceProfiles(mhandle, profiles)
Sets the given sequence profiles and ensures consistency with the seqres Sets the :attr:`sequence profiles <ModellingHandle.profiles>` of **mhandle**
of **mhandle** while ensuring consistency with the :attr:`~ModellingHandle.seqres`.
:param mhandle: Will have the profiles attached afterwards :param mhandle: Will have the profiles attached afterwards
:param profiles: The sequence profiles to attach :param profiles: The sequence profiles to attach
:type mhandle: :class:`ModellingHandle` :type mhandle: :class:`ModellingHandle`
:type profiles: :class:`ost.seq.ProfileHandleList` :type profiles: :class:`list` of :class:`ost.seq.ProfileHandle`
:raises: :class:`ValueError` when the given **profiles** are not consistent :raises: :class:`ValueError` when the given **profiles** are not consistent
with seqres in **mhandle** with seqres in **mhandle**
...@@ -368,14 +372,15 @@ Modelling Steps ...@@ -368,14 +372,15 @@ Modelling Steps
.. function:: SetPsipredPredictions(mhandle, predictions) .. function:: SetPsipredPredictions(mhandle, predictions)
Sets the given predictions and ensures consistency with the seqres Sets the :attr:`predictions <ModellingHandle.psipred_predictions>` of
of **mhandle** **mhandle** while ensuring consistency with the
:attr:`~ModellingHandle.seqres`.
:param mhandle: Will have the predictions attached afterwards :param mhandle: Will have the predictions attached afterwards
:param predictions: The predictions to attach :param predictions: The predictions to attach
:type mhandle: :class:`ModellingHandle` :type mhandle: :class:`ModellingHandle`
:type predictions: :class:`promod3.loop.PsipredPredictionList` :type predictions: :class:`list` of :class:`~promod3.loop.PsipredPrediction`
:raises: :class:`ValueError` when the given **predictions** are not consistent :raises: :class:`ValueError` when the given **predictions** are not consistent
with seqres in **mhandle** with seqres in **mhandle**
......
...@@ -96,7 +96,7 @@ SidechainReconstructor Class ...@@ -96,7 +96,7 @@ SidechainReconstructor Class
.. method:: Reconstruct(start_resnum, num_residues, chain_idx=0) .. method:: Reconstruct(start_resnum, num_residues, chain_idx=0)
.. method:: Reconstruct(start_resnum_list, num_residues_list, chain_idx_list) Reconstruct(start_resnum_list, num_residues_list, chain_idx_list)
Reconstruct sidechains for one or several loops (extracted from environment). Reconstruct sidechains for one or several loops (extracted from environment).
All residues in the loop(s) are expected to contain valid CB positions All residues in the loop(s) are expected to contain valid CB positions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment