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

Add positionRange as request parameter to /variants #605

Open
patrick-koenig opened this issue Apr 19, 2024 · 0 comments
Open

Add positionRange as request parameter to /variants #605

patrick-koenig opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
BrAPI-Genotyping Related to BrAPI-Genotyping New Parameter Adding a new search/filter parameter

Comments

@patrick-koenig
Copy link
Contributor

In V2.1 the call /allelematrix has the request parameter "positionRange" that can be used like this: &positionRange=referenceDbId:start-end.

But the /variants call is currently lacking this very useful request parameter. It would be really helpful if /variants would also have support for "positionRange".

This would allow to request /allelematrix for allele calls and /variants for reference and alternate alles in the same style and in parallel and not one after the other and in different styles *.

The same applies for the parameter "positionRanges" that is present in /search/allelematrix but not in /search/variants. The latter call should also be extended with "positionRanges".

* I mean using lots of variantDbIds extracted from the result of /allelematrix and use them to request the variants with /variants.

@zrm22

@patrick-koenig patrick-koenig added New Parameter Adding a new search/filter parameter BrAPI-Genotyping Related to BrAPI-Genotyping labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BrAPI-Genotyping Related to BrAPI-Genotyping New Parameter Adding a new search/filter parameter
Projects
None yet
Development

No branches or pull requests

3 participants