Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • fvnieuwe
    Junior Member
    • Jul 2010
    • 3

    bowtie2 quality scores same for every read

    Dear all,

    I am trying to map Illumina 2x126bp exome data (Nimblegen v3) with bowtie2. Subsequently, I want to perform variant detection using Samtools.

    I ran into following problem:
    - When I do an end-to-end paired-end mapping with bowtie2, the resulting sam file shows a mapping quality (column 5, MAPQ) of 0 for every read.
    - When I do a local paired-end mapping with bowtie2, the resulting sam file shows a mapping quality (column 5, MAPQ) of 44 for every read.
    - Note: both end-to-end and local mapping of the same reads but as single end reads shows a MAPQ value ranging between 1 and 44 (local) or between 1 and 42 (end-to-end)

    Example sam output end-to-end:
    bowtie2 --very-sensitive -p 8 --no-mixed --no-discordant -x ./bowtie2_hg19/hg19 -1 F10_GCCAAT_L007_R1.fastq -2 F10_GCCAAT_L007_R2.fastq -S F10_ete.sam --met-file F10_ete.out
    HISEQ:126:C0HL2ACXX:7:1101:5336:1952 83 chr19 8841203 0 126M = 8841061 -268 TTAAGTTTTCTCCCTCCAGCCTACTGATTCTAGCTGCAGCCTCATTCCTCTTCTCAAGACACCATCCCAGGAAGCCACCACCAATCAATGATGATTGGCATGTGAGATGAAAATTATTTGCCACCC ####A?9(09.0?88B@A::A>@@>>@A@A>CA::BBBBCCCCA;6(67;7B?7==.)(=)GHFC@=8)<HEBD?700):FHGGFDF?GHGIHHG@IIGF<DH@<H@IGGHF<>FBCABDDDA@@@ AS:i:-4 XN:i:0 XM:i:2 XO:i:0 XG:i:0 NM:i:2 MD:Z:46A31T47 YT:Z:CP
    HISEQ:126:C0HL2ACXX:7:1101:5336:1952 163 chr19 8841061 0 126M = 8841203 268 TGAGGCACCACGTCCGGCCGAACCTCAAATTTTTCACTATAGGGAGCAGTGGGTAGCTCTTCATTGGAGTGTGGCCAAGCGTCTCATTCAGAGATGCCAGCTGCTTCTTTGCCATCCCATGCCTTG @<@DFFFDBFBBFBGIIIGIJJJJ<9DH8DFGIIC8BGIEGHII>GIEE7=AA?BDCCCCA@CAA;CA?CDDDD?ACBB?BB?B?@DEECC::A@C4@A@BCC9CCCDDD((4@@A88:@C?::AC AS:i:-2 XN:i:0 XM:i:1 XO:i:0 XG:i:0 NM:i:1 MD:Z:110C15 YT:Z:CP


    Example sam output local alignment:
    bowtie2 --very-sensitive-local --local -M 5 --score-min G,20,8 -p 8 --no-mixed --no-discordant -x ./bowtie2_hg19/hg19 -1 F10_GCCAAT_L007_R1.fastq -2 F10_GCCAAT_L007_R2.fastq -S F10_local.sam --met-file F10_local.out
    HISEQ:126:C0HL2ACXX:7:1101:5336:1952 83 chr19 8841203 44 126M = 8841061 -268 TTAAGTTTTCTCCCTCCAGCCTACTGATTCTAGCTGCAGCCTCATTCCTCTTCTCAAGACACCATCCCAGGAAGCCACCACCAATCAATGATGATTGGCATGTGAGATGAAAATTATTTGCCACCC ####A?9(09.0?88B@A::A>@@>>@A@A>CA::BBBBCCCCA;6(67;7B?7==.)(=)GHFC@=8)<HEBD?700):FHGGFDF?GHGIHHG@IIGF<DH@<H@IGGHF<>FBCABDDDA@@@ AS:i:244 XN:i:0 XM:i:2 XO:i:0 XG:i:0 NM:i:2 MD:Z:46A31T47 YT:Z:CP
    HISEQ:126:C0HL2ACXX:7:1101:5336:1952 163 chr19 8841061 44 126M = 8841203 268 TGAGGCACCACGTCCGGCCGAACCTCAAATTTTTCACTATAGGGAGCAGTGGGTAGCTCTTCATTGGAGTGTGGCCAAGCGTCTCATTCAGAGATGCCAGCTGCTTCTTTGCCATCCCATGCCTTG @<@DFFFDBFBBFBGIIIGIJJJJ<9DH8DFGIIC8BGIEGHII>GIEE7=AA?BDCCCCA@CAA;CA?CDDDD?ACBB?BB?B?@DEECC::A@C4@A@BCC9CCCDDD((4@@A88:@C?::AC AS:i:248 XN:i:0 XM:i:1 XO:i:0 XG:i:0 NM:i:1 MD:Z:110C15 YT:Z:CP

    Who can make sense of this? Thanks! I already spend a day on this.

    Kind regards,
    Filip
  • fvnieuwe
    Junior Member
    • Jul 2010
    • 3

    #2
    I want to bump this question. Mapping paired-end reads with bowtie2 should be common practice. Right? I cannot imagine that nobody elso ran in to this problem. Am I overlooking something really obvious? In the mean time, I helped myself by switching to bwa. I still want to make the bowtie2 approach work, because of speed issues and the local aligment features. Where are the Bowtie aficionados?

    Comment

    • fjrossello
      Member
      • Sep 2011
      • 30

      #3
      Hi Filip,

      The same problem here (end to end, MapQual all 0s. However, this only happened when --no-mixed --no-discordant options were used. Find the parameters below:

      bowtie2 -p 6 --phred33 -N 1 -L 25 -X 650 -I 0 --no-mixed --no-discordant --un-conc ****_un.fastq --al-conc ****_al.fastq --rg-id Flowcell1_Lane4 --rg LB:Lib-**** --rg SM:*** --rg PL:HiSeq2000 -x $bowtie2_reference_dir/genome -1 $rawi/****_1.fq -2 $rawi/****_2.fq -S ****.sam >> ****.out 2>&1

      I found no issues when run in --non-mixed mode only. Find commands below:

      bowtie2 -p 6 --phred33 -N 1 -L 25 -X 650 -I 0 --no-mixed --rg-id Flowcell1_Lane4 --rg LB:Lib-**** --rg SM:*** --rg PL:HiSeq2000 -x $bowtie2_reference_dir/genome -1 $rawi/****_1.fq -2 $rawi/****_2.fq -S ****.sam >> ****.out 2>&1

      I hope this helps.

      Cheers,

      Fernando

      Comment

      • fvnieuwe
        Junior Member
        • Jul 2010
        • 3

        #4
        Thanks Fernando! Indeed, the problem only occurs when using --no-mixed and --no-discordant. I reported this bug to the sourceforge.net site.

        Comment

        • fjrossello
          Member
          • Sep 2011
          • 30

          #5
          Excellent! Thanks.
          Cheers,
          Fernando

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Pathogen Surveillance with Advanced Genomic Tools
            by seqadmin




            The COVID-19 pandemic highlighted the need for proactive pathogen surveillance systems. As ongoing threats like avian influenza and newly emerging infections continue to pose risks, researchers are working to improve how quickly and accurately pathogens can be identified and tracked. In a recent SEQanswers webinar, two experts discussed how next-generation sequencing (NGS) and machine learning are shaping efforts to monitor viral variation and trace the origins of infectious...
            03-24-2025, 11:48 AM
          • seqadmin
            New Genomics Tools and Methods Shared at AGBT 2025
            by seqadmin


            This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

            The Headliner
            The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
            03-03-2025, 01:39 PM
          • seqadmin
            Investigating the Gut Microbiome Through Diet and Spatial Biology
            by seqadmin




            The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
            02-24-2025, 06:31 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 03-20-2025, 05:03 AM
          0 responses
          41 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-19-2025, 07:27 AM
          0 responses
          46 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-18-2025, 12:50 PM
          0 responses
          36 views
          0 reactions
          Last Post seqadmin  
          Started by seqadmin, 03-03-2025, 01:15 PM
          0 responses
          191 views
          0 reactions
          Last Post seqadmin  
          Working...