Plotting only intergenic reads on chromosomes?
1
0
Entering edit mode
@mehmet-ilyas-cosacak-9020
Last seen 6.7 years ago
Germany/Dresden/ CRTD - DZNE

Hi,

I have BAM files (RNA-Seq data, 75 bp reads) from alignment to Zebrafish genome. I know how to plot all reads in the BAM file on each chromosomes, using gviz. However, I want to plot only the reads that do not map to any known Genes, (exons or introns), rRNA, tRNA, etc. Specifically I am interested in the reads that map to intergenic regions.

I have used gviz to plot all the reads, but could not find a way to plot the reads that mapped to intergenic regions. Is there an easier way or any package suggestions?

p.s. I am planing to extract reads that do not map to ENSEMBL genes (using GTF file) and then plot them on the chromosomes? Is there a way to extract those reads that do not mapped to ENSEMBL genes from the BAM files?

thanks in advance.

ilyas.

gviz GenomeGraphs BAM rsamtools samtools • 1.7k views
ADD COMMENT
3
Entering edit mode
@martin-morgan-1513
Last seen 3 months ago
United States

I think you should use GenomicAlignments::readGAlignment[Pairs]() and then query[query %outside% subject], where query are your alignments and subject the regions of interest from the GTF file.

ADD COMMENT
0
Entering edit mode

Thanks Martin for the reply and suggestion. This only helps me to extract the reads. How can I plot them on the chromosomes? Is there any package you can suggest?

best regards,

ilyas.
 

ADD REPLY

Login before adding your answer.

Traffic: 831 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6