comparison select_compound.xml @ 0:639d350de274 draft

planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
author anmoljh
date Fri, 01 Jun 2018 04:38:30 -0400
parents
children 843adfe71ce2
comparison
equal deleted inserted replaced
-1:000000000000 0:639d350de274
1 <?xml version="1.0"?>
2 <tool id="select_compound" name="Compound Selector" version="1.0">
3 <description>This tool selects compounds from prediction result based on score</description>
4
5 <requirements>
6 <requirement type="package" version="3.2.1">R</requirement>
7 </requirements>
8
9 <stdio>
10 <exit_code range="1:" />
11 </stdio>
12
13 <command interpreter="Rscript">select_compound.R $predictionfile $LT $GT $type $SelectedCompound </command>
14
15 <inputs>
16 <param name="predictionfile" type="data" format="txt,tabular,csv" label="Predition Result File" help ="upload gcac prediction result file " />
17 <param name="type" type="select" label="Active/Positive or Inactive/Negative" help ="select type of molecule">
18 <option value="Active" selected="True">Active/Positive</option>
19 <option value="Inactive">Inactive/Negative</option>
20 </param>
21 <param name="GT" type="float" value="0.5" label="Score greater than and equal to" help ="define value above which compound selected default is 0.5" />
22 <param name="LT" type="float" value="1.0" label="Score less than and equal to" help ="define value below which compound selected default is 1" />
23 </inputs>
24
25 <outputs>
26 <data name="SelectedCompound" format="txt" label="Refind-${predictionfile.name}" />
27 </outputs>
28 <tests>
29 <test>
30 <param name="predictionfile" value="prediction_set_result.txt" />
31 <param name="type" value="Active" />
32 <param name="GT" value="0.5" />
33 <param name="LT" value="1.0" />
34 <output name="SelectedCompound" file="selected_prediction_set_result.txt" compare="sim_size" delta="4000" />
35 </test>
36 </tests>
37 <help></help>
38 </tool>