annotate cpm_tpm_rpk.xml @ 1:b74bab5157c4 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
author artbio
date Tue, 05 Feb 2019 19:51:38 -0500
parents 35d032c46a4e
children 563337e780ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
1 <tool id="cpm_tpm_rpk" name="Generate CPM, TPM, RPK" version="0.2.0">
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
2 <description>from raw counts expression values</description>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
3 <requirements>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
4 <requirement type="package" version="1.3.2=r3.3.2_0">r-optparse</requirement>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
5 <requirement type="package" version="0.13=r3.3.2_0">r-rtsne</requirement>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
6 <requirement type="package" version="2.2.1=r3.3.2_0">r-ggplot2</requirement>
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
7 </requirements>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
8 <stdio>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
9 <exit_code range="1:" level="fatal" description="Tool exception" />
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
10 </stdio>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
12 Rscript $__tool_directory__/cpm_tpm_rpk.R
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
13 -d $input
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
14 -t $option.type_transfo
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
15 -s $input_sep
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
16 -c $input_header
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
17 #if $option.type_transfo == "tpm":
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
18 -f $option.gene_file
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
19 --gene_sep $option.gene_sep
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
20 --gene_header $option.gene_header
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
21 #end if
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
22 #if $option.type_transfo == "rpk":
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
23 -f $option.gene_file
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
24 --gene_sep $option.gene_sep
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
25 --gene_header $option.gene_header
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
26 #end if
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
27 -l $log
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
28 #if $log == "FALSE":
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
29 -o ${output}
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
30 #else if $log == "TRUE":
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
31 -o ${output_log}
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
32 #end if
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
33 #if $visu_option.visualisation == "tsne":
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
34 --tsne 'TRUE'
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
35 --seed '$visu_option.seed'
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
36 --perp '$visu_option.perp'
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
37 --theta '$visu_option.theta'
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
38 --tsne_out '$tsne_out'
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
39 #end if
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
40 ]]></command>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
41 <inputs>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
42 <param name="input" type="data" format="txt" label="Raw counts of expression data"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
43 <param name="input_sep" type="select" label="Input column separator">
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
44 <option value="tab" selected="true">Tabs</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
45 <option value=",">Comma</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
46 <option value="\ ">Whitespace</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
47 <option value=".">Dots</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
48 <option value="_">Underscores</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
49 <option value="-">Dashes</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
50 </param>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
51 <param name="input_header" type="select" label="Consider first line of input file as header?">
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
52 <option value="TRUE" selected="true">Yes</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
53 <option value="FALSE">No</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
54 </param>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
55 <conditional name="option">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
56 <param name="type_transfo" type="select" label="Type of transformation">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
57 <option value="cpm" selected="true">CPM</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
58 <option value="tpm">TPM</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
59 <option value="rpk">RPK</option>
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
60 </param>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
61 <when value="tpm">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
62 <param name="gene_file" type="data" format="txt" label="Gene length file"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
63 <param name="gene_sep" type="select" label="Gene length column separator">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
64 <option value="tab" selected="true">Tabs</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
65 <option value=",">Commas</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
66 <option value="\ ">Whitespaces</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
67 <option value=".">Dots</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
68 <option value="_">Underscores</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
69 <option value="-">Dashes</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
70 </param>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
71 <param name="gene_header" type="select" label="Consider first line of gene length file as header ?">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
72 <option value="TRUE" selected="true">Yes</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
73 <option value="FALSE">No</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
74 </param>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
75 </when>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
76 <when value="rpk">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
77 <param name="gene_file" type="data" format="txt" label="Gene length file"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
78 <param name="gene_sep" type="select" label="Gene length column separator">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
79 <option value="tab" selected="true">Tabs</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
80 <option value=",">Commas</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
81 <option value="\ ">Whitespaces</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
82 <option value=".">Dots</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
83 <option value="_">Underscores</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
84 <option value="-">Dashes</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
85 </param>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
86 <param name="gene_header" type="select" label="Consider first line of gene length file as header ?">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
87 <option value="TRUE" selected="true">Yes</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
88 <option value="FALSE">No</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
89 </param>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
90 </when>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
91 <when value="cpm">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
92 </when>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
93 </conditional>
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
94 <param name="log" type="select" label="Data should be log transformed ?">
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
95 <option value="FALSE" selected="true">No</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
96 <option value="TRUE">Yes</option>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
97 </param>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
98 <conditional name="visu_option">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
99 <param name="visualisation" type="select" label="Visualisation of data with various dimensionality reduction methods" >
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
100 <option value="no" selected="true">No visualisation</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
101 <option value="tsne" >tsne</option>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
102 </param>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
103 <when value="tsne">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
104 <param name="seed" value="42.0" type="float" label="Seed value for reproducibiity" help="Set to 42 as default" />
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
105 <param name="perp" value="10.0" type="float" label="perplexity"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
106 <param name="theta" value="1.0" type="float" label="theta"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
107 </when>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
108 <when value="no" />
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
109 </conditional>
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
110 </inputs>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
111 <outputs>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
112 <data name="output" format="tabular" label="${option.type_transfo} from ${on_string}">
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
113 <filter>log == "FALSE"</filter>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
114 </data>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
115 <data name="output_log" format="tabular" label="log2(${option.type_transfo} +1) from ${on_string}">
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
116 <filter>log == "TRUE"</filter>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
117 </data>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
118 <data name="tsne_out" format="pdf" label="tsne from ${on_string}">
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
119 <filter>visu_option['visualisation'] == 'tsne'</filter>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
120 </data>
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
121 </outputs>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
122 <tests>
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
123 <!-- test t-SNE -->
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
124 <test>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
125 <param name="input" value="counts.tab" ftype="tabular"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
126 <param name="type_transfo" value="cpm"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
127 <param name="visualisation" value="tsne"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
128 <param name="seed" value="49"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
129 <param name="perp" value="2"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
130 <param name="theta" value="1" />
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
131 <output name="output" file="cpm.tab" ftype="tabular"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
132 <output name="tsne_out" file="tsne.pdf" ftype="pdf"/>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
133 </test>
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
134 <!-- test without t-SNE -->
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
135 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
136 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
137 <param name="type_transfo" value="cpm"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
138 <output name="output" file="cpm.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
139 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
140 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
141 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
142 <param name="type_transfo" value="cpm"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
143 <param name="log" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
144 <output name="output" file="logcpm.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
145 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
146 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
147 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
148 <param name="type_transfo" value="tpm"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
149 <param name="gene_file" value="gene_length.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
150 <param name="gene_header" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
151 <output name="output" file="tpm.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
152 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
153 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
154 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
155 <param name="type_transfo" value="tpm"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
156 <param name="gene_file" value="gene_length.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
157 <param name="gene_header" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
158 <param name="log" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
159 <output name="output" file="logtpm.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
160 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
161 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
162 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
163 <param name="type_transfo" value="rpk"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
164 <param name="gene_file" value="gene_length.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
165 <param name="gene_header" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
166 <output name="output" file="rpk.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
167 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
168 <test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
169 <param name="input" value="counts.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
170 <param name="type_transfo" value="rpk"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
171 <param name="gene_file" value="gene_length.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
172 <param name="gene_header" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
173 <param name="log" value="TRUE"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
174 <output name="output" file="logrpk.tab" ftype="tabular"/>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
175 </test>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
176 </tests>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
177 <help>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
178
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
179 **What it does**
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
180
1
b74bab5157c4 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit d46436d5d73356c8803d6d97a110a2754e8a03fb
artbio
parents: 0
diff changeset
181 Takes a raw count expression matrix and returns a table of normalized expression values.
0
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
182
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
183 Normalization can be:
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
184
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
185 - CPM (Counts Per Million) are obtained by dividing counts by the library counts sum and multiplying the results by a million.
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
186 - RPK (Reads Per Kilobases) are obtained by dividing read counts by gene lengths (expressed in kilo-nucleotides).
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
187 - TPM (Transcripts Per Million) are obtained by dividing RPK values by the sum of all RPK values in a sample and multiplying the results by 1 million.
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
188
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
189 RPK and TPM require a two-column correspondance table gene_name - gene length where the length is specified in nucleotide. Both these metrics are relevant only for sequencing of full length RNAs.
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
190
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
191 Note: do not comment you header line if you have header line in you tabular input (ie do not start the header line with a '#' character)
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
192
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
193 Computed values may be log-transformed (log2([CPM or RPK or TPM]+1))
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
194
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
195 </help>
35d032c46a4e planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/cpm_tpm_rpk commit cc0fd23c039cc4a39c5e4e320b50666b7d9b6f65
artbio
parents:
diff changeset
196 </tool>