Why coordinate sort is required in sambamba depth?
1
0
Entering edit mode
11 months ago
MobiusT ▴ 10

When I run the command

sambamba depth base -L genomicdataset001.bed $filename

It gives the following error

sambamba-depth: All files must be coordinate-sorted

Why coordinate-sort is required in this run and what coordinate sorting is exactly?

linux samtools sambamba • 577 views
ADD COMMENT
1
Entering edit mode
11 months ago

what coordinate sorting is exactly?

samtools sort bam file

Why coordinate-sort is required

coordinate sort is de facto the simplest way to know how many read overlap a region.

and now, review and/or validate all your previous questions: How to use minimap2? ; How a fastq.gz file is formatted? ; What is read depth exactly? ; Samtools index and sambamba-depth error? ; sambamba-depth: All files must be coordinate-sorted error? ...

ADD COMMENT

Login before adding your answer.

Traffic: 3030 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