Mercurial > repos > nilesh > rseqc
annotate geneBody_coverage.xml @ 52:34e4c586e3c0 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
author | iuc |
---|---|
date | Tue, 21 Nov 2017 14:55:32 -0500 |
parents | 09846d5169fa |
children | 5873cd7afb67 |
rev | line source |
---|---|
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
1 <tool id="rseqc_geneBody_coverage" name="Gene Body Converage (BAM)" version="@WRAPPER_VERSION@.1"> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
2 <description> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
3 Read coverage over gene body. |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
4 </description> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
5 |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
6 <macros> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
7 <import>rseqc_macros.xml</import> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
8 </macros> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
9 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
10 <expand macro="requirements" /> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
11 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
12 <expand macro="stdio" /> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
13 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
14 <version_command><![CDATA[geneBody_coverage.py --version]]></version_command> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
15 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
16 <command><![CDATA[ |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
17 #if str($batch_mode.batch_mode_selector) == "merge": |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
18 #import re |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
19 #set $input_list = [] |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
20 #for $i, $input in enumerate($batch_mode.inputs): |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
21 #set $safename = re.sub('[^\w\-_]', '_', $input.element_identifier) |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
22 #if $safename in $input_list: |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
23 #set $safename = str($safename) + "." + str($i) |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
24 #end if |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
25 $input_list.append($safename) |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
26 ln -sf '${input}' '${safename}.bam' && |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
27 ln -sf '${input.metadata.bam_index}' '${safename}.bam.bai' && |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
28 echo '${safename}.bam' >> 'input_list.txt' && |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
29 #end for |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
30 geneBody_coverage.py -i 'input_list.txt' -r '${refgene}' --minimum_length ${minimum_length} -o output |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
31 #else |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
32 #set $safename = re.sub('[^\w\-_]', '_', $input.element_identifier) |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
33 ln -sf '${input}' '${safename}.bam' && |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
34 ln -sf '${input.metadata.bam_index}' '${safename}.bam.bai' && |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
35 geneBody_coverage.py -i '${safename}.bam' -r '${refgene}' --minimum_length ${minimum_length} -o output |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
36 #end if |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
37 ]]> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
38 </command> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
39 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
40 <inputs> |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
41 <conditional name="batch_mode"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
42 <param name="batch_mode_selector" type="select" label="Run each sample separately, or combine mutiple samples into one plot"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
43 <option value="batch" selected="true">Run each sample separately</option> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
44 <option value="merge">Combine multiple samples into a single plot</option> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
45 </param> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
46 <when value="batch"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
47 <param name="input" type="data" label="Input .bam file" format="bam" help="(--input-file)"/> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
48 </when> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
49 <when value="merge"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
50 <param name="inputs" type="data" label="Input .bam file(s)" format="bam" help="(--input-file)" multiple="true"/> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
51 </when> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
52 </conditional> |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
53 <expand macro="refgene_param" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
54 <param name="minimum_length" type="integer" value="100" label="Minimum mRNA length (default: 100)" help="Minimum mRNA length in bp, mRNA that are shorter than this value will be skipped (--minimum_length)." /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
55 <expand macro="rscript_output_param" /> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
56 </inputs> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
57 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
58 <outputs> |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
59 <data name="outputcurvespdf" format="pdf" from_work_dir="output.geneBodyCoverage.curves.pdf" label="${tool.name} on ${on_string} (Curves pdf)" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
60 <data name="outputheatmappdf" format="pdf" from_work_dir="output.geneBodyCoverage.heatMap.pdf" label="${tool.name} on ${on_string} (HeatMap pdf)"> |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
61 <filter>batch_mode['batch_mode_selector'] == 'merge' and len(inputs) >= 3</filter> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
62 </data> |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
63 <expand macro="rscript_output_data" filename="output.geneBodyCoverage.r" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
64 <data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" label="${tool.name} on ${on_string} (text)" /> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
65 </outputs> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
66 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
67 <!-- PDF Files contain R version, must avoid checking for diff --> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
68 <tests> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
69 <test> |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
70 <conditional name="batch_mode"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
71 <param name="batch_mode_selector" value="batch" /> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
72 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" /> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
73 </conditional> |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
74 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
75 <param name="rscript_output" value="true" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
76 <output name="outputcurvespdf" file="output.geneBodyCoverage.curves.pdf" compare="sim_size" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
77 <output name="outputr" file="output.geneBodyCoverage.r" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
78 <output name="outputtxt" file="output.geneBodyCoverage.txt" /> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
79 </test> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
80 <test> |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
81 <conditional name="batch_mode"> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
82 <param name="batch_mode_selector" value="merge" /> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
83 <param name="inputs" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bam,pairend_strandspecific_51mer_hg19_chr1_1-100000.bam,pairend_strandspecific_51mer_hg19_chr1_1-100000.bam" /> |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
84 </conditional> |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
85 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
86 <param name="rscript_output" value="true" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
87 <output name="outputcurvespdf" file="output2.geneBodyCoverage.curves.pdf" compare="sim_size" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
88 <output name="outputheatmappdf" file="output2.geneBodyCoverage.heatMap.pdf" compare="sim_size" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
89 <output name="outputr" file="output2.geneBodyCoverage.r" /> |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
90 <output name="outputtxt" file="output2.geneBodyCoverage.txt" /> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
91 </test> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
92 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
93 </tests> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
94 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
95 <help><![CDATA[ |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
96 ## geneBody_coverage.py |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
97 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
98 Read coverage over gene body. This module is used to check if read coverage is uniform and if there is any 5\'/3\' bias. This module scales all transcripts to 100 nt and calculates the number of reads covering each nucleotide position. Finally, it generates plots illustrating the coverage profile along the gene body. |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
99 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
100 If 3 or more BAM files were provided. This program generates a lineGraph and a heatmap. If fewer than 3 BAM files were provided, only lineGraph is generated. See below for examples. |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
101 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
102 When heatmap is generated, samples are ranked by the "skewness" of the coverage: Sample with best (worst) coverage will be displayed at the top (bottom) of the heatmap. |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
103 Coverage skewness was measured by `Pearson’s skewness coefficients <http://en.wikipedia.org/wiki/Skewness#Pearson.27s_skewness_coefficients>`_ |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
104 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
105 .. image:: $PATH_TO_IMAGES/geneBody_workflow.png |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
106 :width: 800 px |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
107 :scale: 80 % |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
108 |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
109 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
110 ## Inputs |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
111 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
112 Input BAM/SAM file |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
113 Alignment file in BAM/SAM format. |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
114 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
115 Reference gene model |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
116 Gene Model in BED format. |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
117 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
118 Minimum mRNA length |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
119 Minimum mRNA length (bp). mRNA that are shorter than this value will be skipped (default is 100). |
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
120 |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
121 ## Outputs |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
122 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
123 Text |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
124 Table that includes the data used to generate the plots |
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
125 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
126 R Script |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
127 R script file that reads the data and generates the plot |
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
128 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
129 PDF |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
130 The final plot, in PDF format |
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
131 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
132 Example plots: |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
133 .. image:: $PATH_TO_IMAGES/Aug_26.geneBodyCoverage.curves.png |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
134 :height: 600 px |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
135 :width: 600 px |
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
136 :scale: 80 % |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
137 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
138 .. image:: $PATH_TO_IMAGES/Aug_26.geneBodyCoverage.heatMap.png |
52
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
139 :height: 600 px |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
140 :width: 600 px |
34e4c586e3c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents:
51
diff
changeset
|
141 :scale: 80 % |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
142 |
51
09846d5169fa
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
50
diff
changeset
|
143 @ABOUT@ |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
144 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
145 ]]> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
146 </help> |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
147 |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
148 <expand macro="citations" /> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
48
diff
changeset
|
149 |
48
2e6190c29c54
Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff
changeset
|
150 </tool> |