Mercurial > repos > nilesh > rseqc
annotate RPKM_saturation.xml @ 50:f242ee103277 draft
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
author | lparsons |
---|---|
date | Tue, 03 May 2016 16:36:57 -0400 |
parents | 6b33e31bda10 |
children | 09846d5169fa |
rev | line source |
---|---|
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
1 <tool id="rseqc_RPKM_saturation" name="RPKM Saturation" version="2.4galaxy1"> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
2 <description>calculates raw count and RPKM values for transcript at exon, intron, and mRNA level</description> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
3 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
4 <macros> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
5 <import>rseqc_macros.xml</import> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
6 </macros> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
7 |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
8 <requirements> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
9 <expand macro="requirement_package_r" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
10 <expand macro="requirement_package_numpy" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
11 <expand macro="requirement_package_rseqc" /> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
12 </requirements> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
13 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
14 <expand macro="stdio" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
15 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
16 <version_command><![CDATA[RPKM_saturation.py --version]]></version_command> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
17 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
18 <command><![CDATA[ |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
19 RPKM_saturation.py -i $input -o output -r $refgene |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
20 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
21 #if str($strand_type.strand_specific) == "pair" |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
22 -d |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
23 #if str($strand_type.pair_type) == "sd" |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
24 '1++,1--,2+-,2-+' |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
25 #else |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
26 '1+-,1-+,2++,2--' |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
27 #end if |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
28 #end if |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
29 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
30 #if str($strand_type.strand_specific) == "single" |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
31 -d |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
32 #if str($strand_type.single_type) == "s" |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
33 '++,--' |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
34 #else |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
35 '+-,-+' |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
36 #end if |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
37 #end if |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
38 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
39 -l $percentileFloor -u $percentileCeiling -s $percentileStep -c $rpkmCutoff |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
40 ]]> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
41 </command> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
42 |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
43 <inputs> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
44 <param name="input" type="data" label="Input .bam File" format="bam" help="(--input-file)"/> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
45 <param name="refgene" type="data" format="bed" label="reference gene model" help="(--refgene)"/> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
46 <conditional name="strand_type"> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
47 <param name="strand_specific" type="select" label="Strand-specific?" value="None"> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
48 <option value="none">None</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
49 <option value="pair">Pair-End RNA-seq</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
50 <option value="single">Single-End RNA-seq</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
51 </param> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
52 <when value="pair"> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
53 <param name="pair_type" type="select" display="radio" label="Pair-End Read Type (format: mapped --> parent)" value="sd" help="(--strand)"> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
54 <option value="sd"> read1 (positive --> positive; negative --> negative), read2 (positive --> negative; negative --> positive)</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
55 <option value="ds">read1 (positive --> negative; negative --> positive), read2 (positive --> positive; negative --> negative)</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
56 </param> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
57 </when> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
58 <when value="single"> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
59 <param name="single_type" type="select" display="radio" label="Single-End Read Type (format: mapped --> parent)" value="s" help="(--strand)"> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
60 <option value="s">positive --> positive; negative --> negative</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
61 <option value="d">positive --> negative; negative --> positive</option> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
62 </param> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
63 </when> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
64 <when value="none"></when> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
65 </conditional> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
66 <param name="percentileFloor" type="integer" value="5" label="Begin sampling from this percentile (default=5)" help="(--percentile-floor)"/> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
67 <param name="percentileCeiling" type="integer" value="100" label="End sampling at this percentile (default=100)" help="(--percentile-ceiling)" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
68 <param name="percentileStep" type="integer" value="5" label="Sampling step size (default=5)" help="(--percentile-step)" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
69 <param name="rpkmCutoff" type="text" value="0.01" label="Ignore transcripts with RPKM smaller than this number (default=0.01)" help="(--rpkm-cutoff)" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
70 <param name="mapq" value="30" type="integer" label="Minimum mapping quality for an alignment to be called 'uniquly mapped'" help="(--mapq)" /> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
71 </inputs> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
72 |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
73 <outputs> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
74 <data format="xls" name="outputxls" from_work_dir="output.eRPKM.xls" label="${tool.name} on ${on_string} (RPKM XLS)"/> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
75 <data format="xls" name="outputrawxls" from_work_dir="output.rawCount.xls" label="${tool.name} on ${on_string} (Raw Count XLS)"/> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
76 <data format="txt" name="outputr" from_work_dir="output.saturation.r" label="${tool.name} on ${on_string} (R Script)"/> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
77 <data format="pdf" name="outputpdf" from_work_dir="output.saturation.pdf" label="${tool.name} on ${on_string} (PDF)"/> |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
78 </outputs> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
79 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
80 <tests> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
81 <test> |
50
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
82 <param name="input" value="pairend_strandspecific_51mer_hg19_random.bam"/> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
83 <param name="refgene" value="hg19.HouseKeepingGenes_30.bed"/> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
84 <output name="outputxls"> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
85 <assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
86 <has_n_columns n="26" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
87 <has_line_matching expression="chr1\t16174358\t16266950\tNM_015001.*" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
88 </assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
89 </output> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
90 <output name="outputrawxls"> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
91 <assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
92 <has_n_columns n="26" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
93 <has_line_matching expression="chr1\t16174358\t16266950\tNM_015001.*" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
94 </assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
95 </output> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
96 <output name="outputr"> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
97 <assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
98 <has_text text="pdf('output.saturation.pdf')" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
99 <has_line_matching expression="S5=c\(\d+\.\d+\)" /> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
100 </assert_contents> |
f242ee103277
planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc commit 91ad241aa3f34b70649d13a5f18611da7577a5ee
lparsons
parents:
49
diff
changeset
|
101 </output> |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
102 </test> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
103 </tests> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
104 |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
105 <help><![CDATA[ |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
106 RPKM_saturation.py |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
107 ++++++++++++++++++ |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
108 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
109 The precision of any sample statitics (RPKM) is affected by sample size (sequencing depth); |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
110 \'resampling\' or \'jackknifing\' is a method to estimate the precision of sample statistics by |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
111 using subsets of available data. This module will resample a series of subsets from total RNA |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
112 reads and then calculate RPKM value using each subset. By doing this we are able to check if |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
113 the current sequencing depth was saturated or not (or if the RPKM values were stable or not) |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
114 in terms of genes' expression estimation. If sequencing depth was saturated, the estimated |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
115 RPKM value will be stationary or reproducible. By default, this module will calculate 20 |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
116 RPKM values (using 5%, 10%, ... , 95%,100% of total reads) for each transcripts. |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
117 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
118 In the output figure, Y axis is "Percent Relative Error" or "Percent Error" which is used |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
119 to measures how the RPKM estimated from subset of reads (i.e. RPKMobs) deviates from real |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
120 expression level (i.e. RPKMreal). However, in practice one cannot know the RPKMreal. As a |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
121 proxy, we use the RPKM estimated from total reads to approximate RPKMreal. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
122 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
123 .. image:: http://rseqc.sourceforge.net/_images/RelativeError.png |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
124 :height: 80 px |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
125 :width: 400 px |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
126 :scale: 100 % |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
127 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
128 Inputs |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
129 ++++++++++++++ |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
130 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
131 Input BAM/SAM file |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
132 Alignment file in BAM/SAM format. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
133 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
134 Reference gene model |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
135 Gene model in BED format. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
136 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
137 Strand sequencing type (default=none) |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
138 See Infer Experiment tool if uncertain. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
139 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
140 Options |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
141 ++++++++++++++ |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
142 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
143 Skip Multiple Hit Reads |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
144 Use Multiple hit reads or use only uniquely mapped reads. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
145 |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
146 Only use exonic reads |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
147 Renders program only used exonic (UTR exons and CDS exons) reads, otherwise use all reads. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
148 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
149 Output |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
150 ++++++++++++++ |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
151 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
152 1. output..eRPKM.xls: RPKM values for each transcript |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
153 2. output.rawCount.xls: Raw count for each transcript |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
154 3. output.saturation.r: R script to generate plot |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
155 4. output.saturation.pdf: |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
156 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
157 .. image:: http://rseqc.sourceforge.net/_images/saturation.png |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
158 :height: 600 px |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
159 :width: 600 px |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
160 :scale: 80 % |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
161 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
162 - All transcripts were sorted in ascending order according to expression level (RPKM). Then they are divided into 4 groups: |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
163 1. Q1 (0-25%): Transcripts with expression level ranked below 25 percentile. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
164 2. Q2 (25-50%): Transcripts with expression level ranked between 25 percentile and 50 percentile. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
165 3. Q3 (50-75%): Transcripts with expression level ranked between 50 percentile and 75 percentile. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
166 4. Q4 (75-100%): Transcripts with expression level ranked above 75 percentile. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
167 - BAM/SAM file containing more than 100 million alignments will make module very slow. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
168 - Follow example below to visualize a particular transcript (using R console):: |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
169 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
170 pdf("xxx.pdf") #starts the graphics device driver for producing PDF graphics |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
171 x <- seq(5,100,5) #resampling percentage (5,10,15,...,100) |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
172 rpkm <- c(32.95,35.43,35.15,36.04,36.41,37.76,38.96,38.62,37.81,38.14,37.97,38.58,38.59,38.54,38.67, 38.67,38.87,38.68, 38.42, 38.23) #Paste RPKM values calculated from each subsets |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
173 scatter.smooth(x,100*abs(rpkm-rpkm[length(rpkm)])/(rpkm[length(rpkm)]),type="p",ylab="Precent Relative Error",xlab="Resampling Percentage") |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
174 dev.off() #close graphical device |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
175 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
176 .. image:: http://rseqc.sourceforge.net/_images/saturation_eg.png |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
177 :height: 600 px |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
178 :width: 600 px |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
179 :scale: 80 % |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
180 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
181 ----- |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
182 |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
183 About RSeQC |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
184 +++++++++++ |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
185 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
186 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. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
187 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
188 The RSeQC package is licensed under the GNU GPL v3 license. |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
189 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
190 .. image:: http://rseqc.sourceforge.net/_static/logo.png |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
191 |
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
192 .. _RSeQC: http://rseqc.sourceforge.net/ |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
193 ]]> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
194 </help> |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
195 |
49
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
196 <expand macro="citations" /> |
6b33e31bda10
Uploaded tar based on https://github.com/lparsons/galaxy_tools/tree/master/tools/rseqc 1a3c419bc0ded7c40cb2bc3e7c87bfb01ddfeba2
lparsons
parents:
45
diff
changeset
|
197 |
45
eb339c5849bb
Reupload, toolshed removed all files of previous version.
lparsons
parents:
diff
changeset
|
198 </tool> |