annotate rankprodbianca.xml @ 14:fad6c1077c8c draft

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