Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lre1234
    Senior Member
    • Aug 2011
    • 110

    #1

    GATK BaseRecalibrator error message

    Hi all,
    I am trying to run the BaseRecalibrator in GATK but got an error message of:

    MESSAGE: SAM/BAM file SAMFileReader{test.sorted.bam} is malformed: The input .bam file contains reads with no platform information. First observed at read with name = 552_2035_733_F

    I am assuming that this is telling me that I need the platform information to be contained in the read group (SOLiD sequencing in this case). I was under the impression that it is not necessary to have this information in the file, or am I mistaken by this? Should having this information really matter? Or am I missing some flag that should be added that will skip this.
    Thanks
  • vdauwera
    Member
    • Apr 2012
    • 43

    #2
    Platform information is indeed required by GATK.

    Since you're working with SOLiD data, be sure to have a look at the solid-specific arguments of the BaseRecalibrator.

    http://www.broadinstitute.org/gatk/g...alibrator.html

    Comment

    • rpauly
      Member
      • Apr 2011
      • 32

      #3
      Hi,

      I am getting the same error:
      ERROR MESSAGE: SAM/BAM file SAMFileReader{*.bam} is malformed: The input .bam file contains reads with no platform information. First observed at read with name = HWI-ST565:24119R1ACXX:1:2106:16117:83155

      This is illumina. How can I circumvent this error?

      ~Thanks!

      Comment

      • vdauwera
        Member
        • Apr 2012
        • 43

        #4
        You'll need to add the platform information to your read groups. You can use Picard tools' AddOrReplaceReadGroups (http://picard.sourceforge.net/comman...laceReadGroups) to reset the read group info.

        Comment

        • amitbik
          Member
          • May 2013
          • 53

          #5
          Hi All

          I am getting error in BaseRecalibrator step. I am using this command

          java -Xmx8g -jar GenomeAnalysisTK.jar -T BaseRecalibrator -R file.fa -I file_relgn.bam -knownSites snv.sorted.vcf -knownSites indels_sort.vcf -o file_recal.grp -plots file_recal.grp.pdf

          I am getting error like this

          ##### ERROR MESSAGE: Argument with name 'plots' isn't defined.

          Any help will be appreciated.
          Thanks in advance

          Comment

          • bruce01
            Senior Member
            • Mar 2011
            • 160

            #6
            http://www.broadinstitute.org/gatk/g...alibrator.html

            There doesn't seem to be an option to produce a plot from BaseRecalibrator. What are you trying to plot?

            Comment

            • amitbik
              Member
              • May 2013
              • 53

              #7
              I am trying to plot the graph before and after the baserecalibration.
              here is the doc

              https://www.broadinstitute.org/gatk/...alibration.pdf

              Comment

              • bruce01
                Senior Member
                • Mar 2011
                • 160

                #8
                The 'empirical - reported quality' plots e.g. page 5? In the recal.grp file the data is available for this (RecalTable2, cols 2, 6) it should be trivial to plot in R.

                Comment

                • Zaag
                  Senior Member
                  • Nov 2009
                  • 112

                  #9
                  Originally posted by amitbik View Post
                  Hi All

                  I am getting error in BaseRecalibrator step. I am using this command

                  java -Xmx8g -jar GenomeAnalysisTK.jar -T BaseRecalibrator -R file.fa -I file_relgn.bam -knownSites snv.sorted.vcf -knownSites indels_sort.vcf -o file_recal.grp -plots file_recal.grp.pdf

                  I am getting error like this

                  ##### ERROR MESSAGE: Argument with name 'plots' isn't defined.

                  Any help will be appreciated.
                  Thanks in advance
                  It's a "new" tool.

                  http://www.broadinstitute.org/gatk/g...ovariates.html

                  Comment

                  • amitbik
                    Member
                    • May 2013
                    • 53

                    #10
                    Thanks a lot bruce01 and Zaag

                    I think there is some problem in Rscript thats why it is showing error.
                    I did as mentioned in the link

                    http://www.broadinstitute.org/gatk/g...ovariates.html

                    But again i am getting error

                    ##### ERROR MESSAGE: RScript exited with 1.

                    Comment

                    • Zaag
                      Senior Member
                      • Nov 2009
                      • 112

                      #11
                      Do you have ggplot2 (Rlibrary)?

                      Comment

                      Latest Articles

                      Collapse

                      • 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
                      • SEQadmin2
                        New Genomics Technologies Take Aim at Long-Standing Limits
                        by SEQadmin2


                        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                        ...
                        09-28-2026, 10:25 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, Yesterday, 11:13 AM
                      0 responses
                      13 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, Yesterday, 10:48 AM
                      0 responses
                      12 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      32 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      40 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...