Closed binarybana closed 9 years ago
snap's not going to do well with what looks like a file, but into which it can't get the size or seek. The right way to do this is to pipe the output of lbzcat into snap, and then tell it to run from stdin:
lbzcat xaa.fastq.bz2 | snap-dev single /mnt/datab/refs/grcm38/SNAP-bspace -fastq - -map -o xaa.bam
A better question is why we don't have native decompress support for bz2, so you could just use it on the command line directly like with gzip.
Using 1b12 (git master) I tried:
Whereas using the uncompressed version:
I've uploaded the test file here and the reference is just the mouse Ensembl grcm38 with 96 ERCC transcripts added on at the end (each as a separate chromosome).
Let me know what else I can do to help.