Last active
August 29, 2015 13:56
-
-
Save sujaikumar/8932968 to your computer and use it in GitHub Desktop.
How to parallelise UCSC BLAT with gnu parallel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to parallelise UCSC BLAT with gnu parallel | |
============================================== | |
I spent a long time working out how to gnu-parallelise UCSC's blat and most tricks to specify the query file didn't work (e.g. "-" "</dev/stdin" etc), so am posting what did work for me: | |
cat cdna.fa | parallel --pipe --recstart ">" "blat -noHead genome.fa stdin >(cat) >/dev/null" >out.psl | |
If you don't do the >/dev/null - you get blat stdout messages like "Loaded X letters in Y sequences. Searched A bases in B sequences" in your output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I've been attempting to use your script to parallelize a BLAT job. All of the parallel parameters make sense to me but I've noticed a couple of issues.
Because of issue #1, I am inclined to think that not all output is being collected.