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

Extending data/ API for VCF Genotype Search #384

Closed
Tracked by #395
Don-Isdale opened this issue Jun 4, 2024 · 1 comment
Closed
Tracked by #395

Extending data/ API for VCF Genotype Search #384

Don-Isdale opened this issue Jun 4, 2024 · 1 comment
Assignees
Labels
part_of_383 This task is part of github issue #383

Comments

@Don-Isdale
Copy link
Collaborator

Part of #383

Observable outcomes / Acceptance criteria :

Functions utilising API endpoint to :

  • API endpoint to search for markers in a given VCF (parent reference dataset or block) P -> regions
  • samples(block) P (returns Promise yielding) -> samples
  • genotype(block, intervals, samples) P -> values

Measured with :

  • JSON or screen-shot in web inspector of request and response,

services/

  • data/
    • api / search / lookup :
      • [1-2D] search for markers in a given VCF (parent reference dataset or block) P -> regions
      • [3-6H] samples(block) P (returns Promise yielding) -> samples
      • [4-8H] genotype(block, intervals, samples) P -> values
@Don-Isdale Don-Isdale self-assigned this Jun 4, 2024
@Don-Isdale Don-Isdale added the part_of_383 This task is part of github issue #383 label Jun 4, 2024
@gabrielkg gabrielkg changed the title services/ - data/ API for VCF Genotype Search Extending data/ API for VCF Genotype Search Jun 4, 2024
@Don-Isdale
Copy link
Collaborator Author

Status : Not yet required

This capability was included in the design of the MVP, but is not required for small VCF files.
Instead the include expression is used : -i ' ID="scaffold38755_1207866" || ID="... ..." ', which scans the VCF.
For larger files, some means of mapping SNP names to regions will be required, which will be accessed by the API defined in this issue.
The list of regions can then be passed in the vcfGenotypeLookup request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
part_of_383 This task is part of github issue #383
Projects
None yet
Development

No branches or pull requests

1 participant