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

CommandLineFunction with List[File] as input

I've been using Queue extensively recently, and it's great. I'm now trying to run a Qfunction that takes a list of input files, and uses them all as dependencies just as they would be if they were single inputs. Here's an example of what I want:

If converting your array of files to a seq/list doesn't work, please let us know? In other words, any script that runs using your original reportWriter sample above with List[File] should be dependency tracking in the internal graph.

Answers

Hmm, I don't think I've seen this usage in any of our code. I believe the system treats the list file itself as the dependency, not its contents, so if you provide the list file up front, the dependency is satisfied from the get-go. One hacky solution would be to have an extra command-line function that creates a copy of the list file once the previous job is done, and use the copy's name as input. Then the dependency is only satisfied once the previous jobs have run and the new list file is created.

If converting your array of files to a seq/list doesn't work, please let us know? In other words, any script that runs using your original reportWriter sample above with List[File] should be dependency tracking in the internal graph.