The “beaconresponse.cgi” script is a server backend for the Beacon protocol, specifically adapted to connect to MongoDB database backends that adhere to the core GA4GH model.
alternateBasesparameter, and doesn’t include wildcards but allows “N”, the query will only return variants where the replacement has a length of 1. “NN” leads to 2 etc. This may be changed in future versions of the protocol.
The parameters of the allele request are verified & added to the response.
Different types of query are run, if parameters for them exist.
The current concept is:
aggregate on biosamples
The details of the query execution can be found in the documentation for the BeaconPlus::QueryExecution.pm module.