Beacon variants adapter is an implementation of the Beacon Adapter API. This adapter wraps GA4GH Variants API and allows you to turn the API into a beacon via a compatible Beacon implementation, such as JBDK.
Prerequisites: Java 8, GA4GH schemas.
In order to properly configure the adapter you must call the initAdapter method from the VariantsBeaconAdapter class, supplying it with an AdapterConfig object once a new adapter object has been created. There is one required parameter for the configuration that must be supplied as ConfigValues to the AdapterConfig object:
Name | Value |
---|---|
"beaconJsonFile" | Path to a JSON file that describes this beacon. |
"beaconJson" | JSON string that describes this beacon |