-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Dave Lawrence edited this page Jul 13, 2026
·
3 revisions
Welcome to the variantgrid_api wiki!
Installing the package (pip install variantgrid_api) gives you a vg_api command. Submit a VCF for
annotation, then run the same command again to download it once it's ready - no state to keep, since uploads
are keyed on the file's SHA-256:
$ export VARIANTGRID_API_TOKEN=YOUR_API_TOKEN
$ vg_api annotate_vcf input.vcf.gz -o results/
Uploaded input.vcf.gz (id=13256).
Annotating input.vcf.gz - run the same command again later to download.
$ vg_api annotate_vcf input.vcf.gz -o results/ # once it's done
Annotated vcf written to results/input.vcf_annotated_v254_GRCh38.vcf.gzSee Annotate a VCF for the full guide - batches, the Python API, and all the options.
- Annotate a VCF - upload a VCF, annotate it, and download the annotated export