Ingest genomic data
It is preferred to use the API to post the genomic JSON as a body to the /ingest/genomic
endpoint.
An example post request would look something like the below which would ingest the pointers to a gzipped VCF file along with its associated tabix index file which are located within s3 storage and link it with the clinical Sample Registration sample_registration_id_1 :
Similar to clinical ingest, you could also specify the path to a file that contains the genomic file information, e.g.
The post request should return with a queue id that can be used to check the status of genomic ingest.
You can check the status of genomic ingest by using the ingest status endpoint:
While ingest is processing, you will see a message "status": "still in queue"
.
If you get a message such as "no such sample": "sample SAMPLE_0600 does not exist in clinical data'
this means the sample the file is linking to cannot be found in the currently ingested clinical data. Please ensure you have ingested all samples being referred to in the genomic json file before attempting genomic ingest.