Entering edit mode
                    3.2 years ago
        Zahed Alam
        
    
        •
    
    0
    Hello,
I am trying to create a index file of file.bam using Samtools. I have executed this command :
samtools index file.bam  file.bam.bai
But it shows some error while creating this index file. I have attached my screenshot bellow: 
Anyone can help me about how can i get rid of this error?
samtools arror: [E::hts_idx_push] NO_COOR reads not in a single block at the end 0 -1
Thank you!