Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Bowtie 2 very slow for genomes containing many Ns

    Lately I have been experiencing very slow mapping speeds with Bowtie 2 against a genome containing many ‘Ns’ and was wondering if anyone has experienced the same or know a solution to this.

    I have generated some mouse strain genomes containing Ns at known SNP positions to the Black6 reference genome. Running standard 50bp paired-end alignments on 10 cores took more than 10 days to complete for ~200M sequence pairs, which doesn’t sound that it is meant like that. I have since tested a few things, such as the latest version (2.2.0) or the previous one (2.2.1) but that’s not the issue. Also reducing the --score-min parameter didn’t speed it up noticeably. I then took 1M test reads and aligned them to the following 3 genomes:

    1) Genome containing 18M Ns, time: ~2h
    2) Genome containing 4M Ns, time: 30 mins
    3) Black6 reference genome, time: 2 mins

    I have noticed that the 3rd index file increased in size from 5858 bytes for Black6, to 156842630 bytes for the N-strain. Is this the index file describing the position of Ns?

    Do I just have to accept that Ns in the genome slow Bowtie 2 down >50-fold or is there any known cure for this? I'd be grateful for any pointers. Cheers, Felix

  • #2
    You're not the only one. I've aligned to hard-masked genomes before and the performance is terrible. In fact, some previous versions would triple (or more) their memory requirements in those cases. It looks like you already submitted a bug report, so hopefully this gets looked into.

    Comment


    • #3
      Thanks for the quick reply Ryan.

      Comment


      • #4
        Originally posted by fkrueger View Post
        Do I just have to accept that Ns in the genome slow Bowtie 2 down >50-fold or is there any known cure for this? I'd be grateful for any pointers. Cheers, Felix
        Well, you could always try a different aligner, like BBMap. It's faster than Bowtie 2 and increases in speed with more Ns in the reference.

        Comment


        • #5
          Just as a quick update on this, Ben and Val looked into this and were able to increase the alignment speed by a whopping 80-fold. The fix will be part of the next release of Bowtie 2.

          Comment

          Latest Articles

          Collapse

          • 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 on Modified Bases...
            Yesterday, 07:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

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