Skip to content

Commit 8a3be7e

Browse files
authored
fix(docs): update example in readme for /variant_counts (#90)
* VMP API response was updated in #80, this includes an updated example
1 parent 1fd5c4b commit 8a3be7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ curl -X POST "http://localhost:8080/ingest_vcf?assembly=grch38" \
3939
Then, submit a query for allele frequency
4040

4141
```bash
42-
curl "http://localhost:8080/variant_counts?assemblyId=GRCh38&referenceName=22&start=44389414&referenceBases=A&alternateBases=G"
42+
curl "http://localhost:8080/variant_counts?assemblyId=GRCh38&referenceName=7&start=140714556&referenceBases=A&alternateBases=T"
4343
```
4444

4545
A successful query returns a response like the following:
4646

4747
```json
48-
{"beaconHandovers":[{"handoverType":{"id":"GREGoR-NCH","label":"GREGoR AnyVLM Reference"},"url":"https://variants.gregorconsortium.org/"}],"meta":{"apiVersion":"v1.0","beaconId":"org.anyvlm.gregor","returnedSchemas":[{"entityType":"genomicVariant","schema":"ga4gh-beacon-variant-v2.0.0"}]},"responseSummary":{"exists":true,"numTotalResults":2},"response":{"resultSets":[{"exists":true,"id":"GREGoR-NCH Homozygous","results":[],"resultsCount":2,"setType":"genomicVariant"},{"exists":true,"id":"GREGoR-NCH Heterozygous","results":[],"resultsCount":0,"setType":"genomicVariant"},{"exists":true,"id":"GREGoR-NCH Hemizygous","results":[],"resultsCount":0,"setType":"genomicVariant"}]}}
48+
{"beaconHandovers":[{"handoverType":{"id":"CUSTOM:GREGoR-NCH","label":"GREGoR AnyVLM Reference"},"url":"https://variants.gregorconsortium.org/","note":null}],"meta":{"apiVersion":"v1.0","beaconId":"org.anyvlm.gregor","returnedSchemas":[{"entityType":"genomicVariant","schema":"ga4gh-beacon-variant-v2.0.0"}]},"responseSummary":{"exists":true,"numTotalResults":34},"response":{"resultSets":[{"exists":true,"id":"CUSTOM:GREGoR-NCH Homozygous","results":[],"resultsCount":0,"setType":"genomicVariant"},{"exists":true,"id":"CUSTOM:GREGoR-NCH Heterozygous","results":[],"resultsCount":34,"setType":"genomicVariant"},{"exists":true,"id":"CUSTOM:GREGoR-NCH Hemizygous","results":[],"resultsCount":0,"setType":"genomicVariant"},{"exists":false,"id":"CUSTOM:GREGoR-NCH Unknown","results":[],"resultsCount":0,"setType":"genomicVariant"}]}}
4949
```
5050

5151
See the [usage](https://anyvlm.readthedocs.org/en/stable/usage.html) page in the documentation for more information.

0 commit comments

Comments
 (0)