Mercurial > repos > agpetit > calculate_diameter
comparison calculate_diameter.xml @ 0:e227d80e53be draft
"planemo upload for repository https://github.com/mesocentre-clermont-auvergne/aubi_piaf commit 48a10de1b21f94ab8019d9d0e4a43e0bd9d0c31e-dirty"
author | agpetit |
---|---|
date | Wed, 25 May 2022 07:17:24 +0000 |
parents | |
children | 658c6ec58e91 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e227d80e53be |
---|---|
1 <tool id="calculate_diameter" name="calculate pore diameter of AQP" version="0.1.0" python_template_version="3.5" > | |
2 <requirements> | |
3 <requirement type="package" version="2.1.0">mdanalysis</requirement> | |
4 </requirements> | |
5 <command detect_errors="exit_code"><![CDATA[ | |
6 python '$__tool_directory__/calculate_pore_diameter_aqp.py' | |
7 --arr_one '$arr1' | |
8 --arr_second '$arr2' | |
9 --gro_file '$gro_file' | |
10 --xtc_file '$xtc_file' | |
11 --gro_file_ext '$gro_file.ext' | |
12 --xtc_file_ext '$xtc_file.ext' | |
13 --output '$table' | |
14 --verbose | |
15 --log_output '$tool_log' | |
16 --output_directory 'out' | |
17 2>&1 | |
18 ]]></command> | |
19 <inputs> | |
20 <param name="gro_file" type="data" format="gro" optional="False" help="Put your .gro file"/> | |
21 <param name="xtc_file" type="data" format="xtc" optional="False" help="Put your .xtc file"/> | |
22 <param name="arr1" type="text" optional="False" label="pattern1" help="Pattern1 is a sequence of four amino acids. The first amino acid of this sequence will be the one used for the pore diameter of measurement. Example : HSD LEU ALA THR"> | |
23 <validator type="regex" message="Syntax error. 4 amino acids requested separated by a space.">^(ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP)( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))*$</validator> | |
24 </param> | |
25 <param name="arr2" type="text" optional="False" label="pattern2" help="Pattern2 is a sequence of four amino acids. The first amino acid of this sequence will be the one used for the pore diameter of measurement. Example : ARG SER PHE GLY"> | |
26 <validator type="regex" message="Syntax error. 4 amino acids requested separated by a space.">^(ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP)( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))( (ALA|CYS|ASP|GLU|PHE|GLY|HIS|ILE|LYS|LEU|MET|ASN|PRO|GLN|ARG|SER|THR|VAL|TRP|TYR|HSD|HSP))*$</validator> | |
27 </param> | |
28 </inputs> | |
29 <outputs> | |
30 <data name="table" format="tabular" from_work_dir="out/" label="${tool.name} (Tabular)"/> | |
31 <data name="tool_log" format="txt" from_work_dir="out/*.log" label="${tool.name} (LOG)"/> | |
32 </outputs> | |
33 <tests> | |
34 <test> | |
35 <param name="gro_file" value="PIP2.1_test.gro" ftype="gro" /> | |
36 <param name="xtc_file" value="PIP2.1_test.xtc" ftype="xtc" /> | |
37 <param name="arr1" value="HSD LEU ALA THR"/> | |
38 <param name="arr2" value="ARG SER PHE GLY"/> | |
39 <output name="table" file="pair_dist_arr.tabular" /> | |
40 <output name="tool_log" file="calculate_pore_diameter_aqp.log" /> | |
41 </test> | |
42 </tests> | |
43 <help><![CDATA[ | |
44 | |
45 .. class:: infomark | |
46 | |
47 **What it does** | |
48 | |
49 This tool allows to launch a calculation of the pore diameter of an aquaporin as a function of time from a .gro file and an .xtc file. The calculation is made between the alpha carbons of two amino acids. | |
50 | |
51 _____ | |
52 | |
53 .. class:: infomark | |
54 | |
55 **Inputs** | |
56 | |
57 - gro_file : .gro file created with GROMACS containing the system coordinates. | |
58 - xtc_file : .xtc file created during a GROMACS simulation containing the trajectory for a given time of the system. | |
59 - pattern1 : a sequence of 4 amino acids. Each amino acid is named according to its 3-letter code. | |
60 - pattern2 : a sequence of 4 amino acids. Each amino acid is named according to its 3-letter code. | |
61 | |
62 _____ | |
63 | |
64 .. class:: infomark | |
65 | |
66 **Outputs** | |
67 | |
68 - TSV file : contains all the distance measurements on a part of the trajectory and the average of these distances. | |
69 - LOG file of the tool execution | |
70 | |
71 ]]></help> | |
72 <citations> | |
73 <citation type="doi">10.1093/bioinformatics/btz107</citation> | |
74 </citations> | |
75 </tool> |