I have RNA-seq data from 14 clones producing my protein of interest. I used Tophat2 to align my reads to the genome. In order to check for ER stress I would like to see whether a specific 26bp intron in XBP-1 is removed or not.
To solve this my plan is to calculate the read coverage of bp position 35303-35329 in scaffold NW_003614142.1 and check whether this is lower than the surrounding regions = bp region 35250-35302 and 35329 -35359.
Is there an easy way to do this? The information should be pretty straight forward to get from the accepted_hits.bam file. As far as i can tell samtools mpileup (http://samtools.sourceforge.net/samtools.shtml) should be able to do this but i can't get it to work (my programming stills are very limited). Any input to how you would extract the information or how i should correct the mpileup idea are more than welcome
samtools mpileup -b accepted_hits.bam -r NW_003614142.1 > example
To solve this my plan is to calculate the read coverage of bp position 35303-35329 in scaffold NW_003614142.1 and check whether this is lower than the surrounding regions = bp region 35250-35302 and 35329 -35359.
Is there an easy way to do this? The information should be pretty straight forward to get from the accepted_hits.bam file. As far as i can tell samtools mpileup (http://samtools.sourceforge.net/samtools.shtml) should be able to do this but i can't get it to work (my programming stills are very limited). Any input to how you would extract the information or how i should correct the mpileup idea are more than welcome
samtools mpileup -b accepted_hits.bam -r NW_003614142.1 > example
Comment