annotate select_compound.xml @ 1:3bd5537cc516 draft default tip

planemo upload commit 6cabcd537575539c1428b3c5e1780c14a5f36b6e-dirty
author anmoljh
date Wed, 25 Oct 2017 04:39:07 -0400
parents 557baa97ed72
children
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
1
3bd5537cc516 planemo upload commit 6cabcd537575539c1428b3c5e1780c14a5f36b6e-dirty
anmoljh
parents: 0
diff changeset
5 <requirements>
3bd5537cc516 planemo upload commit 6cabcd537575539c1428b3c5e1780c14a5f36b6e-dirty
anmoljh
parents: 0
diff changeset
6 <requirement type="package" version="3.2.1">R</requirement>
3bd5537cc516 planemo upload commit 6cabcd537575539c1428b3c5e1780c14a5f36b6e-dirty
anmoljh
parents: 0
diff changeset
7 </requirements>
3bd5537cc516 planemo upload commit 6cabcd537575539c1428b3c5e1780c14a5f36b6e-dirty
anmoljh
parents: 0
diff changeset
8
0
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
9 <stdio>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
10 <exit_code range="1:" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
11 </stdio>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
12
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
13 <command interpreter="Rscript">select_compound.R $predictionfile $LT $GT $type $SelectedCompound </command>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
14
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
15 <inputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
16 <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
17 <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
18 <option value="Active" selected="True">Active/Positive</option>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
19 <option value="Inactive">Inactive/Negative</option>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
20 </param>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
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" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
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" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
23 </inputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
24
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
25 <outputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
26 <data name="SelectedCompound" format="txt" label="Refind-${predictionfile.name}" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
27 </outputs>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
28 <tests>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
29 <test>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
30 <param name="predictionfile" value="prediction_set_result.txt" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
31 <param name="type" value="Active" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
32 <param name="GT" value="0.5" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
33 <param name="LT" value="1.0" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
34 <output name="SelectedCompound" file="selected_prediction_set_result.txt" compare="sim_size" delta="4000" />
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
35 </test>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
36 </tests>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
37 <help></help>
557baa97ed72 planemo upload commit e713bcfa1b1690f9a21ad0bd796c2d385f646e66-dirty
anmoljh
parents:
diff changeset
38 </tool>