annotate geneBody_coverage.xml @ 60:1421603cc95b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 1dfe55ca83685cadb0ce8f6ebbd8c13232376d1d
author iuc
date Sat, 26 Nov 2022 15:19:14 +0000
parents dbedfc5f5a3c
children 5968573462fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60
1421603cc95b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 1dfe55ca83685cadb0ce8f6ebbd8c13232376d1d
iuc
parents: 59
diff changeset
1 <tool id="rseqc_geneBody_coverage" name="Gene Body Coverage (BAM)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@GALAXY_VERSION@">
1421603cc95b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 1dfe55ca83685cadb0ce8f6ebbd8c13232376d1d
iuc
parents: 59
diff changeset
2 <description>read coverage over gene body</description>
59
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
3 <expand macro="bio_tools"/>
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
4 <macros>
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
5 <import>rseqc_macros.xml</import>
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
6 </macros>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
7 <expand macro="requirements" />
59
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
8 <expand macro="stdio" />
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
9 <version_command><![CDATA[geneBody_coverage.py --version]]></version_command>
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
10 <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
11 #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
12 #import re
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
13 #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
14 #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
15 #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
16 #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
17 #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
18 #end if
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
19 $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
20 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
21 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
22 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
23 #end for
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
24 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
25 #else
57
f437057e46f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7d7cd4324af66710b89801a1a1c79fb8abf0d146
iuc
parents: 55
diff changeset
26 #set $safename = re.sub('[^\w\-_]', '_', $batch_mode.input.element_identifier)
f437057e46f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7d7cd4324af66710b89801a1a1c79fb8abf0d146
iuc
parents: 55
diff changeset
27 ln -sf '${batch_mode.input}' '${safename}.bam' &&
f437057e46f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7d7cd4324af66710b89801a1a1c79fb8abf0d146
iuc
parents: 55
diff changeset
28 ln -sf '${batch_mode.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
29 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
30 #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
31 ]]>
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
32 </command>
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
33
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
34 <inputs>
52
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
35 <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
36 <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
37 <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
38 <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
39 </param>
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
40 <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
41 <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
42 </when>
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
43 <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
44 <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
45 </when>
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
46 </conditional>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
47 <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
48 <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
49 <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
50 </inputs>
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
51
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
52 <outputs>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
53 <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
54 <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
55 <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
56 </data>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
57 <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
58 <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
59 </outputs>
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
60
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
61 <!-- 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
62 <tests>
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
63 <test>
52
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
64 <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
65 <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
66 <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
67 </conditional>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
68 <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
69 <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
70 <output name="outputcurvespdf" file="output.geneBodyCoverage.curves.pdf" compare="sim_size" />
59
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
71 <output name="outputr" file="output.geneBodyCoverage_r" />
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
72 <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
73 </test>
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
74 <test>
52
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
75 <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
76 <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
77 <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
78 </conditional>
59
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
79 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" ftype="bed12"/>
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
80 <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
81 <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
82 <output name="outputheatmappdf" file="output2.geneBodyCoverage.heatMap.pdf" compare="sim_size" />
59
dbedfc5f5a3c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents: 57
diff changeset
83 <output name="outputr" file="output2.geneBodyCoverage_r" />
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
84 <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
85 </test>
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
86
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
87 </tests>
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
88
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
89 <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
90 ## geneBody_coverage.py
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
91
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
92 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
93
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
94 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
95
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
96 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
97 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
98
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
99 .. 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
100 :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
101 :scale: 80 %
49
6b33e31bda10 Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents: 48
diff changeset
102
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
103
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
104 ## Inputs
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
105
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
106 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
107 Alignment file in BAM/SAM format.
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
108
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
109 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
110 Gene Model in BED format.
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
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 Minimum mRNA length
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
113 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
114
52
34e4c586e3c0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 7f68686cac77df831f1a26a2126a238a2e480316
iuc
parents: 51
diff changeset
115 ## Outputs
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
116
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
117 Text
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
118 Table that includes the data used to generate the plots
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
119
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
120 R Script
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
121 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
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 PDF
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
124 The final plot, in PDF format
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 Example plots:
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
127 .. 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
128 :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
129 :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
130 :scale: 80 %
48
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 .. 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
133 :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
134 :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
135 :scale: 80 %
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
136
51
09846d5169fa planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents: 50
diff changeset
137 @ABOUT@
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
138
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
139 ]]>
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
140 </help>
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
141
50
f242ee103277 planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents: 49
diff changeset
142 <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
143
48
2e6190c29c54 Upload tar.gz again - toolshed removed all files (grrr...)
lparsons
parents:
diff changeset
144 </tool>