Skip to content

Searching snp coordinates exactly does not return that snp #191

Description

@jpfisher72

To get the SNP returned, the end coordinate needs to be one greater than the SNP end. If you increment the start coordinate also, it doesn't work

For example, the first url is searching the coordinates of a snp exactly with no results. The second extends the end coordinate by one, and the SNP is returned with the coordinates of the first search. Start/end seem to be passed to API correctly.

https://igscreen.vercel.app/region/chr12%3A53380037-53380038/variants
https://igscreen.vercel.app/region/chr12%3A53380037-53380039/variants

Of note, https://www.ncbi.nlm.nih.gov/snp/?term=rs1033876564 shows that SNP at the position chr12:53380038. We are displaying it as chr12:53,380,037-53,380,038

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions