Skip to content

Commit 1d665b3

Browse files
committed
update gorder documentation and rename references
1 parent fe1b444 commit 1d665b3

File tree

11 files changed

+73
-129
lines changed

11 files changed

+73
-129
lines changed

biobb_mem/docs/source/command_line.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,16 @@ gorder_aa -h
236236
--input_top_path INPUT_TOP_PATH
237237
Path to the input structure or topology file. Accepted formats: tpr.
238238
--input_traj_path INPUT_TRAJ_PATH
239-
Path to the input trajectory to be processed. Accepted formats: xtc, trr, cpt, gro, g96, pdb, tng.
239+
Path to the input trajectory to be processed. Accepted formats: xtc, trr, gro.
240240
-o OUTPUT_ORDER_PATH, --output_order_path OUTPUT_ORDER_PATH
241241
Path to results of the order analysis. Accepted formats: yaml, xvg, csv.
242242
### I / O Arguments
243243
Syntax: input_argument (datatype) : Definition
244244

245245
Config input / output arguments for this building block:
246-
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr). Accepted formats: TPR
247-
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc). Accepted formats: XTC, TRR, CPT, GRO, G96, PDB, TNG
248-
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg). Accepted formats: YAML, XVG, CSV
246+
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01IP/A01IP.tpr). Accepted formats: TPR
247+
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01IP/A01IP.xtc). Accepted formats: XTC, TRR, GRO
248+
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_aa.yaml). Accepted formats: YAML, XVG, CSV
249249
### Config
250250
Syntax: input_parameter (datatype) - (default_value) Definition
251251

@@ -266,7 +266,7 @@ properties:
266266
```
267267
#### Command line
268268
```python
269-
gorder_aa --config config_gorder_aa.yml --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
269+
gorder_aa --config config_gorder_aa.yml --input_top_path A01IP.tpr --input_traj_path A01IP.xtc --output_order_path order_aa.yaml
270270
```
271271
### JSON
272272
#### [Common config file](https://github.com/bioexcel/biobb_mem/blob/master/biobb_mem/test/data/config/config_gorder_aa.json)
@@ -280,7 +280,7 @@ gorder_aa --config config_gorder_aa.yml --input_top_path topology.tpr --input_tr
280280
```
281281
#### Command line
282282
```python
283-
gorder_aa --config config_gorder_aa.json --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
283+
gorder_aa --config config_gorder_aa.json --input_top_path A01IP.tpr --input_traj_path A01IP.xtc --output_order_path order_aa.yaml
284284
```
285285

286286
## Gorder_cg
@@ -303,16 +303,16 @@ gorder_cg -h
303303
--input_top_path INPUT_TOP_PATH
304304
Path to the input structure or topology file. Accepted formats: tpr.
305305
--input_traj_path INPUT_TRAJ_PATH
306-
Path to the input trajectory to be processed. Accepted formats: xtc, trr, cpt, gro, g96, pdb, tng.
306+
Path to the input trajectory to be processed. Accepted formats: xtc, trr, gro.
307307
-o OUTPUT_ORDER_PATH, --output_order_path OUTPUT_ORDER_PATH
308308
Path to results of the order analysis. Accepted formats: yaml, xvg, csv.
309309
### I / O Arguments
310310
Syntax: input_argument (datatype) : Definition
311311

312312
Config input / output arguments for this building block:
313-
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr). Accepted formats: TPR
314-
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc). Accepted formats: XTC, TRR, CPT, GRO, G96, PDB, TNG
315-
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg). Accepted formats: YAML, XVG, CSV
313+
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/CG/cg_test.tpr). Accepted formats: TPR
314+
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/CG/cg_test.xtc). Accepted formats: XTC, TRR, GRO
315+
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_cg.yaml). Accepted formats: YAML, XVG, CSV
316316
### Config
317317
Syntax: input_parameter (datatype) - (default_value) Definition
318318

@@ -332,7 +332,7 @@ properties:
332332
```
333333
#### Command line
334334
```python
335-
gorder_cg --config config_gorder_cg.yml --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
335+
gorder_cg --config config_gorder_cg.yml --input_top_path cg_test.tpr --input_traj_path cg_test.xtc --output_order_path order_cg.yaml
336336
```
337337
### JSON
338338
#### [Common config file](https://github.com/bioexcel/biobb_mem/blob/master/biobb_mem/test/data/config/config_gorder_cg.json)
@@ -346,7 +346,7 @@ gorder_cg --config config_gorder_cg.yml --input_top_path topology.tpr --input_tr
346346
```
347347
#### Command line
348348
```python
349-
gorder_cg --config config_gorder_cg.json --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
349+
gorder_cg --config config_gorder_cg.json --input_top_path cg_test.tpr --input_traj_path cg_test.xtc --output_order_path order_cg.yaml
350350
```
351351

352352
## Gorder_ua
@@ -369,16 +369,16 @@ gorder_ua -h
369369
--input_top_path INPUT_TOP_PATH
370370
Path to the input structure or topology file. Accepted formats: tpr.
371371
--input_traj_path INPUT_TRAJ_PATH
372-
Path to the input trajectory to be processed. Accepted formats: xtc, trr, cpt, gro, g96, pdb, tng.
372+
Path to the input trajectory to be processed. Accepted formats: xtc, trr, gro.
373373
-o OUTPUT_ORDER_PATH, --output_order_path OUTPUT_ORDER_PATH
374374
Path to results of the order analysis. Accepted formats: yaml, xvg, csv.
375375
### I / O Arguments
376376
Syntax: input_argument (datatype) : Definition
377377

378378
Config input / output arguments for this building block:
379-
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr). Accepted formats: TPR
380-
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc). Accepted formats: XTC, TRR, CPT, GRO, G96, PDB, TNG
381-
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg). Accepted formats: YAML, XVG, CSV
379+
* **input_top_path** (*string*): Path to the input structure or topology file. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01JP/A01JP.tpr). Accepted formats: TPR
380+
* **input_traj_path** (*string*): Path to the input trajectory to be processed. File type: input. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01JP/A01JP.xtc). Accepted formats: XTC, TRR, GRO
381+
* **output_order_path** (*string*): Path to results of the order analysis. File type: output. [Sample file](https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_ua.yaml). Accepted formats: YAML, XVG, CSV
382382
### Config
383383
Syntax: input_parameter (datatype) - (default_value) Definition
384384

@@ -398,7 +398,7 @@ properties:
398398
```
399399
#### Command line
400400
```python
401-
gorder_ua --config config_gorder_ua.yml --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
401+
gorder_ua --config config_gorder_ua.yml --input_top_path A01JP.tpr --input_traj_path A01JP.xtc --output_order_path order_ua.yaml
402402
```
403403
### JSON
404404
#### [Common config file](https://github.com/bioexcel/biobb_mem/blob/master/biobb_mem/test/data/config/config_gorder_ua.json)
@@ -411,7 +411,7 @@ gorder_ua --config config_gorder_ua.yml --input_top_path topology.tpr --input_tr
411411
```
412412
#### Command line
413413
```python
414-
gorder_ua --config config_gorder_ua.json --input_top_path topology.tpr --input_traj_path trajectory.xtc --output_order_path order.xvg
414+
gorder_ua --config config_gorder_ua.json --input_top_path A01JP.tpr --input_traj_path A01JP.xtc --output_order_path order_ua.yaml
415415
```
416416

417417
## Lpp_assign_leaflets

biobb_mem/docs/source/gorder.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
gorder package
2+
=====================
3+
4+
Submodules
5+
------------
6+
7+
gorder.gorder_aa module
8+
-----------------------------------
9+
10+
.. automodule:: gorder.gorder_aa
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
gorder.gorder_cg module
16+
-----------------------------------
17+
18+
.. automodule:: gorder.gorder_cg
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
gorder.gorder_ua module
24+
-----------------------------------
25+
26+
.. automodule:: gorder.gorder_ua
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:

biobb_mem/docs/source/gromacs.rst

Lines changed: 0 additions & 13 deletions
This file was deleted.

biobb_mem/docs/source/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ biobb_mem
66

77
ambertools
88
fatslim
9-
gromacs
9+
gorder
1010
lipyphilic_biobb
1111
mdanalysis_biobb

biobb_mem/gorder/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
name = "gromacs"
1+
name = "gorder"
22
__all__ = ["gorder_aa", "gorder_ua", "gorder_cg"]

biobb_mem/gorder/gorder_aa.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
"""Module containing the GROMACS order class and the command line interface."""
3+
"""Module containing the gorder all atom class and the command line interface."""
44
from biobb_common.generic.biobb_object import BiobbObject
55
from biobb_common.tools.file_utils import launchlogger
66
import gorder
@@ -13,9 +13,9 @@ class GorderAA(BiobbObject):
1313
| `gorder <https://ladme.github.io/gorder-manual/aaorder_basics.html>`_ uses `GSL <https://ladme.github.io/gsl-guide/>`_ for all its selections.
1414
1515
Args:
16-
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr>`_. Accepted formats: tpr (edam:format_2333).
17-
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), cpt (edam:format_2333), gro (edam:format_2033), g96 (edam:format_2033), pdb (edam:format_1476), tng (edam:format_3876)..
18-
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
16+
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01IP/A01IP.tpr>`_. Accepted formats: tpr (edam:format_2333).
17+
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01IP/A01IP.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), gro (edam:format_2033).
18+
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_aa.yaml>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
1919
properties (dic - Python dictionary object containing the tool parameters, not input/output files):
2020
* **heavy_atoms** (*str*) - ("@membrane and name r'C3.+|C2.+'") Selection query specifying the heavy atoms to be used in the analysis (typically carbon atoms in lipid tails).
2121
* **hydrogens** (*str*) - ("@membrane and element name hydrogen") Selection query specifiying the hydrogen atoms to be used in the analysis (only those bonded to heavy atoms will be considered).

biobb_mem/gorder/gorder_cg.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
"""Module containing the GROMACS order class and the command line interface."""
3+
"""Module containing the gorder coarse-grained class and the command line interface."""
44
from biobb_common.generic.biobb_object import BiobbObject
55
from biobb_common.tools.file_utils import launchlogger
66
import gorder
@@ -13,9 +13,9 @@ class GorderCG(BiobbObject):
1313
| `gorder <https://ladme.github.io/gorder-manual/cgorder_basics.html>`_ uses `GSL <https://ladme.github.io/gsl-guide/>`_ for all its selections.
1414
1515
Args:
16-
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr>`_. Accepted formats: tpr (edam:format_2333).
17-
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), cpt (edam:format_2333), gro (edam:format_2033), g96 (edam:format_2033), pdb (edam:format_1476), tng (edam:format_3876)..
18-
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
16+
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/CG/cg_test.tpr>`_. Accepted formats: tpr (edam:format_2333).
17+
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/CG/cg_test.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), gro (edam:format_2033).
18+
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_cg.yaml>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
1919
properties (dic - Python dictionary object containing the tool parameters, not input/output files):
2020
* **beads** (*str*) - ("@membrane") Selection query specifying the beads to be used in the analysis.
2121
* **handle_pbc** (*bool*) - (True) If False, ignores periodic boundary conditions (PBC).

biobb_mem/gorder/gorder_ua.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python3
22

3-
"""Module containing the GROMACS order class and the command line interface."""
3+
"""Module containing the gorder united atom class and the command line interface."""
44
from biobb_common.generic.biobb_object import BiobbObject
55
from biobb_common.tools.file_utils import launchlogger
66
import gorder
@@ -13,9 +13,9 @@ class GorderUA(BiobbObject):
1313
| `gorder <https://ladme.github.io/gorder-manual/uaorder_basics.html>`_ uses `GSL <https://ladme.github.io/gsl-guide/>`_ for all its selections.
1414
1515
Args:
16-
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/topology.tpr>`_. Accepted formats: tpr (edam:format_2333).
17-
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/ambertools/trajectory.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), cpt (edam:format_2333), gro (edam:format_2033), g96 (edam:format_2033), pdb (edam:format_1476), tng (edam:format_3876)..
18-
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/gromacs/order.xvg>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
16+
input_top_path (str): Path to the input structure or topology file. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01JP/A01JP.tpr>`_. Accepted formats: tpr (edam:format_2333).
17+
input_traj_path (str): Path to the input trajectory to be processed. File type: input. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/data/A01JP/A01JP.xtc>`_. Accepted formats: xtc (edam:format_3875), trr (edam:format_3910), gro (edam:format_2033).
18+
output_order_path (str): Path to results of the order analysis. File type: output. `Sample file <https://github.com/bioexcel/biobb_mem/raw/main/biobb_mem/test/reference/gorder/order_ua.yaml>`_. Accepted formats: yaml (edam:format_3570), xvg (edam:format_2330), csv (edam:format_3752).
1919
properties (dic - Python dictionary object containing the tool parameters, not input/output files):
2020
* **saturated** (*str*) - ("@membrane") Selection query specifying the saturated carbons.
2121
* **unsaturated** (*str*) - (None) Selection query specifying the unsaturated carbons.

0 commit comments

Comments
 (0)