Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • woodydon
    Member
    • Jan 2010
    • 52

    #1

    Working with input files with Q64 and Q33 (GATK IndelRealigner)

    Dear SEQanswers members,

    I have two input fasta files from exome-seq. One is coded with Q64 and the other is coded with Q33 quality scores. I want to combine the two input fasta files and run bwa+GATK.

    How do I combine them for IndelRealigner? I suppose that IndelRealigner needs all reads from both Q64 and Q33. Can I do IndelRealigner separately and then join them? Will this cause problems?

    I have searched for many posts but can't find my answers. Please help me.

    Thanks,
    Woody
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    Once they're in sam/bam format the original quality values get changed to ASCII-33 anyway. Just map them separately then combine the sam files.

    Comment

    • elkjournals1
      Junior Member
      • Mar 2015
      • 1

      #3
      Please elaborate this issue and then i can see and Brian Bushnell is right please do one time this "Just map them separately then combine the sam files."............Best Of Luck
      Journal of Social Science

      Comment

      • woodydon
        Member
        • Jan 2010
        • 52

        #4
        Originally posted by Brian Bushnell View Post
        Once they're in sam/bam format the original quality values get changed to ASCII-33 anyway. Just map them separately then combine the sam files.
        Hi Brian,

        Thanks for the response!

        I combined the fastq files and ran BWA-MEM to generate a bam file. I used GATK's RealignerTargetCreator to create target regions for IndelRealigner. But, before IndelRealigner, I added --fix_misencoded_quality_scores to the RealignerTargetCreator step. GATK returned an error message that it can't handle a mixture of records with Q64 and Q33. Are you suggesting that I don't need to fix the quality scores?

        It confused me.

        Bests,
        Woody

        Comment

        • woodydon
          Member
          • Jan 2010
          • 52

          #5
          Hi Brain,

          I am sorry that I misunderstood your response. I will map them separately and merge the bam files for the following GATK steps. I will report if I succeed.

          Thanks,
          Woody

          Comment

          • woodydon
            Member
            • Jan 2010
            • 52

            #6
            Hi Brian and elkjournals1,

            I found the solution for this after consulting with a GATK developer. Please refer to this post:

            http://gatkforums.broadinstitute.org...aligner#latest

            Bests,
            Woody

            Comment

            • Brian Bushnell
              Super Moderator
              • Jan 2014
              • 2709

              #7
              Thanks for posting that link. But, I disagree with the advice there. Let me clarify:

              You should align the datasets separately, then merge the sam files. But when aligning the ASCII-64 files with bwa, you need to use the -I flag to tell it the qualities are in ASCII-64, since bwa does not autodetect qualities (as far as I know). Without that flag, the output will be incorrect, and simply fixing the quality values afterward will not solve it since the mapping will have been done according to incorrect quality values.

              As long as the mapper is aware of the input quality format, it will convert it to ASCII-33 in the sam output regardless of the input, as that is required by the sam specification and is not something that varies by mapper.

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                Today, 06:46 AM
              • SEQadmin2
                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                by SEQadmin2



                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                ...
                10-14-2026, 09:55 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              24 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              15 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              70 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...