Closed mbaudis closed 6 years ago
Hi @mbaudis , you're totally right. Actually, if you deploy the JAR and try to query the beacon using the values in this example you get the expected error:
{
"beaconId" : "elixir-demo-beacon",
"exists" : false,
"error" : {
"errorCode" : "GENERIC_ERROR",
"message" : "Either 'alternateBases' or 'variantType' is required"
},
"alleleRequest" : {
"alternateBases" : null,
"referenceBases" : "N",
"referenceName" : "X",
"start" : null,
"startMin" : 153592310,
"startMax" : 153592317,
"end" : null,
"endMin" : 153517030,
"endMax" : 153517050,
"variantType" : null,
"assemblyId" : "GRCh37",
"datasetIds" : null,
"includeDatasetResponses" : "NONE"
},
"apiVersion" : "0.4",
"datasetAlleleResponses" : null
}
I'll fix the examples ASAP.
IMO there are problems w/ the examples:
Either
alternateBases
orvariantType
are required. Since both providestart
(or interval) andend
(or ...) positions, I would assume that eitherDUP
orDEL
should be given.