Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Problematic Fastq qualities with BWA

    Hi all,

    I'm having problems running BWA (0.5.9-r16 and 0.6.2) on some new whole exome data.

    The initial alignment runs fine (it seems) but when I want to create a SAM file with 'bwa sampe' it screws up the quality scores. Reading the file with samtools gives this error:
    [samopen] SAM header is present: 25 sequences.
    Parse error at line 27: sequence and quality are inconsistent
    This is the first sequence line of the SAM file:
    HISEQ1:382:C14EVACXX:3:1101:1296:1986 83 1 212274224 60 101M = 212274087 -238 AAAGCTGTGGAACGCTACCTCTTCCTTTGAGACCTTGTGGAGAAGGGTCTGAAATGGTAGGCAAAGAGAATAGTTCCCCAGAGAATAAAAACTGGTTGTTG ^_^_$^]^SESC ^\ ^Y# ^_^V^\^W $"#$!#" ^^
    ^X^^
    Compared to an equivalent output from bowtie2:
    @PG ID:bowtie2 PN:bowtie2 VN:2.0.0-beta7
    HISEQ1:382:C14EVACXX:3:1101:1296:1986 83 1 212274224 42 101M = 212274087 -238 AAAGCTGTGGAACGCTACCTCTTCCTTTGAGACCTTGTGGAGAAGGGTCTGAAATGGTAGGCAAAGAGAATAGTTCCCCAGAGAATAAAAACTGGTTGTTG >>C<2;(8B?>5;6(?CABC@BA?=)7=)7;CIIHEHIGIGC=?BD<@GE>GBB3DEF9AIIIIIGGGGHF?D6E9DHGHCHCBIFF<>FHDDB=:;?1 AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:101 YS:i:0 YT:Z:CP
    Anyone else seen this? Is this a problem caused by an incompatibility between BWA and casava 1.8+? I've run BWA in the past with no problems.
    TIA

  • #2
    Bump. Am I the only one seeing this?

    Comment


    • #3
      I had similar issues with bwa, switched to bowtie2 like you did

      Comment


      • #4
        Please write down the command line of BWA. Not just the sampe part, but the aln part also. Usually I get this kind of results when I use -I option in bwa aln.
        Other tip: See the next line after the error (in your case line 28). Maybe a newline character can be found on your quality score?

        Comment


        • #5
          I thought this was a dead thread so didn't update.

          Problem is/was the '-I' switch in bwa. It doesn't work with newer sanger fastq format files produced with Illumina pipeline v1.8+: remove switch and it works.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Advancing Precision Medicine for Rare Diseases in Children
            by seqadmin




            Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
            12-16-2024, 07:57 AM
          • seqadmin
            Recent Advances in Sequencing Technologies
            by seqadmin



            Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

            Long-Read Sequencing
            Long-read sequencing has seen remarkable advancements,...
            12-02-2024, 01:49 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 12-17-2024, 10:28 AM
          0 responses
          33 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-13-2024, 08:24 AM
          0 responses
          49 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-12-2024, 07:41 AM
          0 responses
          34 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 12-11-2024, 07:45 AM
          0 responses
          46 views
          0 likes
          Last Post seqadmin  
          Working...
          X