genomepy.annotation.utils.generate_annot

genomepy.annotation.utils.generate_annot(template, target, overwrite=False)

Create an annotation file type from the other file type.

Parameters
  • template (str) – a GTF or BED filepath.

  • target (str) – filepath to save the new annotation to.

  • overwrite (bool, optional) – overwrite existing target file?