Mercurial > repos > chemteam > gmx_restraints
annotate restraints.xml @ 16:509aa136d4e3 draft default tip
planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tree/master/tools/gromacs commit 4bffc6aa89cd0e6d6435a6e571b3836eaab076f1
author | chemteam |
---|---|
date | Mon, 24 Oct 2022 22:27:33 +0000 |
parents | ca6a4740114e |
children |
rev | line source |
---|---|
6
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
1 <tool id="gmx_restraints" name="Create GROMACS position restraints files" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@"> |
0
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
2 <description>using genrestr</description> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
3 <macros> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
4 <import>macros.xml</import> |
6
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
5 <token name="@GALAXY_VERSION@">0</token> |
0
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
6 </macros> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
7 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
8 <expand macro="requirements" /> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
9 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
10 <command detect_errors="exit_code"><![CDATA[ |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
11 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
12 ln -s '$gro_input' ./gro_input.gro && |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
13 ln -s '$ndx_input' ./ndx_input.ndx && |
6
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
14 echo '$index' | gmx genrestr -f ./gro_input.gro -n ./ndx_input.ndx -o tmp.itp -fc $fc &>> verbose.txt && |
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
15 tail -n +2 tmp.itp > posre.itp |
0
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
16 ]]></command> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
17 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
18 <inputs> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
19 <param argument="gro_input" type="data" format='gro' label="GRO input file" help="Input structure"/> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
20 <param argument="ndx_input" type="data" format='ndx' label="Index (NDX) file" help="Index file containing the atoms which should be restrained"/> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
21 <param argument="fc" type="text" value="1000 1000 1000" label="Force constants" help="Vector (in Cartesian space) specifying force constants for the restraints (kJ/mol nm^2)"> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
22 <validator type="regex" message="Only numeric values and whitespace allowed">^[0-9 ]*$</validator> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
23 </param> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
24 <param argument="index" type="text" label="Index of group" help="Index of group for calculating position restraints - i.e. the group's position in the ndx file (using zero-based numbering, so the first group has index 0)."> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
25 <validator type="regex" message="Only numeric values allowed">^[0-9]*$</validator> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
26 </param> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
27 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
28 <expand macro="log" /> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
29 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
30 </inputs> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
31 <outputs> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
32 <data name="output1" format="itp" from_work_dir="posre.itp"/> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
33 <expand macro="log_outputs" /> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
34 </outputs> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
35 <tests> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
36 <test> |
6
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
37 <param name="gro_input" value="str_ions.gro" /> |
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
38 <param name="ndx_input" value="index.ndx" /> |
0
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
39 <param name="fc" value="500 600 700" /> |
6
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
40 <param name="index" value="13" /> |
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
41 <!-- Galaxy seems to think this output is a binary (?) --> |
ca6a4740114e
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit 7a25958195ccc8f448dd64ddcc36e8f5e5979d8b"
chemteam
parents:
0
diff
changeset
|
42 <output name="output1" file="posre_cl.itp" lines_diff="2"/> |
0
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
43 </test> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
44 </tests> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
45 <help><![CDATA[ |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
46 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
47 .. class:: infomark |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
48 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
49 **What it does** |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
50 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
51 This tool calculates a position restraint (ITP) file for part of a system, specified in provided GRO and NDX files. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
52 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
53 _____ |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
54 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
55 .. class:: infomark |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
56 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
57 **Input** |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
58 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
59 - GRO structure file. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
60 - Index (NDX) file. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
61 - Force constant vector (in Cartesian space) for applying restraints. E.g. '1000 1000 1000' will apply a force constraint of 1000 kJ/mol nm^2 along each (XYZ) axis. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
62 - Index number of the group for which restraints should be calculated, i.e. the position of the group in the index file. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
63 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
64 _____ |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
65 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
66 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
67 .. class:: infomark |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
68 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
69 **Output** |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
70 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
71 - Position restraint (itp) file, which may be useful for system equilibration. |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
72 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
73 ]]></help> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
74 |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
75 <expand macro="citations" /> |
72c2b7992c26
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit a71d03531d57b87b5e3ce40ee7d974fbe53a1dfa"
chemteam
parents:
diff
changeset
|
76 </tool> |