| | 118 | |
| | 119 | |
| | 120 | ==== infer_experiment.py from RseQC package: can be used to check if the RNA-seq reads are stranded. ==== |
| | 121 | {{{ |
| | 122 | |
| | 123 | # Command line: |
| | 124 | |
| | 125 | bsub infer_experiment.py -i accepted_hits.bam -r hs.bed |
| | 126 | |
| | 127 | -i INPUT_FILE in SAM or BAM format |
| | 128 | -r Reference gene model in bed fomat. |
| | 129 | |
| | 130 | # sample output on strand-specific PE reads: |
| | 131 | This is PairEnd Data |
| | 132 | Fraction of reads explained by "1++,1--,2+-,2-+": 0.0193 |
| | 133 | Fraction of reads explained by "1+-,1-+,2++,2--": 0.9807 |
| | 134 | Fraction of reads explained by other combinations: 0.0000 |
| | 135 | |
| | 136 | # sample output on non-stranded PE reads: |
| | 137 | This is PairEnd Data |
| | 138 | Fraction of reads explained by "1++,1--,2+-,2-+": 0.5103 |
| | 139 | Fraction of reads explained by "1+-,1-+,2++,2--": 0.4897 |
| | 140 | Fraction of reads explained by other combinations: 0.0000 |
| | 141 | |
| | 142 | For pair-end RNA-seq, there are two different ways to strand reads: |
| | 143 | i) 1++,1--,2+-,2-+ |
| | 144 | read1 mapped to '+' strand indicates parental gene on '+' strand |
| | 145 | read1 mapped to '-' strand indicates parental gene on '-' strand |
| | 146 | read2 mapped to '+' strand indicates parental gene on '-' strand |
| | 147 | read2 mapped to '-' strand indicates parental gene on '+' strand |
| | 148 | ii) 1+-,1-+,2++,2-- |
| | 149 | read1 mapped to '+' strand indicates parental gene on '-' strand |
| | 150 | read1 mapped to '-' strand indicates parental gene on '+' strand |
| | 151 | read2 mapped to '+' strand indicates parental gene on '+' strand |
| | 152 | read2 mapped to '-' strand indicates parental gene on '-' strand |
| | 153 | |
| | 154 | For single-end RNA-seq, there are two different ways to strand reads: |
| | 155 | i) ++,-- |
| | 156 | read mapped to '+' strand indicates parental gene on '+' strand |
| | 157 | read mapped to '-' strand indicates parental gene on '-' strand |
| | 158 | ii) +-,-+ |
| | 159 | read mapped to '+' strand indicates parental gene on '-' strand |
| | 160 | read mapped to '-' strand indicates parental gene on '+' strand |
| | 161 | |
| | 162 | |
| | 163 | }}} |