rotifer.db.ncbi.entrez.nucleotide2assembly#

rotifer.db.ncbi.entrez.nucleotide2assembly(nucids)[source]#

Map nucleotide accessions to their genome assemblies.

Links are resolved with ELink from the nuccore database to the assembly database, and the assembly accessions are then read from the assembly document summaries.

Parameters:
nucidsstr or list of str

NCBI nucleotide accessions.

Returns:
pandas.DataFrame

One row per link, with columns nucleotide, nuid, auid and assembly. The assembly column is NaN for links whose summary could not be resolved.

Examples

>>> from rotifer.db.ncbi import entrez
>>> t = entrez.nucleotide2assembly(["CP084314.1"])