Mercurial > repos > anmoljh > candidate_compound_select
annotate 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 |
rev | line source |
---|---|
0
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
2 <tool id="select_compound" name="Compound Selector" version="1.0"> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
3 <description>This tool selects compounds from prediction result based on score</description> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
4 |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
5 <requirements> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
6 <requirement type="package" version="3.2.1">R</requirement> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
7 </requirements> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
8 |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
9 <stdio> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
10 <exit_code range="1:" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
11 </stdio> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
12 |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
13 <command interpreter="Rscript">select_compound.R $predictionfile $LT $GT $type $SelectedCompound </command> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
14 |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
15 <inputs> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-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 " /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
17 <param name="type" type="select" label="Active/Positive or Inactive/Negative" help ="select type of molecule"> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
18 <option value="Active" selected="True">Active/Positive</option> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
19 <option value="Inactive">Inactive/Negative</option> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
20 </param> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-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" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-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" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
23 </inputs> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
24 |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
25 <outputs> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
26 <data name="SelectedCompound" format="txt" label="Refind-${predictionfile.name}" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
27 </outputs> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
28 <tests> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
29 <test> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
30 <param name="predictionfile" value="prediction_set_result.txt" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
31 <param name="type" value="Active" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
32 <param name="GT" value="0.5" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
33 <param name="LT" value="1.0" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
34 <output name="SelectedCompound" file="selected_prediction_set_result.txt" compare="sim_size" delta="4000" /> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
35 </test> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
36 </tests> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
37 <help></help> |
639d350de274
planemo upload commit a1f4dd8eb560c649391ada1a6bb9505893a35272-dirty
anmoljh
parents:
diff
changeset
|
38 </tool> |