Newer
Older
## **IMPORTANT** If you have not done so before, please run the following command:
```bash
echo "export SINGULARITY_BINDPATH=/scratch,/data,/home/$USER,/shares/amr.imm.uzh" >> $HOME/.bashrc
source $HOME/.bashrc
```
We will first do the assembly of a small test dataset together. Later, you will run the same analysis on all samples of the two projects (MRSA and UPEC).
### Preparation
* In your `data` space (that is `/data/$USER`), please create a directory called `testdata` Inside `testdata`, make a directory for each assembly approach, i.e. `nanopore`, `illumina`, `hybrid`.
* Copy the following datasets
**Illumina**
```bash
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/testdata/illumina/01_data /data/$USER/testdata/illumina/
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data//testdata/illumina/02_scripts/ /data/$USER/testdata/illumina/
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/testdata/nanopore/rawdata /data/$USER/testdata/nanopore/
cp /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/testdata/nanopore/*.sh /data/$USER/testdata/nanopore/
cp /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/testdata/hybrid/*.sh /data/$USER/testdata/hybrid/
In the assembly scripts you need to specify the variables for the input and output data.
Submit for each platform the respective assembly script.
<br><br><br>
## Assembly of project dataset
* In your `data` space, please create a directory called `ngs`. Inside `ngs`, make a directory for each assembly approach, i.e. `nanopore`, `illumina`, `hybrid`.
* Copy the following datasets
**Illumina**
```bash
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/illumina/01_data_* /data/$USER/ngs/illumina/
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/illumina/02_scripts /data/$USER/ngs/illumina/
```
**Nanopore**
```bash
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/nanopore/Group1_mrsa/rawdata_mrsa /data/$USER/ngs/nanopore/
cp -r /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/nanopore/Group2_upec/rawdata_upec /data/$USER/ngs/nanopore/
# copy all scripts
cp /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023/Participants_data/nanopore_scripts/*.sh /data/$USER/ngs/nanopore/
# copy scripts
cp /shares/amr.imm.uzh/data/projects/Blockcourse_BIO296/FS2023//hybrid_assembly_scripts/*.sh /data/$USER/ngs/hybrid/
* In the assembly scripts you need to specify the variables for the input and output data.
Submit for each platform the respective assembly script.