annotate select_compound.xml @ 0:557baa97ed72 draft

planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
author anmoljh
date Mon, 12 Jun 2017 08:59:52 -0400
parents
children 3bd5537cc516
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
1 <?xml version="1.0"?>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
2 <tool id="select_compound" name="Select Compounds based of score" version="1.0">
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
3 <description>This tool selects compounds from prediction result based on given score</description>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
4
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
5 <stdio>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
6 <exit_code range="1:" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
7 </stdio>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
8
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
9 <command interpreter="Rscript">select_compound.R $predictionfile $LT $GT $type $SelectedCompound </command>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
10
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
11 <inputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
12 <param name="predictionfile" type="data" format="txt,tabular,csv" label="Predition Result File" help ="upload gcac prediction result file " />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
13 <param name="type" type="select" label="Active/Positive or Inactive/Negative" help ="select type of molecule">
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
14 <option value="Active" selected="True">Active/Positive</option>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
15 <option value="Inactive">Inactive/Negative</option>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
16 </param>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
17 <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" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
18 <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" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
19 </inputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
20
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
21 <outputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
22 <data name="SelectedCompound" format="txt" label="Refind-${predictionfile.name}" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
23 </outputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
24 <tests>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
25 <test>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
26 <param name="predictionfile" value="prediction_set_result.txt" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
27 <param name="type" value="Active" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
28 <param name="GT" value="0.5" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
29 <param name="LT" value="1.0" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
30 <output name="SelectedCompound" file="selected_prediction_set_result.txt" compare="sim_size" delta="4000" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
31 </test>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
32 </tests>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
33 <help></help>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
34 </tool>