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
            Non-Coding RNA Research and Technologies
            by seqadmin




            Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

            Nobel Prize for MicroRNA Discovery
            This week,...
            10-07-2024, 08:07 AM
          • seqadmin
            Recent Developments in Metagenomics
            by seqadmin





            Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
            09-23-2024, 06:35 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 06:35 AM
          0 responses
          7 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 02:44 PM
          0 responses
          7 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-11-2024, 06:55 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-02-2024, 04:51 AM
          0 responses
          111 views
          0 likes
          Last Post seqadmin  
          Working...
          X