Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RNA expression - reads mapping outside of the annotated regions of the genome

    I have data from an experiment which is looking into differential expression of small RNA. It seems that a fraction of the reads are mapped outside of the annotated regions of the mouse genome (as listed in the Ensemble GTF file). To be honest, I am not expecting to find new genes in such a popular model organism but I am still curious where these reads map. I would like to produce statistics for each chromosome listing the number of reads that are mapped outside of the annotated regions. What's the easiest way to produce such statistics? I am using bowtie1, samtools and htseq-count in my current pipeline but so far I have always limited my analysis to the annotated regions so I am not sure how to best approach this - any advice is most welcome!

  • #2
    If you have read alignments in bam format on the one hand and a gene annotation in gtf/gff/bed format on the other hand it should be simple to compare both with bedtools.

    For instance something like "bedtools intersect -v -abam mapped_reads.bam -b exons.bed" should give you the reads that do not intersect any annotated exon (you can use entire gene regions if you prefer to discard intronic reads). Pipe this to "samtools view -c -" to get the number of reads.

    More precisely:

    Code:
    bam1=mapped_reads.bam
    bam2=intergenic_reads.bam
    annotation=annotated_genes.bed
    
    bedtools intersect -v -abam $bam1 -b $annotation > $bam2
    samtools index $bam2
    And then either something like

    Code:
    for chr in `cat list_of_chromosomes.txt` ; do
     N=`samtools view -c $bam1 $chr` ;
     n=` samtools view -c $bam2 $chr` ;
     echo $chr $n $N ;
    done
    Or simply

    Code:
    samtools idxstats $bam2
    You might also be interested in how close your reads are from annotated exons. Have a look at "bedtools closest".

    Comment


    • #3
      Qualimap (http://qualimap.org) outputs percentage of reads in intronic and intergenic regions as one of the quality metrics for RNA-seq data.
      Example report can be found here.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM
      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      31 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X