diff distance.xml @ 0:c33b972fe040 draft

planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit c32fe331f438df7760084b27bafad9f78f01edde
author chemteam
date Mon, 08 Oct 2018 13:16:12 -0400
parents
children 46892d756cec
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/distance.xml	Mon Oct 08 13:16:12 2018 -0400
@@ -0,0 +1,82 @@
+<tool id="mdanalysis_distance" name="Distance Analysis" version="@VERSION@">
+    <description>Time series using MDAnalysis</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>   
+    <expand macro="requirements" />
+    <command detect_errors="exit_code">
+<![CDATA[
+     python '$__tool_directory__/distance.py' 
+        --idcd '$dcdin' 
+        --ipdb '$pdbin'
+        --isegid1 '$segid1' 
+        --iresid1 '$resid1' 
+        --iname1 '$name1'
+        --isegid2 '$segid2'
+        --iresid2 '$resid2' 
+        --iname2 '$name2'
+        --output '$output'
+        --odistance_plot '$distance_plot'
+    2>&1
+]]></command>
+    <inputs>
+        <expand macro="analysis_inputs"/>
+        <param name="segid1"  type="text" value="PRO" label="Segid of atom 1"/>
+        <param name="resid1"  type="text" value="212" label="Resid of atom 1"/>
+        <param name="name1"  type="text" value="OE2" label="Atom name of atom 1"/>
+        <param name="segid2"  type="text" value="HET" label="Segid of atom 2"/>
+        <param name="resid2"  type="text" value="3" label="Resid of atom 2"/>
+        <param name="name2"  type="text" value="C1" label="Atom name of atom 2"/>
+    </inputs>
+    <outputs>
+        <data format="tabular" name="output" label="Distance Analysis raw data"/>  
+        <data format="png" name="distance_plot" label="Distance Analysis Plot"/>
+    </outputs>
+    <tests>
+        <test>
+            <expand macro="tests_inputs"/>
+            <param name="segid1" value="PRO"/>
+            <param name="resid1" value="212"/>
+            <param name="name1" value="OE2"/>
+            <param name="segid2" value="HET"/>
+            <param name="resid2" value="3"/>
+            <param name="name2" value="C1"/>
+            <output name="output">
+              <assert_contents>
+                <has_n_columns n="2" />
+              </assert_contents>
+             </output>
+        </test>
+    </tests>
+    <help><![CDATA[
+.. class:: infomark
+
+**What it does**
+        
+This tool calculates and plot distance between the two atoms.
+
+_____
+
+
+.. class:: infomark
+
+**Input**
+
+       - Trajectory file  (DCD).
+       - PDB file.
+       - Segids, resids and names of two atoms to calculate distances.
+     
+_____
+
+        
+.. class:: infomark
+
+**Output**
+
+       - Tab-separated file of raw data of distance between two atoms calculated for each frame.
+       - Image (as png) of the time series graph.
+
+
+    ]]></help>
+    <expand macro="citations" />
+</tool>