Batch case upload via CLI
Prerequisites
Download and install node js platform via https://nodejs.org/en/download Minimum version required: 16 Upgrade existing installation:
nvm install --lts
Batch upload via CLI (Command Line Interface)
Download the batch case create script. Replace
my-domainwith your Emedgene domain. Illumina cloud: my-domain.emg.illumina.com Legacy Emedgene cloud: my-domain.emedgene.com
curl https://my-domain.emg.illumina.com/v2/js/batchCasesCreator.js --output batchCasesCreator.jsDownload the CSV template file.
node batchCasesCreator.js saveTemplateFileEdit the downloaded batchCases.csv file. See CSV format requirements for more details.
Execute the batch cases creator as java script using the command below. Replace
my-domainwith your Emedgene domain andmy-emailwith your user email. A prompt for your Emedgene password will appear, enter the password and press Enter.
node batchCasesCreator.js create -h https://my-domain.emg.illumina.com -c batchCases.csv -u my-email -lIn case of validation errors in the input CSV, an output CSV called batchCases_results.csv will be created in the same location with detailed error results.
-lwill create a log file in the same location.
More information can be found by running
node batchCasesCreator.js --helpnode batchCasesCreator.js create --helpLast updated
Was this helpful?
