Our staff will be observing the holiday and will be unavailable from 22nd to 25th November. This will cause a delay in reaching out to you and answering your questions immediately. Rest assured we will get back to it on Monday November 26th. We are grateful for your support and patience.
Have a great holiday everyone!!!
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