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
            Understanding Genetic Influence on Infectious Disease
            by seqadmin




            During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

            Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
            09-09-2024, 10:59 AM
          • seqadmin
            Addressing Off-Target Effects in CRISPR Technologies
            by seqadmin






            The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
            08-27-2024, 04:44 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 02:44 PM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-06-2024, 08:02 AM
          0 responses
          145 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-03-2024, 08:30 AM
          0 responses
          152 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 08-27-2024, 04:40 AM
          0 responses
          159 views
          0 likes
          Last Post seqadmin  
          Working...
          X