diff mayatoolV1.xml @ 0:73ae111cf86f draft

Uploaded
author deepakjadmin
date Wed, 20 Jan 2016 11:55:01 -0500
parents
children 6a47185ac442
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mayatoolV1.xml	Wed Jan 20 11:55:01 2016 -0500
@@ -0,0 +1,32 @@
+<tool id="mayatoolsbase11" name="mayatools" version="1.0.1">
+    <description>extract data from file according to field name and Ids </description>
+  <requirements>
+       <requirement type="set_environment">MAYA_TOOL3_PATH</requirement>
+    
+   
+</requirements>
+    <command interpreter=""> 
+#if '.sdf' in $inputsdf.name
+/bin/mkdir $inputsdf.extra_files_path;
+ln -s $inputsdf $inputsdf.extra_files_path/molecules.sdf;
+/usr/bin/perl \$MAYA_TOOL3_PATH/test.pl $outputsdf.name $inputsdf.extra_files_path/molecules.sdf $Identifier $indexnumbers > $logs;
+/bin/rm -rf $inputsdf.extra_files_path;
+cp $outputsdf.name $outputsdf;
+#end if
+ </command>
+    <inputs>
+        <param name="inputsdf" type="data" format="sdf" label="Original SDF File " help="sdf file from which selected ids of molecules  need to be extracted." />
+        <param name="Identifier" type="text" label="Field name" help="Give field name of molecules on which compound need to be extracted Ex. MolID,PUBCHEM_COMPOUND_ID,CID etc." />
+        <param name="indexnumbers" type="data" format="txt" label="Id file which need to be extracted from dataset" help="select file of ids ie. result file obtained from the tool 'Extract IDs From Prediction Result'" />
+
+        <!--param name="max_olap" type="integer" value="50" label="Set maximum overlap length" help="Overlaps this short or shorter are ignored." /-->
+        </inputs>
+    <outputs>
+        <data name="outputsdf" type="txt" format="sdf" label="extracted_cpds_from_${inputsdf.name}.sdf" />
+        <data name="logs" format="txt" label="logfile" />
+                  
+        </outputs>
+    <tests>
+        
+    </tests>
+  </tool>