Mercurial > repos > nilesh > rseqc
annotate RPKM_saturation.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_RPKM_saturation" name="RPKM Saturation" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@GALAXY_VERSION@"> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
2 <description>calculates raw count and RPKM values for transcript at exon, intron, and mRNA level</description> |
|
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> |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
6 <expand macro="bio_tools"/> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
7 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
8 <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
|
9 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
10 <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
|
11 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
12 <version_command><![CDATA[RPKM_saturation.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
|
13 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
14 <command><![CDATA[ |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
15 @BAM_SAM_INPUTS@ |
|
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
16 RPKM_saturation.py -i 'input.${extension}' -o output -r '${refgene}' |
|
3
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 #if str($strand_type.strand_specific) == "pair" |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
19 -d |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
20 #if str($strand_type.pair_type) == "sd" |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
21 '1++,1--,2+-,2-+' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
22 #else |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
23 '1+-,1-+,2++,2--' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
24 #end if |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
25 #end if |
| 1 | 26 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
27 #if str($strand_type.strand_specific) == "single" |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
28 -d |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
29 #if str($strand_type.single_type) == "s" |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
30 '++,--' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
31 #else |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
32 '+-,-+' |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
33 #end if |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
34 #end if |
| 1 | 35 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
36 -l ${percentileFloor} -u ${percentileCeiling} -s ${percentileStep} -c ${rpkmCutoff} |
|
12
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
37 --mapq $mapq |
|
57fad5deeb8e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 247059e2527b66f1dbecf1e61496daef921040c3"
iuc
parents:
11
diff
changeset
|
38 ]]></command> |
| 1 | 39 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
40 <inputs> |
|
13
a7f9084572fe
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 8a91236cee4d408ae2b53a3e9b6daebc332d631a
iuc
parents:
12
diff
changeset
|
41 <expand macro="bam_sam_param" /> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
42 <expand macro="refgene_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
43 <expand macro="strand_type_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
44 <param name="percentileFloor" type="integer" value="5" label="Begin sampling from this percentile (default=5)" help="(--percentile-floor)"/> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
45 <param name="percentileCeiling" type="integer" value="100" label="End sampling at this percentile (default=100)" help="(--percentile-ceiling)" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
46 <param name="percentileStep" type="integer" value="5" label="Sampling step size (default=5)" help="(--percentile-step)" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
47 <param name="rpkmCutoff" type="text" value="0.01" label="Ignore transcripts with RPKM smaller than this number (default=0.01)" help="(--rpkm-cutoff)" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
48 <expand macro="mapq_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
49 <expand macro="rscript_output_param" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
50 </inputs> |
| 1 | 51 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
52 <outputs> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
53 <expand macro="pdf_output_data" filename="output.saturation.pdf" /> |
|
14
b21f0167e197
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit ccb6f7edba5492f4750ef8a59c4f91eb67fdbbec
iuc
parents:
13
diff
changeset
|
54 <data format="tabular" name="outputxls" from_work_dir="output.eRPKM.xls" label="${tool.name} on ${on_string}: RPKM"/> |
|
b21f0167e197
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit ccb6f7edba5492f4750ef8a59c4f91eb67fdbbec
iuc
parents:
13
diff
changeset
|
55 <data format="tabular" name="outputrawxls" from_work_dir="output.rawCount.xls" label="${tool.name} on ${on_string}: raw count"/> |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
56 <expand macro="rscript_output_data" filename="output.saturation.r" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
57 </outputs> |
| 1 | 58 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
59 <tests> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
60 <test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
61 <param name="input" value="pairend_strandspecific_51mer_hg19_random.bam"/> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
62 <param name="refgene" value="hg19.HouseKeepingGenes_30.bed"/> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
63 <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
|
64 <output name="outputxls"> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
65 <assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
66 <has_n_columns n="26" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
67 <has_line_matching expression="chr1\t16174358\t16266950\tNM_015001.*" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
68 </assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
69 </output> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
70 <output name="outputrawxls"> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
71 <assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
72 <has_n_columns n="26" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
73 <has_line_matching expression="chr1\t16174358\t16266950\tNM_015001.*" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
74 </assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
75 </output> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
76 <output name="outputr"> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
77 <assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
78 <has_text text="pdf('output.saturation.pdf')" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
79 <has_line_matching expression="S5=c\(\d+\.\d+\)" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
80 </assert_contents> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
81 </output> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
82 <output name="outputpdf" file="output.saturation.pdf" compare="sim_size" /> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
83 </test> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
84 </tests> |
| 1 | 85 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
86 <help><![CDATA[ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
87 RPKM_saturation.py |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
88 ++++++++++++++++++ |
| 1 | 89 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
90 The precision of any sample statitics (RPKM) is affected by sample size (sequencing depth); |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
91 \'resampling\' or \'jackknifing\' is a method to estimate the precision of sample statistics by |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
92 using subsets of available data. This module will resample a series of subsets from total RNA |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
93 reads and then calculate RPKM value using each subset. By doing this we are able to check if |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
94 the current sequencing depth was saturated or not (or if the RPKM values were stable or not) |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
95 in terms of genes' expression estimation. If sequencing depth was saturated, the estimated |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
96 RPKM value will be stationary or reproducible. By default, this module will calculate 20 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
97 RPKM values (using 5%, 10%, ... , 95%,100% of total reads) for each transcripts. |
| 1 | 98 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
99 In the output figure, Y axis is "Percent Relative Error" or "Percent Error" which is used |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
100 to measures how the RPKM estimated from subset of reads (i.e. RPKMobs) deviates from real |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
101 expression level (i.e. RPKMreal). However, in practice one cannot know the RPKMreal. As a |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
102 proxy, we use the RPKM estimated from total reads to approximate RPKMreal. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
103 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
104 .. image:: $PATH_TO_IMAGES/RelativeError.png |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
105 :height: 80 px |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
106 :width: 400 px |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
107 :scale: 100 % |
| 1 | 108 |
| 109 Inputs | |
| 110 ++++++++++++++ | |
| 111 | |
| 112 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
|
113 Alignment file in BAM/SAM format. |
| 1 | 114 |
| 115 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
|
116 Gene model in BED format. |
| 1 | 117 |
| 118 Strand sequencing type (default=none) | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
119 See Infer Experiment tool if uncertain. |
| 1 | 120 |
| 121 Options | |
| 122 ++++++++++++++ | |
| 123 | |
| 124 Skip Multiple Hit Reads | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
125 Use Multiple hit reads or use only uniquely mapped reads. |
| 1 | 126 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
127 Only use exonic reads |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
128 Renders program only used exonic (UTR exons and CDS exons) reads, otherwise use all reads. |
| 1 | 129 |
| 130 Output | |
| 131 ++++++++++++++ | |
| 132 | |
| 133 1. output..eRPKM.xls: RPKM values for each transcript | |
| 134 2. output.rawCount.xls: Raw count for each transcript | |
| 135 3. output.saturation.r: R script to generate plot | |
| 136 4. output.saturation.pdf: | |
| 137 | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
138 .. image:: $PATH_TO_IMAGES/saturation.png |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
139 :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
|
140 :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
|
141 :scale: 80 % |
| 1 | 142 |
| 143 - All transcripts were sorted in ascending order according to expression level (RPKM). Then they are divided into 4 groups: | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
144 1. Q1 (0-25%): Transcripts with expression level ranked below 25 percentile. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
145 2. Q2 (25-50%): Transcripts with expression level ranked between 25 percentile and 50 percentile. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
146 3. Q3 (50-75%): Transcripts with expression level ranked between 50 percentile and 75 percentile. |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
147 4. Q4 (75-100%): Transcripts with expression level ranked above 75 percentile. |
| 1 | 148 - BAM/SAM file containing more than 100 million alignments will make module very slow. |
| 149 - Follow example below to visualize a particular transcript (using R console):: | |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
150 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
151 pdf("xxx.pdf") #starts the graphics device driver for producing PDF graphics |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
152 x <- seq(5,100,5) #resampling percentage (5,10,15,...,100) |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
153 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 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
154 scatter.smooth(x,100*abs(rpkm-rpkm[length(rpkm)])/(rpkm[length(rpkm)]),type="p",ylab="Precent Relative Error",xlab="Resampling Percentage") |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
155 dev.off() #close graphical device |
| 1 | 156 |
|
3
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
157 .. image:: $PATH_TO_IMAGES/saturation_eg.png |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
158 :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
|
159 :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
|
160 :scale: 80 % |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
161 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
162 @ABOUT@ |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
163 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
164 ]]> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
165 </help> |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
166 |
|
71ed55a3515a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
iuc
parents:
1
diff
changeset
|
167 <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
|
168 |
| 1 | 169 </tool> |
