Base Recalibration plots:RScript exited with 1
Posted in Ask the GATK team | Last updated on

Comments (15)

I want to create plots before and after Recalibration, and getting the error below:

I have checked for the package "ggplot2"which is required for generating graphs and also added the path of R script to my environment: which is confirmed by :

$ which Rscript


ERROR stack trace

org.broadinstitute.sting.utils.R.RScriptExecutorException: RScript exited with 1. Run with -l DEBUG for more info. at org.broadinstitute.sting.utils.R.RScriptExecutor.exec( at org.broadinstitute.sting.utils.recalibration.RecalUtils.generatePlots( at org.broadinstitute.sting.gatk.walkers.bqsr.AnalyzeCovariates.generatePlots( at org.broadinstitute.sting.gatk.walkers.bqsr.AnalyzeCovariates.initialize( at org.broadinstitute.sting.gatk.executive.LinearMicroScheduler.execute( at org.broadinstitute.sting.gatk.GenomeAnalysisEngine.execute( at org.broadinstitute.sting.gatk.CommandLineExecutable.execute( at org.broadinstitute.sting.commandline.CommandLineProgram.start( at org.broadinstitute.sting.commandline.CommandLineProgram.start( at org.broadinstitute.sting.gatk.CommandLineGATK.main(

ERROR ------------------------------------------------------------------------------------------
ERROR A GATK RUNTIME ERROR has occurred (version 2.7-4-g6f46d11):
ERROR This might be a bug. Please check the documentation guide to see if this is a known problem.
ERROR If not, please post the error message, with stack trace, to the GATK forum.
ERROR Visit our website and forum for extensive documentation and answers to
ERROR commonly asked questions
ERROR MESSAGE: RScript exited with 1. Run with -l DEBUG for more info.

Below is the command I am running:

/shares/jre1.7.0_40/bin/java -jar /shares/GenomeAnalysisTK-2.7-4-g6f46d11/GenomeAnalysisTK.jar -T AnalyzeCovariates -R /shares/dbdata/human_g1k_v37.fasta -before /shares/bam_base_recalib/recal_data.table -after /shares/bam_base_recalib/post_recal_data.table -plots /shares/bam_base_recalib/BQSR.pdf

Return to top Comment on this article in the forum