genomepy.providers.map_locations

genomepy.providers.map_locations(frm: str, to: str, genomes_dir: Optional[str] = None) Optional[DataFrame]

Load chromosome mapping from one assembly to another using the NCBI assembly reports.

Parameters
  • frm (str) – A local genomepy genome name

  • to (str) – target provider (UCSC, Ensembl or NCBI)

  • genomes_dir (str, optional) – The genomes directory to look for the genomes. Will search the default genomes_dir if left blank.

Returns

Chromosome mapping.

Return type

pandas.DataFrame