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.

Argument tags in Queue

LouisBLouisB Broad InstituteMember, Broadie, Dev ✭✭

Is the a way to access argument tags in the arguments to a Qscript?

I have a script that takes a number of bam files as input and I would like to be able to tag them. i.e.

--input:whole-genome some_long_name.bam
--input:exome a_different_bam.bam

In a walker I do this and then look up the tags by calling getToolkit().getTags(argumentValue), but this isn't available to a qscript. Is there a good way to do this?

Best Answer

Answers

  • LouisBLouisB Broad InstituteMember, Broadie, Dev ✭✭

    Thanks for the response. I thought maybe there was a tricky way to get to them at the script level. I'll just use a separate argument like you suggest.

Sign In or Register to comment.