-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VariantRecalibrator R-script fails if scales
v1.3.0 is installed
#8664
Comments
Looks like we need to update our Rscripts... thanks for the report! |
Hi, i face the same bug. Could you tell me which version ggplot2 can be used or how many times you can fix this problem? tahanks! |
R version 3.6 and compatible ggplot2 is needed. Compatible versions are listed in the gatkcondaenv.yml
|
Hi, I also face this problem:
My versions of R and packages are Did you already find a solution to this problem? Thanks! |
Hi @Lotteaveline |
Okay thank you for the quick response! |
Hi, there: I am using R v4.3.4, scales v1.3.0, ggplot2 v3.4.4. Can you please kindly let me know how to resolve the issue mentioend above: I hope that I don't need to download my R version, that will make a lot of other scripts not work. Thanks! |
You need to use the versions suggested above. If it is not possible to downgrade your R environment then the only solution would be to use the Conda environment for GATK which installs all the necessary components. Or you may use the docker image we provide. |
Thanks! GATK has been there fore more than 1 decade, I guess. I really hope that now it is easy to run. Can you please let me know how to install through conda then? BTW, the current version 4.5.0 does not require users to separate SNP from INDEL when calling variants, correct? Best regards, |
Just follow the recommendations from our readme file
And yes you don't have to call SNPs and INDELs separately. |
Dear Gökalp: Thank you very much! You suggested to run conda env create -f gatkcondaenv.yml. Where is the gatkcondaenv.yml file? If I simply used git clone https://github.com/broadinstitute/gatk.git. The cloned package has a gatk executable. I found that I could run it directly. If I simply go to **https://gatk.broadinstitute.org**/hc/en-us homepage, and download the latest version file https://github.com/broadinstitute/gatk/releases/download/4.6.0.0/gatk-4.6.0.0.zip. After unzipping it, there is also a gatk executable, and I could also run it directly (./gatk) on the shell. So, now I am a bit puzzled: which is the recommended way to install and run GATK? Finally, it seems that you guys now recommend WARP https://broadinstitute.github.io/warp/, which seems to be a completely new set of tools and pipeline scripts. Is WDL now the recommended approach to run GATK? Thank you very much & best regards, |
The 'scales' is v1.3.0 in the latest gatk docker (gatk-package-4.6.1.0-local.jar) , so I got the same error. |
We have a fix in our master branch which will make into the next point release. Also for the time being you may be able to use docker image or our conda environment to generate these graphs. |
Bug Report
Affected tool(s) or class(es)
VariantRecalibrator
Affected version(s)
Description
As of v1.3.0 the
scales
R package turns the use of deprecated values for thespace
parameter into a hard error, resulting in the VariantRecalibrator R-script terminating with the following message:This parameter is used repeatedly in the generated R-script via
Steps to reproduce
Expected behavior
The output rscript file is used to generate a PDF.
Actual behavior
Generation of the PDF fails due to an deprecation in the
scales
library causing theRscript
command to abort.The text was updated successfully, but these errors were encountered: