Validation:
Data:
The test suite...
tests
frequency
, variantCount
, callCount
, sampleCount
alternateBases
and by variantType
DEL
, INS
, SNP
, BND
)startMin
/startMax
)assemblyId
etc)Testing a beacon:
Requirements:
pip3 install -r requirements.txt
python3 beacon-api-tester.py --host "http://mybeacon.com"
Output:
Output, validation failure:
"organization": null
Output, validation failure (only from the JSON schemas):
assemblyId: ""
Output, validation failure (only from the OpenAPI spec):
"organization": {"info": {"orgInfo": "..."}}
Output, bad answer:
Output, bad counts:
Schema validation:
will be automatically downloaded from GA4GH's / CSCfi's Github.
the queries are also validated (may help finding errors in the specifications).
Not tested:
HIT
for includeDatasetResponses
variantTypes
than DEL
, INS
, SNP
, BND
Future: