Mercurial > repos > nilesh > rseqc
annotate geneBody_coverage2.xml @ 14:b21f0167e197 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit ccb6f7edba5492f4750ef8a59c4f91eb67fdbbec
author | iuc |
---|---|
date | Wed, 22 Feb 2023 15:05:13 +0000 |
parents | a7f9084572fe |
children |
rev | line source |
---|---|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
1 <tool id="rseqc_geneBody_coverage2" name="Gene Body Coverage (Bigwig)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@GALAXY_VERSION@"> |
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
2 <description>read coverage over gene body</description> |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
3 <macros> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
4 <import>rseqc_macros.xml</import> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
5 </macros> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
6 |
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
7 <expand macro="bio_tools"/> |
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
8 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
9 <expand macro="requirements" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
10 |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
11 <expand macro="stdio" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
12 |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
13 <version_command><![CDATA[geneBody_coverage2.py --version]]></version_command> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
14 |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
15 <command><![CDATA[ |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
16 geneBody_coverage2.py -i '${input}' -r '${refgene}' -o output |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
17 ]]> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
18 </command> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
19 |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
20 <inputs> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
21 <param name="input" type="data" label="Input bigwig file" format="bigwig" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
22 <expand macro="refgene_param" /> |
12
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
23 <expand macro="rscript_output_param" /> |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
24 </inputs> |
1 | 25 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
26 <outputs> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
27 <expand macro="pdf_output_data" filename="output.geneBodyCoverage.pdf" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
28 <data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" label="${tool.name} on ${on_string} (text)" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
29 <expand macro="rscript_output_data" filename="output.geneBodyCoverage_plot.r" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
30 </outputs> |
1 | 31 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
32 <tests> |
12
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
33 <test expect_num_outputs="3"> |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
34 <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bigwig" /> |
12
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
35 <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" ftype="bed12"/> |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
36 <param name="rscript_output" value="true" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
37 <output name="outputpdf" file="output.geneBodyCoverage2.curves.pdf" compare="sim_size" /> |
12
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
38 <output name="outputr" file="output.geneBodyCoverage2_r" /> |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
39 <output name="outputtxt" file="output.geneBodyCoverage2.txt" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
40 </test> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
41 </tests> |
1 | 42 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
43 <help><![CDATA[ |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
44 geneBody_coverage2.py |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
45 +++++++++++++++++++++ |
1 | 46 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
47 Similar to geneBody_coverage.py. This module takes bigwig instead of BAM as input, and thus |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
48 requires much less memory. The BigWig file could be arbitrarily large. |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
49 |
1 | 50 |
51 Inputs | |
52 ++++++++++++++ | |
53 | |
54 Input BAM/SAM file | |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
55 Alignment file in BAM/SAM format. |
1 | 56 |
57 Reference gene model | |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
58 Gene Model in BED format. |
1 | 59 |
60 | |
61 Outputs | |
62 ++++++++++++++ | |
63 | |
64 Read coverage over gene body. This module is used to check if reads 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 a plot illustrating the coverage profile along the gene body. NOTE: this module requires lots of memory for large BAM files, because it load the entire BAM file into memory. We add another script "geneBody_coverage2.py" into v2.3.1 which takes bigwig (instead of BAM) as input. It only use 200M RAM, but users need to convert BAM into WIG, and then WIG into BigWig. | |
65 | |
66 Example output: | |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
67 .. image:: $PATH_TO_IMAGES/geneBody_coverage.png |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
68 :height: 600 px |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
69 :width: 600 px |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
70 :scale: 80 % |
1 | 71 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
72 @ABOUT@ |
1 | 73 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
74 ]]> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
75 </help> |
1 | 76 |
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
77 <expand macro="citations" /> |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
78 |
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
79 </tool> |