genomepy.annotation.utils

Utility functions with gene annotations

Functions

count_columns(fpath)

generate_annot(template, target[, overwrite])

Create an annotation file type from the other file type.

read_annot(fpath)

Read a GTF or BED file to a dataframe.

write_annot(df, fpath)

Write a dataframe to a GTF or BED file.