I am using
samtools index -b A.bam
to generate .bai indx file but I always get A.csi format index file.
Anything wrong with it?
I am using
samtools index -b A.bam
to generate .bai indx file but I always get A.csi format index file.
Anything wrong with it?
If you meant to use more threads (cores) then that option is -@ INT Sets the number of threads [none].
e.g. samtools index -@ 12 -b bai_R1_trimmed20-3.bam
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
What's your samtools version? I went through all of
samtoolsversions, none of them produce csi files unless asked for with the-cparameter. Maybe there's an alias interfering with your command?Also, even if you got the
csifile, it should beA.bam.csi, notA.csi. Are you sure the csi file is being produced by the samtools command you're running?yes, it's A.bam.csi, Here is the version Program: samtools (Tools for alignments in the SAM format) Version: 1.7 (using htslib 1.7-2) Here is the exact command I used
I got bai_R1_trimmed20-3.bam.csi
Are you using a very large genome for these alignments? What happens if you don't use
-m 18? Setting that may be leading to.csiindexes.really? I use that cause I have large dataset to process. Will try without.