Hi ,
Thanks for the amazing package.
I am wondering if there is a function like find_nearest_feature that can query the nearest features (like gene_name) given contig and position when there are no features at the locus.
For example, currently gene_names_at_locus(contig, position, end=None, strand=None) only returns none when there are no genes in the locus.
It would be extremely helpful if pyensembl could also find the nearest features.
Hi , Thanks for the amazing package. I am wondering if there is a function like
find_nearest_feature
that can query the nearest features (likegene_name
) given contig and position when there are no features at the locus. For example, currentlygene_names_at_locus(contig, position, end=None, strand=None)
only returns none when there are no genes in the locus. It would be extremely helpful if pyensembl could also find the nearest features.