PlotDenoisedCopyRatios Error
REQUIRED for all errors and issues:
GATK 4.3.0.0
gatk PlotDenoisedCopyRatios \
--standardized-copy-ratios /home/jupyter/notebooks/3-somatic-cna/sandbox/tumor.standardizedCR.tsv \
--denoised-copy-ratios /home/jupyter/notebooks/3-somatic-cna/sandbox/tumor.denoisedCR.tsv \
--sequence-dictionary /home/jupyter/notebooks/3-somatic-cna/ref/Homo_sapiens_assembly38.dict \
--minimum-contig-length 46709983 \
--output-prefix T19_clean \
-O /home/jupyter/notebooks/3-somatic-cna/sandbox/cna_plots
Error:
Stderr: Usage: %prog [options]
NA: error: Error in getopt(spec = spec, opt = args) : long flag "args" is invalid
-
This error is related to the R version that is in effect with your environment. PlotDenoisedCopyRatios is expecting an older version of R and r-optparse package however new versions of the r-optparse package does not use the args flag.
The required versions are listed below.
r-base 3.6.2
r-optparse 1.6.4I hope this helps.
-
Thank you.
Indrani
-
Hi Indrani,
I'm getting the same issue. Can you confirm if the suggested fix worked for you?
Please sign in to leave a comment.
3 comments