genomepy.annotation.utils.read_annot

genomepy.annotation.utils.read_annot(fpath: str) DataFrame

Read a GTF or BED file to a dataframe.

Parameters

fpath (str) – path to the annotation file

Returns

annotation dataframe

Return type

pd.DataFrame