comparison ramachandran_auto_protein.xml @ 0:0f270722aca6 draft

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit 1b23e024af45cc0999d9142d07de6897d4189ec2"
author chemteam
date Mon, 24 Aug 2020 16:27:56 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:0f270722aca6
1 <tool id="mdanalysis_ramachandran_protein" name="Ramachandran Analysis" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
2 <description>- Ramachandran plot for proteins</description>
3 <macros>
4 <import>macros.xml</import>
5 <token name="@GALAXY_VERSION@">0</token>
6 </macros>
7 <expand macro="requirements">
8 <requirement type="package" version="0.10.0">seaborn</requirement>
9 <requirement type="package" version="2.10.0">h5py</requirement>
10 <requirement type="package" version="2.11.1">jinja2</requirement>
11 </expand>
12 <command detect_errors="exit_code"><![CDATA[
13 python '$__tool_directory__/ramachandran_auto_protein.py'
14 --itraj '$trajin'
15 --istr '$strin'
16 --itrajext '$trajin.ext'
17 --istrext '$strin.ext'
18 --isegid1 '$segid1'
19 #if $resid1 and $resid2:
20 --iresid1 '$resid1'
21 --iresid2 '$resid2'
22 #end if
23 #if $resname:
24 --iresname '$resname'
25 #end if
26 --itemplatepath '$__tool_directory__'
27 #if $groupby:
28 --igroupby '$groupby'
29 #end if
30 --o_plot1 '$o_plot1'
31 --o_plot2 '$o_plot2'
32 --o_data1 '$o_data1'
33 --o_html1 '$o_html1'
34 2>&1
35 ]]></command>
36 <inputs>
37 <expand macro="analysis_inputs" />
38 <param name="segid1" type="text" value="PROA" label="Segment ID of the protein" help="A valid segment ID selection for the current molecular system">
39 <validator type="regex" message="Maximum of 8 characters allowed.">^[a-zA-Z0-9]{1,8}$</validator>
40 </param>
41 <param name="groupby" type="select" optional="true" label="Groupby analysis" help="Optional, create a groupby of the selection using residue name or id">
42 <option value="name">ResidueName</option>
43 <option value="id">ResidueID</option>
44 </param>
45 <param name="resname" optional="true" type="text" label="Residue Name" help="Optional, choose a residue name to refine the selection, e.g. ALA">
46 <validator type="regex" message="Maximum of 8 characters allowed.">^[a-zA-Z0-9]{1,8}$</validator>
47 </param>
48 <param name="resid1" optional="true" type="text" label="start Residue ID" help="Optional, choose a residue ID to refine the selection, e.g. 5">
49 <validator type="regex" message="Maximum of 6 digits allowed.">^[0-9]{1,6}$</validator>
50 </param>
51 <param name="resid2" optional="true" type="text" label="end Residue ID" help="Optional, choose a residue ID to refine the selection, e.g. 10">
52 <validator type="regex" message="Maximum of 6 digits allowed.">^[0-9]{1,6}$</validator>
53 </param>
54 </inputs>
55 <outputs>
56 <data format="png" name="o_plot1" label="MDAnalysis Ramachandran plot" />
57 <data format="png" name="o_plot2" label="Seaborn Ramachandran plot" />
58 <data format="h5" name="o_data1" label="Ramachandran in HDF5 format" />
59 <data format="html" name="o_html1" label="Ramachandran plot summary" />
60 </outputs>
61 <tests>
62 <test>
63 <param name="trajin" value="test.dcd" ftype="dcd" />
64 <param name="strin" value="test.pdb" ftype="pdb" />
65 <param name="segid1" value="PRO" />
66 <param name="groupby" value="name" />
67 <output name="o_html1">
68 <assert_contents>
69 <has_text text="table" />
70 <has_text text="(segid PRO) and resname MET" />
71 <has_text text="(segid PRO) and resname VAL" />
72 </assert_contents>
73 </output>
74 <output name="o_plot1">
75 <assert_contents>
76 <has_size value="53682" delta="3000" />
77 </assert_contents>
78 </output>
79 <output name="o_plot2">
80 <assert_contents>
81 <has_size value="31740" delta="3000" />
82 </assert_contents>
83 </output>
84 <output name="o_data1">
85 <assert_contents>
86 <has_size value="293824" delta="3000" />
87 </assert_contents>
88 </output>
89 </test>
90 </tests>
91 <help><![CDATA[
92 .. class:: infomark
93
94 **What it does**
95
96 Creates a Ramachandran plot for proteins. All protein [φ,ψ] angles for a given segment ID are automatically selected for an entire trajectory and an averaged Ramachandran plot is returned. Optionally the selection can be refined by residue ID or residue name. Optionally the average Ramachandran plot can be deconvoluted and returned grouped by residue name or residue ID.
97
98
99 _____
100
101
102 .. class:: infomark
103
104 **Input**
105
106 - Structure file (PDB)
107 - Trajectory file (DCD).
108 - Segment ID
109 - Optionally: Group data by residue name or residue ID
110 - Optionally: refine selection by residue ID range or residue name (e.g. ALA)
111
112 Note that a MDAnalysis 'segment' is a larger organizational unit, for example one protein or all the solvent molecules or simply the whole system.
113
114 _____
115
116
117 .. class:: infomark
118
119 **Output**
120
121 - Image (as png) of the Ramachandran from MDanalyis with the allowed regions as a background.
122 - Image (as png) of the Ramachandran plot as a distribution.
123 - Data (H5 format). All phi, psi timeseries raw data in HDF5 format.
124 - All plot images tabulated (in html). To view the HTML in Galaxy this tool must be added to the allowlist by a Galaxy Admin.
125 ]]></help>
126 <expand macro="citations" />
127 </tool>