How to change GCA_ to NC_ annotations (RefSeq)
I downloaded the data_summary.tsv file via NCBI Datasets, but I need to change the GCA_ style annotations in the file to NC_ annotations in order to create a RefSeq (NC_) reference list. Is there any way to convert RefSeq Assembly to RefSeq accession number?
• 1,710 views
•
link
1 answer
Interesting question I assumed the assembly summary would have that - turns out it does not. Upon some trial and error it seems you can link this up in the following way using Entrez Direct:
esearch -db assembly -query GCA_009858895 | elink -target nuccore | efetch -format acc
prints:
NC_045512.2
MN908947.3
it shows both the RefSeq and the GenBank entries of the same data.
• 0 views
•
link
Log in to answer this question.
it would be helpful if you can post what you have downloaded and what you want.
GCAaccessions areGenBankassemblies where as correspondingGCFaccessions (if they exist) would beRefSeq.One way to convert these would be using EntrezDirect:
looks like we wrote the exact same thing at the same time :-) - just took a detour in investigating the assembly stats