Entering edit mode
4.8 years ago
aalith
▴
10
I'm new to NGS analysis and was wondering how to run a piped command to avoid reading and writing huge intermediate files. I only have a little experience with the linux commands, but I am running from inside a GATK docker image.
Does the command line just look like...
gatk RevertSam (stuff) -F /dev/stdout | bwa mem (stuff) /dev/stdin
Also, is using a piped command like this optimal for this situation? I've read that sometimes, since piped commands run concurrently, it doesn't provide much benefit with huge files
Any advice on this would be appreciated! Trying to learn more about NGS analysis and linux in general