> 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-4-upload-sequencing-data-to-your-s3-bucket.md).

# Step 4: Upload sequencing data to your S3 bucket

#### **The AWS command line interface (CLI) installed in step 1.4 facilitate users to copy and upload sequencing data to your S3 bucket in batch mode.**

To copy files to/from the S3 bucket in AWS CLI, users can use the following command:

```
 aws s3 cp <source> <destination>
```

#### **1) copy one sequencing file (sequencing\_data.bam or equencing\_data.cram) to the "data" directory located in my-s3-bucket**

```
aws s3 cp sequencing_data.bam  s3://my-s3-bucket/data/aws s3 cp sequencing_data.cram s3://my-s3-bucket/data/
```

#### 2) copy all files in my-data-dir into the "data" directory located in my-s3-bucket

```
aws s3 cp my-data-dir/ s3://my-s3-bucket/data/ --recursive
```
