Entering edit mode
7.4 years ago
ghostforever.shi
▴
50
Hey everyone. A problem occurred when I used ngsplot to deal with my data. I have already used samtools to sort the bam file generated by bowtie2. But ngsplot still said "fail to index the BAM file.". I am not quite understand what happened here. Did anyone know the reason? Thanks.
Workaround: Index the bam file using samtools, and make sure both bam and index are in same folder. Most of the tools tries to index bam only if there is no index available.
Regarding the error, give more details about the error. There could be several reasons why a bam file can not be indexed.
Oh, Thank you. I think I got the reason. Much appreciate!
you can post the reason. might be helpful for others.