rotifer.db.ncbi.utils#

Helper functions for identical protein group (IPG) reports.

These utilities operate on the dataframes produced by rotifer.db.ncbi.entrez.IPGCursor and are used by the gene neighborhood cursors to choose, for each queried protein, the best genomic sequence to download.

Functions

best_ipgs(ipgs)

Select the first ranked row of each identical protein group.

ipgs_to_dicts(ipgs)

Split IPG rows into assembly based and nucleotide based maps.