Last active
February 8, 2017 14:28
-
-
Save photocyte/9c1b863a6de58c3e3ac3f8321e31cd23 to your computer and use it in GitHub Desktop.
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
##Abusing file descriptors to have graphmap stream/pipe the .sam output into samtools for filtering and compression to .bam | |
/lab/solexa_weng/testtube/graphmap/bin/Linux-x64/graphmap align -r mito_reference.fasta -d raw_reads.fasta -P -o /dev/fd/3 3>&1 1>&2 | samtools view -b -h -F 4 > aligned_reads.bam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment