5.3 Populate the tracking database with the designated result folder for each sample 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/RESULTS/FOLDER'
### S3 path for the results folder for each sample
$ results_s3_path=$(rawurlencode $s3)$ curl -sS "http://IP/v1/sample/set-attr/results_s3_uri/${project_id}/${sample_name}/${results_s3_path}"Path Parameters
Name
Type
Description
{
"status":"success",
"id":"8"
}Previous5.2 Populate the tracking database with the S3 paths for the samples to be processedNext5.4 Input PCR protocol information into the tracking database
Last updated