Skip to content
Snippets Groups Projects
Unverified Commit 5726bfd3 authored by Xavier Robin's avatar Xavier Robin
Browse files

doc: also apply to deprecated action

parent 3c730301
No related branches found
No related tags found
No related merge requests found
...@@ -20,13 +20,13 @@ Comparing two structures ...@@ -20,13 +20,13 @@ Comparing two structures
You can compare two structures from the command line with the You can compare two structures from the command line with the
``ost compare-structures`` action. This can be considered a command line ``ost compare-structures`` action. This can be considered a command line
interface to :class:`ost.mol.alg.scoring.Scorer` interface to the :class:`~ost.mol.alg.scoring.Scorer`.
.. warning:: .. note::
``compare-structures`` underwent a complete rewrite in OpenStructure
release 2.4.0. The old version is still available as This is a new implementation of the ``compare-structures`` action, introduced
``compare-structures-legacy`` with documentation available in OpenStructure 2.4. The old version is still available as
:doc:`here <deprecated_actions>`. :doc:`compare-structures-legacy <deprecated_actions>`.
Details on the usage (output of ``ost compare-structures --help``): Details on the usage (output of ``ost compare-structures --help``):
......
...@@ -10,10 +10,10 @@ Comparing two structures - legacy implementation ...@@ -10,10 +10,10 @@ Comparing two structures - legacy implementation
.. warning:: .. warning::
``compare-structures`` underwent a complete rewrite in OpenStructure The ``compare-structures-legacy`` is the deprecated, original action to
release 2.4.0. Here we keep the original documentation. Call with compare structures. Consider using the new
``compare-structures-legacy`` instead of ``compare-structures`` as documented :ref:`compare-structures action<ost compare structures>` which utilizes the
below. latest lDDT implementation.
You can compare two structures in terms of quaternary structure score and You can compare two structures in terms of quaternary structure score and
lDDT scores between two complexes from the command line with the lDDT scores between two complexes from the command line with the
...@@ -51,11 +51,11 @@ In summary it performs the following steps: ...@@ -51,11 +51,11 @@ In summary it performs the following steps:
same requirements on your OST installation (needs compound library, ClustalW, same requirements on your OST installation (needs compound library, ClustalW,
numpy and scipy). numpy and scipy).
Details on the usage (output of ``ost compare-structures --help``): Details on the usage (output of ``ost compare-structures-legacy --help``):
.. code-block:: console .. code-block:: console
usage: ost compare-structures [-h] -m MODEL -r REFERENCE [-v VERBOSITY] usage: ost compare-structures-legacy [-h] -m MODEL -r REFERENCE [-v VERBOSITY]
[-o OUTPUT] [-d] [-ds DUMP_SUFFIX] [-o OUTPUT] [-d] [-ds DUMP_SUFFIX]
[-rs REFERENCE_SELECTION] [-ms MODEL_SELECTION] [-rs REFERENCE_SELECTION] [-ms MODEL_SELECTION]
[-ca] [-ft] [-cl COMPOUND_LIBRARY] [-ml] [-ca] [-ft] [-cl COMPOUND_LIBRARY] [-ml]
...@@ -72,7 +72,7 @@ Details on the usage (output of ``ost compare-structures --help``): ...@@ -72,7 +72,7 @@ Details on the usage (output of ``ost compare-structures --help``):
eg. eg.
ost compare-structures \ ost compare-structures-legacy \
--model <MODEL> \ --model <MODEL> \
--reference <REF> \ --reference <REF> \
--output output.json \ --output output.json \
...@@ -108,9 +108,9 @@ Details on the usage (output of ``ost compare-structures --help``): ...@@ -108,9 +108,9 @@ Details on the usage (output of ``ost compare-structures --help``):
<FILEPATH> <FILEPATH>
To be as much compatible with with CAMEO as possible one should call To be as much compatible with with CAMEO as possible one should call
compare-structures as follows: compare-structures-legacy as follows:
ost compare-structures \ ost compare-structures-legacy \
--model <MODEL> \ --model <MODEL> \
--reference <REF> \ --reference <REF> \
--output output.json \ --output output.json \
...@@ -325,7 +325,7 @@ Example usage: ...@@ -325,7 +325,7 @@ Example usage:
$ CAMEO_TARGET_URL=https://www.cameo3d.org/static/data/modeling/2019.07.13/6PO4_F $ CAMEO_TARGET_URL=https://www.cameo3d.org/static/data/modeling/2019.07.13/6PO4_F
$ curl $CAMEO_TARGET_URL/bu_target_01.pdb > reference.pdb $ curl $CAMEO_TARGET_URL/bu_target_01.pdb > reference.pdb
$ curl $CAMEO_TARGET_URL/servers/server20/oligomodel-1/oligomodel-1.pdb > model.pdb $ curl $CAMEO_TARGET_URL/servers/server20/oligomodel-1/oligomodel-1.pdb > model.pdb
$ $OST_ROOT/bin/ost compare-structures \ $ $OST_ROOT/bin/ost compare-structures-legacy \
--model model.pdb --reference reference.pdb --output output.json \ --model model.pdb --reference reference.pdb --output output.json \
--qs-score --residue-number-alignment --lddt --structural-checks \ --qs-score --residue-number-alignment --lddt --structural-checks \
--consistency-checks --inclusion-radius 15.0 --bond-tolerance 15.0 \ --consistency-checks --inclusion-radius 15.0 --bond-tolerance 15.0 \
...@@ -561,7 +561,7 @@ all the checking steps and calculate scores directly as here: ...@@ -561,7 +561,7 @@ all the checking steps and calculate scores directly as here:
.. code:: console .. code:: console
$ $OST_ROOT/bin/ost compare-structures \ $ $OST_ROOT/bin/ost compare-structures-legacy \
--model model.pdb --reference reference.pdb --output output_qs.json \ --model model.pdb --reference reference.pdb --output output_qs.json \
--qs-score --residue-number-alignment --qs-score --residue-number-alignment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment