Open camillescott opened 9 years ago
+1 on needing a fix here. Given khmer split-reads script appends .1 and .2 to the filename by default, which breaks SNAP, this is annoying. SNAP says you can specify filetype using the -fastq
flag. Why not just add this - using transrate this is the only thing people should be passing anyway..
Seems sensible :)
I'm wondering, is there already a fix for this issue?
Running the following command:
transrate --assembly _work/lamp10.fasta --left _work/brain_paired.qc.fq.gz.keep.keep.abundfilt.1.fq --right _work/brain_paired.qc.fq.gz.keep.keep.abundfilt.2.fq --threads 16 --reference _work/danRer.pep.fa --output _work/lamp10.fasta.transrate-test
Results in the run failing, and the following error output:
The issue appears to be that SNAP doesn't accept files which don't have an .fa or .fq extension, which seems to me to be a common occurrence. Adding the extensions fixes the problem. Would it be possible / desirable to modify SNAP's invocation to fix extensions with soft linking or to pass in a filetype argument?