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.

Picard - SortSam


I'm using Picard's SortSam tool and was wandering if I can use the same script for 2 files? Meaning, can I do something like that (script below)? What would be the separator sign? Or I would have to run it independently for each file?

Thank you!

source /broad/software/scripts/useuse
reuse -q Java-1.8
"[email protected]"

source /broad/software/scripts/useuse
reuse -q Picard-Tools
"[email protected]"

java -Xmx4g -jar ~/picard-2.12.2/picard.jar SortSam \
INPUT=FILE1.sam, FILE2.bam \
OUTPUT=FILE1.bam, FILE2.bam \

Best Answer


Sign In or Register to comment.