annotate rankprod2.xml @ 4:1831c7f4c173 draft

Uploaded
author biancakrieger
date Wed, 21 Apr 2021 10:09:28 +0000
parents 48f8c2277135
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
1 <tool id="rankprodthree" name="RankProd" >
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
2 <requirements>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
3 <container type="docker">bianca7/lncrna:rankprod</container>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
4 </requirements>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
5 <description>Differential expression with RankProd</description>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
6 <stdio>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
7 <exit_code range="1:" level="fatal" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
8 </stdio>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
9 <command><![CDATA[
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
10 #if $choose.genes=='T'
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
11 Rscript /logrankprod.R "c($whichcols)" $file1 "c($whichrows)" $sc $file2 $file3 $norm $base $log $choose.genes $choose.numgenes
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
12 #end if
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
13 #if $choose.genes=='F'
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
14 Rscript /logrankprod.R "c($whichcols)" $file1 "c($whichrows)" $sc $file2 $file3 $norm $base $log $choose.genes $choose.method $choose.cutoff
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
15 #end if
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
16 ]]></command>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
17 <inputs>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
18 <param format="tabular, txt" name="file1" type="data" label="input matrix" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
19 <param name="whichcols" type="text" label="Comma separated fields for columns, like 1,2,3,4" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
20 <param name="sc" type="integer" value="1" label="Choose col class" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
21 <param format="tabular, txt" name="file2" type="data" label="input samples matrix" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
22 <param name="whichrows" type="text" label="Comma separated fields for rows" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
23 <param name="norm" type="boolean" truevalue="T" falsevalue="F" selected="FALSE" label="Are counts normalized?" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
24 <param name="base" type="select" label="Choose log base" >
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
25 <option value="2">2</option>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
26 <option value="10">10</option>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
27 </param>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
28 <param name="log" type="boolean" truevalue="T" falsevalue="F" selected="FALSE" label="Are they logarithmically transformed?" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
29 <conditional name="choose" >
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
30 <param name="genes" type="boolean" truevalue="T" falsevalue="F" checked="no" label="Select specific genes or choose method" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
31 <when value="T">
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
32 <param name="numgenes" type="integer" value="10" label="How many genes" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
33 </when>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
34 <when value="F">
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
35 <param name="method" type="select" label="Select method" >
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
36 <option value="pfp">pfp</option>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
37 <option value="pval">pval</option>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
38 </param>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
39 <param name="cutoff" type="float" value="0.05" label="Choose cutoff" />
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
40 </when>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
41 </conditional>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
42 </inputs>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
43 <outputs>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
44 <data format="txt" name="file3" label="Differentially expressed molecules"/>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
45 </outputs>
48f8c2277135 Uploaded
biancakrieger
parents:
diff changeset
46 </tool>