Hi all, I am using the following command to convert .sam files to .bam files:
samtools sort -@ 8 -o SampleID.bam SmapleID.sam
The standard error files usually start with something like "merging from 16 (this number varies) files ..." I was wondering what the number means.
Also, for several of my samples, I got messages saying that "merging from 0 files..." Does it indicate that the resulting .bam files do not contain any alignment information?
Any input?
Thank you very much.
Please use the formatting bar (especially the
code
option) to present your post better. I've done it for you this time.Thank you for formatting the code for me.
Note that if what you are really after is sam - bam conversion, its must faster to use
samtools view
(but it doesn't sort obviously).