arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Batch case upload via CLI

hashtag
Prerequisites

  • Download and install node js platform via https://nodejs.org/en/downloadarrow-up-right Minimum version required: 16 Upgrade existing installation: nvm install --lts

hashtag
Batch upload via CLI (Command Line Interface)

  1. Download the batch case create script. Replace my-domain with your Emedgene domain. Illumina cloud: my-domain.emg.illumina.com Legacy Emedgene cloud: my-domain.emedgene.com

  1. Download the CSV template file.

  1. Edit the downloaded batchCases.csv file. See for more details.

  2. Execute the batch cases creator as java script using the command below. Replace my-domain with your Emedgene domain and my-email with your user email. A prompt for your Emedgene password will appear, enter the password and press Enter.

  1. In 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.

  2. -l will create a log file in the same location.

More information can be found by running

CSV format requirements
curl https://my-domain.emg.illumina.com/v2/js/batchCasesCreator.js --output batchCasesCreator.js
node batchCasesCreator.js saveTemplateFile
node batchCasesCreator.js create -h https://my-domain.emg.illumina.com -c batchCases.csv -u my-email -l
node batchCasesCreator.js --help
node batchCasesCreator.js create --help