> For the complete documentation index, see [llms.txt](https://niagads.gitbook.io/vcpa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://niagads.gitbook.io/vcpa/step-5-configure-your-samples-information-in-the-tracking-database/5.2-populate-the-tracking-database-with-the-s3-paths-for-the-samples-to-be-processed.md).

# 5.2 Populate the tracking database with the S3 paths for the samples to be processed

**After inputting the sample information, users need to input the location of the sequencing file to process into the tracking database. This can be done using the following command:**

```
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}"
```

<mark style="color:blue;">`GET`</mark> `http://IP/v1/sample/set-attr/seqfile_s3_uri/${project_id}/${sample_name}/${seqfile_s3_path}`

Add the path of original sequence file from S3.

#### Path Parameters

| 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). |
| s3\_path     | string | S3 path of the input sequencing file.                                                      |

{% tabs %}
{% tab title="200 " %}

```javascript
{
    "status":"success",
    "id":"7"
}
```

{% endtab %}
{% endtabs %}
