Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Aligning paired end read files that have different numbers of reads after trimming

    Hi all,

    Basically, I'm wondering if tophat2 (calling bowtie2) can align paired reads from two different files that don't have the same number of reads? Right, that sounds a bit vague, but in a nutshell;

    I have gotten raw read files in FASTQ format back from an RNA seq project. This is from paired end sequencing. So for a single lane there are 2 files (one for each pair) and both have 29181932 reads. I then trimmed each read for a quality score, but when I was doing this I included an option to remove reads that, after trimming, contained less than 25 bps (These are 40bp reads). More reads were removed, because of this, from the second mate of the pair. Now I have different numbers of reads for each pair (pair 1 29081810; pair 2 26989485). A difference of about 2.1 million reads, but this is expected as quality is always lower on the second mate.

    The problem now is that I don't know if bowtie2 will only align reads for which the 2 corresponding mates exist or will it align each read independently? Preferably the former.

    I know I could create files with only the IDs that are in both, but I don't want to do this if bowtie2 will take care of it for me.

    Any advice would be greatly appreciated.
    Last edited by d1antho; 01-19-2013, 12:50 PM. Reason: The initial title wasnt specific enough to the problem

  • #2
    No, it will not work properly with the input files you have described. Nearly every software tool for NGS insists that all pairs are matched. When the read pairs are provided in separate files (e.g. R1 and R2) the order of the reads must match exactly in the two files.

    This is why trimming and filtering tools which don't maintian pair information create big headaches. For this reason I started using Trimmomatic. It works with both of the paired reads simultaneously. If only one of the reads survives QC it is written to a separate singletons file, while surviving pairs are written to their respective paired files.

    Comment


    • #3
      Great. Thanks

      Just re-doing the trimming now

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        Today, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 07:17 AM
      0 responses
      6 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-30-2024, 12:17 PM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-29-2024, 10:49 AM
      0 responses
      28 views
      0 likes
      Last Post seqadmin  
      Working...
      X