annotate geneBody_coverage.xml @ 33:073c77ce5e94

export PYTHONPATH during install, note python 2.7 requirement
author lparsons
date Tue, 15 Oct 2013 12:58:55 -0400
parents 580ee0c4bc4e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
1 <tool id="rseqc_geneBody_coverage" name="Gene Body Converage (BAM)" version="1.1">
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
2 <description>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
3 Read coverage over gene body.
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
4 </description>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
5 <requirements>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
6 <requirement type="package" version="3.0.1">R</requirement>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
7 <requirement type="package" version="1.7.1">numpy</requirement>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
8 <requirement type="package" version="2.3.7">rseqc</requirement>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
9 </requirements>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
10 <command>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
11 geneBody_coverage.py -i $input -r $refgene -o output
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
12 </command>
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
13 <stdio>
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
14 <exit_code range="1:" level="fatal" description="An error occured during execution, see stderr and stdout for more information" />
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
15 <regex match="[Ee]rror" source="both" description="An error occured during execution, see stderr and stdout for more information" />
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
16 </stdio>
32
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
17 <inputs>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
18 <param name="input" type="data" label="Input .bam file" format="bam" />
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
19 <param name="refgene" type="data" label="Reference Genome" format="bed" />
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
20 </inputs>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
21 <outputs>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
22 <data name="outputpdf" format="pdf" from_work_dir="output.geneBodyCoverage.pdf" label="${tool.name} on ${on_string} (PDF)" />
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
23 <data name="outputr" format="txt" from_work_dir="output.geneBodyCoverage_plot.r" label="${tool.name} on ${on_string} (R Script)" />
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
24 <data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" label="${tool.name} on ${on_string} (Text)" />
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
25 </outputs>
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
26 <help>
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
27 geneBody_coverage.py
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
28 ++++++++++++++++++++
17
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
29
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
30 Read coverage over gene body. This module is used to check if reads coverage is uniform and
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
31 if there is any 5\'/3\' bias. This module scales all transcripts to 100 nt and calculates the
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
32 number of reads covering each nucleotide position. Finally, it generates a plot illustrating
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
33 the coverage profile along the gene body. NOTE: this module requires lots of memory for large
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
34 BAM files, because it load the entire BAM file into memory. We add another script
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
35 "geneBody_coverage2.py" into v2.3.1 which takes bigwig (instead of BAM) as input.
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
36 It only use 200M RAM, but users need to convert BAM into WIG, and then WIG into BigWig.
17
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
37
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
38 Inputs
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
39 ++++++++++++++
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
40
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
41 Input BAM/SAM file
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
42 Alignment file in BAM/SAM format.
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
43
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
44 Reference gene model
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
45 Gene Model in BED format.
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
46
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
47
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
48 Outputs
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
49 ++++++++++++++
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
50
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
51 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.
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
52
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
53 Example output:
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
54 .. image:: http://rseqc.sourceforge.net/_images/geneBody_coverage.png
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
55 :height: 600 px
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
56 :width: 600 px
32
580ee0c4bc4e Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
lparsons
parents: 31
diff changeset
57 :scale: 80 %
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
58
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
59
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
60 -----
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
61
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
62 About RSeQC
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
63 +++++++++++
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
64
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
65 The RSeQC_ package provides a number of useful modules that can comprehensively evaluate high throughput sequence data especially RNA-seq data. "Basic modules" quickly inspect sequence quality, nucleotide composition bias, PCR bias and GC bias, while "RNA-seq specific modules" investigate sequencing saturation status of both splicing junction detection and expression estimation, mapped reads clipping profile, mapped reads distribution, coverage uniformity over gene body, reproducibility, strand specificity and splice junction annotation.
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
66
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
67 The RSeQC package is licensed under the GNU GPL v3 license.
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
68
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
69 .. image:: http://rseqc.sourceforge.net/_static/logo.png
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
70
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
71 .. _RSeQC: http://rseqc.sourceforge.net/
17
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
72
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
73
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
74
ce0995c33291 Uploaded
nilesh
parents:
diff changeset
75 </help>
31
cc5eaa9376d8 Lance's updates
nilesh
parents: 17
diff changeset
76 </tool>