View Single Post
Old 05-04-2018, 12:48 PM   #4
Richard Finney
Senior Member
 
Location: bethesda

Join Date: Feb 2009
Posts: 700
Default

NC_000016 is a name used for "chr16".
This the "official" name used at NCBI : https://www.ncbi.nlm.nih.gov/nuccore/NC_000016.10/

You have to convert the "NCBI name" to "chr" names (or vice versa).

There are many ways to rename fields. You can always brute force it using a custom simple program or script using your favorite programming language : bash, python, perl, C, etc.

Any easy way would be to reheader the bam file. Please see samtools documentation for this.
Richard Finney is offline   Reply With Quote