If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!
Test-drive the GATK tools and Best Practices pipelines on Terra
Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.
We will be out of the office on November 11th and 13th 2019, due to the U.S. holiday(Veteran's day) and due to a team event(Nov 13th). We will return to monitoring the GATK forum on November 12th and 14th respectively. Thank you for your patience.
Include SAMPLE name in Picard CollectHsMetrics output at runtime?
When we run the GATK 4.1.x version and earlier of Picard CollectHsMetrics, the last three columns in the initial "METRICS CLASS" data line are SAMPLE, LIBRARY and READ_GROUP, respectively.
Every time I've run this, and I've run this kind of thing literally thousands of times over the years, the last three columns always come back as three blanks.
Is there a way to populate these three values (especially the SAMPLE) at runtime e.g. a command line argument? Or is there another way?
For the record, this is a question I've had simmering since the Picard 1.x days, but i've just recently been asked to combine the HsMetrics outputs in a systematic/automated fashion. It would be super easy if I could just inject the SAMPLE value into that row at runtime. I realize I could do this with a perl/sed/awk/etc one-liner, but if there's an easier way, I'd like to know about it.