Open spoonbender76 opened 6 months ago
After looking at the samtools sort
docs, yes, it does look like it can take sam as input and still output bam, so skipping the samtools view
command should in theory work just fine. I don't have time to change and test that right now, but feel free to submit a pull request with the change and I'll test it out and review after the holidays. And thanks for the idea!
Hi,
Thank you for creating this pipeline.
I have a small question about
samtools view -bh aligned.sam | samtools sort -n > aligned.bam
in CHROMAP_ALIGN process. According to samtools manual,samtools sort
can take.sam
as input. Issamtools view -bh
necessary? Will this commandsamtools sort -n aligned.sam > aligned.bam
give the exact same output? Since it can save some time for me (30 min withsamtools view -bh
vs 13 minsamtool sort
only).