multicuv error Could not find indexes
1
0
Entering edit mode
5.8 years ago
PK ▴ 130

I am trying to get new coordinated for my sequencing file so i tried to align my new version of the genomic file (TB927_v5.1). I used smalt to get sam file. I converted my sam file into bam file using this command:

samtools view -h -b -S out.sam > out.bam

Next, i used to multicuv

bedtools multicov -bams out.bam -bed merged.bed >nucleolus.txt

to get read counts but it shows

Could not find indexes
RNA-Seq alignment software error • 2.0k views
ADD COMMENT
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. I've done it for you this time.
code_formatting

ADD REPLY
1
Entering edit mode
5.8 years ago
Nitin Narwade ★ 1.6k

Have you indexed your bam file?

If not then just do it by using samtools utility.

Before doing an indexing you have to sort the bam file first.

Sorting Bam file:

samtools sort input.bam >sorted.output.bam

Indexing sorted Bam file:

samtools index sorted.output.bam

The second command will create bam file index in the same folder with .bai extension.

Now re-run the same command.

ADD COMMENT

Login before adding your answer.

Traffic: 2764 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6