Unconfigured Ad

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

    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.

    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


            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

              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.

                  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



                    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

                      • mylaser
                        Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by mylaser
                        Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                        If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                        This guide explains everything you need to know about...
                        Today, 01:13 AM
                      • SEQadmin2
                        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by SEQadmin2



                        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                        ...
                        07-09-2026, 11:10 AM
                      • SEQadmin2
                        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                        by SEQadmin2



                        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                        07-08-2026, 05:17 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 07-09-2026, 10:04 AM
                      0 responses
                      17 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-08-2026, 10:08 AM
                      0 responses
                      10 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-07-2026, 11:05 AM
                      0 responses
                      22 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-02-2026, 11:08 AM
                      0 responses
                      31 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...