This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!
Dynamically pass multiple input to Picard's MarkDuplicates (multiplexed data)
To pass multiple BAM files to
MarkDuplicates we use the following syntax:
java -jar picard.jar MarkDuplicates \ INPUT=lane1.bam \ INPUT=lane2.bam \ OUTPUT=dedup.bam \ METRICS_FILE=dedub_metrics.txt
However, this syntax doesn't requires us to know the number of inputs beforehand. This is not particularly practical. Is there no way this can be done dynamically, for example, some GATK functions take files containing a list of input files (but