samtools idxstats showing accession number and genomic scaffold
1
0
Entering edit mode
4 months ago
whb ▴ 20

Hi,

Is this an expected output for Samtools idxstats? Why is it showing accession instead of chromosome number? most of the NC_... corresponds to a chromosome but why do I have NT and NW genomic scaffold?

Samtools Manuel :

output is TAB-delimited with each line consisting of reference sequence name, sequence length, # mapped read-segments and # unmapped read-segments.

But why do I have have four columns in some?

Samtools idxstats file.bam

Screen-Shot-2021-01-02-at-7-30-07-pm
multiple image

samtools idxstats bams • 213 views
ADD COMMENT
0
Entering edit mode
4 months ago

Is this an expected output for Samtools idxstats?

yes if those accession numbers were used as the name of the chromosomes in the reference genome....

you can check this using

samtools view -H your.bam | grep '^@SQ'
ADD COMMENT

Login before adding your answer.

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