annotate infer_experiment.xml @ 43:378d05d35705 draft

Uploaded
author lparsons
date Wed, 23 Jul 2014 10:58:28 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
43
378d05d35705 Uploaded
lparsons
parents:
diff changeset
1 <tool id="rseqc_infer_experiment" name="Infer Experiment" version="2.3.9">
378d05d35705 Uploaded
lparsons
parents:
diff changeset
2 <description>speculates how RNA-seq were configured</description>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
3 <requirements>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
4 <requirement type="package" version="1.7.1">numpy</requirement>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
5 <requirement type="package" version="2.3.9">rseqc</requirement>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
6 </requirements>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
7 <command>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
8 infer_experiment.py -i $input -r $refgene
378d05d35705 Uploaded
lparsons
parents:
diff changeset
9 #if $sample_size.boolean
378d05d35705 Uploaded
lparsons
parents:
diff changeset
10 -s $sample_size.size
378d05d35705 Uploaded
lparsons
parents:
diff changeset
11 #end if
378d05d35705 Uploaded
lparsons
parents:
diff changeset
12
378d05d35705 Uploaded
lparsons
parents:
diff changeset
13 > $output
378d05d35705 Uploaded
lparsons
parents:
diff changeset
14 </command>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
15 <stdio>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
16 <exit_code range="1:" level="fatal" description="An error occured during execution, see stderr and stdout for more information" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
17 <regex match="[Ee]rror" source="both" description="An error occured during execution, see stderr and stdout for more information" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
18 </stdio>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
19 <inputs>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
20 <param name="input" type="data" format="bam,sam" label="Input BAM/SAM file" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
21 <param name="refgene" type="data" format="bed" label="Reference gene model in bed format" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
22 <conditional name="sample_size">
378d05d35705 Uploaded
lparsons
parents:
diff changeset
23 <param name="boolean" type="boolean" label="Modify usable sampled reads" value="false" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
24 <when value="true">
378d05d35705 Uploaded
lparsons
parents:
diff changeset
25 <param name="size" type="integer" label="Number of usable sampled reads (default = 200000)" value="200000" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
26 </when>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
27 </conditional>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
28 </inputs>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
29 <outputs>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
30 <data format="txt" name="output" />
378d05d35705 Uploaded
lparsons
parents:
diff changeset
31 </outputs>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
32 <help>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
33 infer_experiment.py
378d05d35705 Uploaded
lparsons
parents:
diff changeset
34 +++++++++++++++++++
378d05d35705 Uploaded
lparsons
parents:
diff changeset
35
378d05d35705 Uploaded
lparsons
parents:
diff changeset
36 This program is used to speculate how RNA-seq sequencing were configured, especially how
378d05d35705 Uploaded
lparsons
parents:
diff changeset
37 reads were stranded for strand-specific RNA-seq data, through comparing reads' mapping
378d05d35705 Uploaded
lparsons
parents:
diff changeset
38 information to the underneath gene model.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
39
378d05d35705 Uploaded
lparsons
parents:
diff changeset
40
378d05d35705 Uploaded
lparsons
parents:
diff changeset
41 Inputs
378d05d35705 Uploaded
lparsons
parents:
diff changeset
42 ++++++++++++++
378d05d35705 Uploaded
lparsons
parents:
diff changeset
43
378d05d35705 Uploaded
lparsons
parents:
diff changeset
44 Input BAM/SAM file
378d05d35705 Uploaded
lparsons
parents:
diff changeset
45 Alignment file in BAM/SAM format.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
46
378d05d35705 Uploaded
lparsons
parents:
diff changeset
47 Reference gene model
378d05d35705 Uploaded
lparsons
parents:
diff changeset
48 Gene model in BED format.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
49
378d05d35705 Uploaded
lparsons
parents:
diff changeset
50 Number of usable sampled reads (default=200000)
378d05d35705 Uploaded
lparsons
parents:
diff changeset
51 Number of usable reads sampled from SAM/BAM file. More reads will give more accurate estimation, but make program little slower.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
52
378d05d35705 Uploaded
lparsons
parents:
diff changeset
53 Outputs
378d05d35705 Uploaded
lparsons
parents:
diff changeset
54 +++++++
378d05d35705 Uploaded
lparsons
parents:
diff changeset
55
378d05d35705 Uploaded
lparsons
parents:
diff changeset
56 For pair-end RNA-seq, there are two different
378d05d35705 Uploaded
lparsons
parents:
diff changeset
57 ways to strand reads (such as Illumina ScriptSeq protocol):
378d05d35705 Uploaded
lparsons
parents:
diff changeset
58
378d05d35705 Uploaded
lparsons
parents:
diff changeset
59 1. 1++,1--,2+-,2-+
378d05d35705 Uploaded
lparsons
parents:
diff changeset
60
378d05d35705 Uploaded
lparsons
parents:
diff changeset
61 * read1 mapped to '+' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
62 * read1 mapped to '-' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
63 * read2 mapped to '+' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
64 * read2 mapped to '-' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
65
378d05d35705 Uploaded
lparsons
parents:
diff changeset
66 2. 1+-,1-+,2++,2--
378d05d35705 Uploaded
lparsons
parents:
diff changeset
67
378d05d35705 Uploaded
lparsons
parents:
diff changeset
68 * read1 mapped to '+' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
69 * read1 mapped to '-' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
70 * read2 mapped to '+' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
71 * read2 mapped to '-' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
72
378d05d35705 Uploaded
lparsons
parents:
diff changeset
73 For single-end RNA-seq, there are also two different ways to strand reads:
378d05d35705 Uploaded
lparsons
parents:
diff changeset
74
378d05d35705 Uploaded
lparsons
parents:
diff changeset
75 1. ++,--
378d05d35705 Uploaded
lparsons
parents:
diff changeset
76
378d05d35705 Uploaded
lparsons
parents:
diff changeset
77 * read mapped to '+' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
78 * read mapped to '-' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
79
378d05d35705 Uploaded
lparsons
parents:
diff changeset
80 2. +-,-+
378d05d35705 Uploaded
lparsons
parents:
diff changeset
81
378d05d35705 Uploaded
lparsons
parents:
diff changeset
82 * read mapped to '+' strand indicates parental gene on '-' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
83 * read mapped to '-' strand indicates parental gene on '+' strand
378d05d35705 Uploaded
lparsons
parents:
diff changeset
84
378d05d35705 Uploaded
lparsons
parents:
diff changeset
85
378d05d35705 Uploaded
lparsons
parents:
diff changeset
86 Example Output
378d05d35705 Uploaded
lparsons
parents:
diff changeset
87 ++++++++++++++
378d05d35705 Uploaded
lparsons
parents:
diff changeset
88
378d05d35705 Uploaded
lparsons
parents:
diff changeset
89 **Example1** ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
90
378d05d35705 Uploaded
lparsons
parents:
diff changeset
91 =========================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
92 This is PairEnd Data ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
93
378d05d35705 Uploaded
lparsons
parents:
diff changeset
94 Fraction of reads explained by "1++,1--,2+-,2-+": 0.4992
378d05d35705 Uploaded
lparsons
parents:
diff changeset
95 Fraction of reads explained by "1+-,1-+,2++,2--": 0.5008
378d05d35705 Uploaded
lparsons
parents:
diff changeset
96 Fraction of reads explained by other combinations: 0.0000
378d05d35705 Uploaded
lparsons
parents:
diff changeset
97 =========================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
98
378d05d35705 Uploaded
lparsons
parents:
diff changeset
99 *Conclusion*: We can infer that this is NOT a strand specific because 50% of reads can be explained by "1++,1--,2+-,2-+", while the other 50% can be explained by "1+-,1-+,2++,2--".
378d05d35705 Uploaded
lparsons
parents:
diff changeset
100
378d05d35705 Uploaded
lparsons
parents:
diff changeset
101 **Example2** ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
102
378d05d35705 Uploaded
lparsons
parents:
diff changeset
103 ============================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
104 This is PairEnd Data
378d05d35705 Uploaded
lparsons
parents:
diff changeset
105
378d05d35705 Uploaded
lparsons
parents:
diff changeset
106 Fraction of reads explained by "1++,1--,2+-,2-+": 0.9644 ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
107 Fraction of reads explained by "1+-,1-+,2++,2--": 0.0356
378d05d35705 Uploaded
lparsons
parents:
diff changeset
108 Fraction of reads explained by other combinations: 0.0000
378d05d35705 Uploaded
lparsons
parents:
diff changeset
109 ============================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
110
378d05d35705 Uploaded
lparsons
parents:
diff changeset
111 *Conclusion*: We can infer that this is a strand-specific RNA-seq data. strandness of read1 is consistent with that of gene model, while strandness of read2 is opposite to the strand of reference gene model.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
112
378d05d35705 Uploaded
lparsons
parents:
diff changeset
113 **Example3** ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
114
378d05d35705 Uploaded
lparsons
parents:
diff changeset
115 =========================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
116 This is SingleEnd Data ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
117
378d05d35705 Uploaded
lparsons
parents:
diff changeset
118 Fraction of reads explained by "++,--": 0.9840 ::
378d05d35705 Uploaded
lparsons
parents:
diff changeset
119 Fraction of reads explained by "+-,-+": 0.0160
378d05d35705 Uploaded
lparsons
parents:
diff changeset
120 Fraction of reads explained by other combinations: 0.0000
378d05d35705 Uploaded
lparsons
parents:
diff changeset
121 =========================================================
378d05d35705 Uploaded
lparsons
parents:
diff changeset
122
378d05d35705 Uploaded
lparsons
parents:
diff changeset
123 *Conclusion*: This is single-end, strand specific RNA-seq data. Strandness of reads are concordant with strandness of reference gene.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
124
378d05d35705 Uploaded
lparsons
parents:
diff changeset
125
378d05d35705 Uploaded
lparsons
parents:
diff changeset
126 -----
378d05d35705 Uploaded
lparsons
parents:
diff changeset
127
378d05d35705 Uploaded
lparsons
parents:
diff changeset
128 About RSeQC
378d05d35705 Uploaded
lparsons
parents:
diff changeset
129 +++++++++++
378d05d35705 Uploaded
lparsons
parents:
diff changeset
130
378d05d35705 Uploaded
lparsons
parents:
diff changeset
131 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.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
132
378d05d35705 Uploaded
lparsons
parents:
diff changeset
133 The RSeQC package is licensed under the GNU GPL v3 license.
378d05d35705 Uploaded
lparsons
parents:
diff changeset
134
378d05d35705 Uploaded
lparsons
parents:
diff changeset
135 .. image:: http://rseqc.sourceforge.net/_static/logo.png
378d05d35705 Uploaded
lparsons
parents:
diff changeset
136
378d05d35705 Uploaded
lparsons
parents:
diff changeset
137 .. _RSeQC: http://rseqc.sourceforge.net/
378d05d35705 Uploaded
lparsons
parents:
diff changeset
138
378d05d35705 Uploaded
lparsons
parents:
diff changeset
139
378d05d35705 Uploaded
lparsons
parents:
diff changeset
140 </help>
378d05d35705 Uploaded
lparsons
parents:
diff changeset
141 </tool>