I have been using the following command for sam to bam conversion using picard; however, I do not know how to scale it up and do a batch conversion. Ideally, if I could ask picard to read all the sam files in a folder and convert them to bam files, that would be nice, if applicable. What would be the easiest way through? I would appreciate if you could guide me.
Hello friends,
I have been using the following command for sam to bam conversion using picard; however, I do not know how to scale it up and do a batch conversion. Ideally, if I could ask picard to read all the sam files in a folder and convert them to bam files, that would be nice, if applicable. What would be the easiest way through? I would appreciate if you could guide me.
Best
Zara
java -jar picard.jar SamFormatConverter \