Get notifications!

You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Got a problem?

1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

Jump to another community

Picard's CollectMultipleMetrics in Queue v3.4 and v3.5

Some of the picard's collect (e.g. CollectMultipleMetrics, CollectInsertSizeMetrics) commands load R script resources. Those resources were present in Queue <= v3.3-0 but they are absent from the subsequent versions. $ jar tf 3.3-0/Queue.jar | grep "picard.*R$" picard/analysis/baseDistributionByCycle.R picard/analysis/gcBias.R picard/analysis/meanQualityByCycle.R picard/analysis/rnaSeqCoverage.R picard/analysis/qualityScoreDistribution.R picard/analysis/insertSizeHistogram.R $ jar tf 3.4-0/Queue.jar | grep "picard.*R$" $ jar tf 3.5-0/Queue.jar | grep "picard.*R$" $
Without those resources, CollectMultipleMetrics throws something similar to java.lang.IllegalArgumentException: Script [picard/analysis/qualityScoreDistribution.R] not found in classpath depending on which commands it hits first. I thought I would be able to overcome that by adding picard.jar to CLASSPATH but it did not help. I had to add them to Queue.jar in order to make it work.

It would be nice to have those resources back in the distributed Queue.jar.

Best Answer

Hi @brisk022, I'm not sure why these resources are no longer loading correctly; they are part of the Picard jar that gets wrapped into Queue at build time and they haven't been moved in Picard afaict -- but I have a faint memory of running into a similar problem some time last June. I'll try to hunt down what might have happened.

Answers

Hi @brisk022, I'm not sure why these resources are no longer loading correctly; they are part of the Picard jar that gets wrapped into Queue at build time and they haven't been moved in Picard afaict -- but I have a faint memory of running into a similar problem some time last June. I'll try to hunt down what might have happened.

It looks like the June issue was something different; unfortunately it's not clear what's going wrong and we don't have the resources to address this at this time. If someone external figures it out and submits a patch we're happy to look at it of course. Sorry to disappoint!