alphagenome.data.gene_annotation.filter_to_mane_select_transcript

alphagenome.data.gene_annotation.filter_to_mane_select_transcript#

alphagenome.data.gene_annotation.filter_to_mane_select_transcript(gtf)[source]#

Filter GTF entries to only the MANE select transcript.

Note that the MANE_Select tag only exists for the human GTF file.

Parameters:

gtf (DataFrame) – pd.DataFrame of GENCODE GTF entries. Must contain columns ‘tag’.

Return type:

DataFrame

Returns:

pd.DataFrame of GENCODE GTF entries subset to rows representing MANE select transcripts, which are transcripts that are well-supported, conserved, and expressed.