retrieve assembly accession from genome accession
1
0
Entering edit mode
9 weeks ago

I have a file containing the list of genome accession numbers (JADIXX000000000) , and I need to get the corresponding assembly accession numbers(GCA_016705575). Which database API should I use? Does anybody know the command that I can use for this purpose?

Assembly Genomics • 277 views
ADD COMMENT
2
Entering edit mode
9 weeks ago
GenoMax 145k

Using EntrezDirect

$ esearch -db assembly -query JADIXX000000000 | efetch -format docsum | xtract -pattern DocumentSummary -element Genbank
GCA_016705575.1
ADD COMMENT
0
Entering edit mode

Thank you very much, it works well. Then i will try to use a script to conduct the transition

ADD REPLY

Login before adding your answer.

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