5.1 Input the sample information to the tracking database

After logging into the tracking database, users can upload the list of samples to be processed into the database using the commandarrow-up-right below:

 curl -sS -d project_id=${project_id} -d sample_name=${sample_name} -d project_desc=${project_desc} -d subject_name=${subject_name} -d LSAC=${LSAC} -d seq_type=${seq_type} "http://IP/v1/projects/sample/add"

POST http://IP/v1/projects/sample/add

Add each sample for projects.

Request Body

Name
Type
Description

project_id

string

This is the project ID outputted by Section 3.2.

sample_name

string

Sample name (note this needs to match the sample name of the input file in the S3 bucket).

project_desc

string

Project description.

subject_name

string

Individual subject's ID.

LSAC

string

Data source (optional, i.e. where the samples are being sequenced) e.g. Large-Scale Genome Sequencing and Analysis Centers.

seq_type

string

Whole genome sequencing / whole exome sequencing.

{
    "status":"success",
    "sample_id":"4"
}

Last updated