Closed byb121 closed 6 years ago
seems just need to change sorted.bam
to sorted
on this line:
https://github.com/nunofonseca/irap/blob/master/scripts/irap_fastq_qc#L359
It should be fixed in the new version of the script (devel branch). The code now uses samtools to perform the conversion. Please reopen the issue if the problem persists. Cheers.
When input is a bam file (eg:
the_sample.bam
), bamToFastq is usingthe_sample.bam.sorted.bam
as its input, while samtools sort produces athe_sample.bam.sorted
, hence bamToFastq produces empty Fastqs.bamToFastq should raise an error at this point as well, not to wait till Fastqc complains.