To celebrate the release of GATK 4.0, we are giving away free credits for running the GATK4 Best Practices pipelines in FireCloud, our secure online analysis portal. It’s first come first serve, so sign up now to claim your free credits worth $250. Sponsored by Google Cloud. Learn more at

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

brisk022brisk022 University of ZurichMember


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.



Issue · Github
by Sheila

Issue Number
Last Updated
Closed By

Best Answer


  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie

    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!

  • brisk022brisk022 University of ZurichMember

    Thanks for looking into that, Geraldine. Unfortunately, I don't have much experience with Maven, so I wouldn't be of much help.

    PS Do you give badges to people for reporting the most obscure issues? ;)

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie

    Hah, sure! Have a Trophy badge :)

Sign In or Register to comment.