Skip to content

update info/variation/population REST endpoint to retrieve individuals

Marek Szuba requested to merge github/fork/ima23/feature/rest_pop into master

Created by: ima23

Description

The variation/population REST endpoint retrieves population names, descriptions and sample counts. Individuals/Population are also of interest. This update allows the retrieval of individual names and any genders for a given population name.

Use case

We have had requests for the ability to retrieve lists of individuals by population to help in analysis of genotype data. This functionality was only available in the perl API.

GET info/variation/populations/:species/:population_name

Benefits

The update allows retrieval of all individuals for a population from a species.

Possible Drawbacks

None.

Testing

Yes. The corresponding tests have been updated.

If so, do the tests pass/fail?

Tests pass.

Have you run the entire test suite and no regression was detected?

Yes.

Changelog

[/info/variation/population] Added the ability to retrieve all individuals for a population from a species.

Merge request reports