5.2 Populate the tracking database with the S3 paths for the samples to be processed
function rawurlencode(){echo -n "$1" | perl -pe 's/([^a-zA-Z0-9_.!~*()'\''-])/sprintf("%%%02X", ord($1))/ge' | perl -pe 's/(\W)/sprintf("%%%02X", ord($1))/ge'}$ s3='s3://YOUR/DATA/PATH.bam' ### S3 path for each of the samples to be processed $ seqfile_s3_path=$(rawurlencode $s3)curl -sS "http://IP/v1/sample/set-attr/seqfile_s3_uri/${project_id}/${sample_name}/${seqfile_s3_path}"Path Parameters
Name
Type
Description
{
"status":"success",
"id":"7"
}Previous5.1 Input the sample information to the tracking databaseNext5.3 Populate the tracking database with the designated result folder for each sample to be processed
Last updated