0
|
1 <tool id="mayatoolsbase11" name="mayatools" version="1.0.1">
|
|
2 <description>extract data from file according to field name and Ids </description>
|
|
3 <requirements>
|
|
4 <requirement type="set_environment">MAYA_TOOL3_PATH</requirement>
|
|
5
|
|
6
|
|
7 </requirements>
|
|
8 <command interpreter="">
|
|
9 #if '.sdf' in $inputsdf.name
|
|
10 /bin/mkdir $inputsdf.extra_files_path;
|
|
11 ln -s $inputsdf $inputsdf.extra_files_path/molecules.sdf;
|
|
12 /usr/bin/perl \$MAYA_TOOL3_PATH/test.pl $outputsdf.name $inputsdf.extra_files_path/molecules.sdf $Identifier $indexnumbers > $logs;
|
|
13 /bin/rm -rf $inputsdf.extra_files_path;
|
|
14 cp $outputsdf.name $outputsdf;
|
|
15 #end if
|
|
16 </command>
|
|
17 <inputs>
|
|
18 <param name="inputsdf" type="data" format="sdf" label="Original SDF File " help="sdf file from which selected ids of molecules need to be extracted." />
|
|
19 <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." />
|
|
20 <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'" />
|
|
21
|
|
22 <!--param name="max_olap" type="integer" value="50" label="Set maximum overlap length" help="Overlaps this short or shorter are ignored." /-->
|
|
23 </inputs>
|
|
24 <outputs>
|
|
25 <data name="outputsdf" type="txt" format="sdf" label="extracted_cpds_from_${inputsdf.name}.sdf" />
|
|
26 <data name="logs" format="txt" label="logfile" />
|
|
27
|
|
28 </outputs>
|
|
29 <tests>
|
|
30
|
|
31 </tests>
|
|
32 </tool>
|