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
nuccoredatabase to theassemblydatabase, 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,auidandassembly. Theassemblycolumn is NaN for links whose summary could not be resolved.
Examples
>>> from rotifer.db.ncbi import entrez >>> t = entrez.nucleotide2assembly(["CP084314.1"])