Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible to find the nearest feature when there is none at the locus #283

Open
Cloufield opened this issue Feb 18, 2023 · 0 comments

Comments

@Cloufield
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant