genomepy.functions.head_annotations

genomepy.functions.head_annotations(name: str, provider=None, n: int = 2)

Quickly inspect the metadata of each available annotation for the specified genome.

For UCSC, up to 4 gene annotation styles are available: “ncbiRefSeq”, “refGene”, “ensGene”, “knownGene” (respectively).

For NCBI, the chromosome names are not yet sanitized.

Parameters
  • name (str) – genome name

  • provider (str, optional) – only search the specified provider for the genome name

  • n (int, optional) – number of lines to show