Skip to content

Commit 9297291

Browse files
committed
adjusted directory paths
1 parent 65058f6 commit 9297291

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

posts/IMAM-05-annotation.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ diamond blastx \
2626
- `{db}` is the protein database to be searched against.
2727
- `{output}` is a .tsv file containing the annotation results.
2828

29-
Multiple different databases can be found in: `\\cifs.research.erasmusmc.nl\viro0002\workgroups_projects\Bioinformatics\DB`
29+
Multiple different databases can be found in: `/mnt/viro0002-data/workgroups_projects/Bioinformatics/DB`
3030

3131
## 4.2 Split annotation files {.unnumbered}
3232

@@ -63,12 +63,12 @@ rmdir tmp_split
6363

6464
## 4.3 Parsing diamond output {.unnumbered}
6565

66-
Now we will process the DIAMOND output files with a custom Python script called **post_process_diamond.py**. This script will further enrich taxonomic information for each contig based on the DIAMOND alignment results. If a contig has multiple matches in the database, it will select the best hit based on a combined score of bitscore and length. Lastly, it separates the contigs into two lists: those that were successfully annotated and unannotated.
66+
Now we will process the DIAMOND output files with a custom Python script called **post_process_diamond_v1.0.py**. This script will further enrich taxonomic information for each contig based on the DIAMOND alignment results. If a contig has multiple matches in the database, it will select the best hit based on a combined score of bitscore and length. Lastly, it separates the contigs into two lists: those that were successfully annotated and unannotated.
6767

6868
This python script utilizes the [biopython library](https://biopython.org/){target="_blank"}.
6969

7070
``` bash
71-
python /mnt/viro0002/workgroups_projects/Bioinformatics/scripts/post_process_diamond.py \
71+
python /mnt/viro0002-data/workgroups_projects/Bioinformatics/scripts/post_process_diamond_v1.0.py \
7272
-i {input.annotation} \
7373
-c {input.contigs} \
7474
-o {output.annotated} \

posts/IMAM-07-illumina_hpc.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Now prepare your project directory with prepare_project.py as follows:
4545

4646
``` bash
4747
singularity exec \
48-
--bind /mnt/viro0002:/mnt/viro0002 \
48+
--bind /mnt/viro0002-data:/mnt/viro0002-data \
4949
--bind $HOME:$HOME \
5050
--bind $PWD:$PWD \
5151
imam_workflow.sif \
@@ -62,7 +62,7 @@ singularity exec \
6262

6363
The `--bind` arguments are needed to explicitly tell Singularity to mount the necessary host directories into the container. The part before the colon is the path on the host machine that you want to make available. The path after the colon is the path inside the container where the host directory should be mounted.
6464

65-
As a default, Singularity often automatically binds your home directory (`$HOME`) and the current directory (`$PWD`). We also explicitly bind `/mnt/viro0002` in this example. If your input files (reads, reference, databases) or output project directory reside outside these locations, you MUST add specific `--bind /host/path:/container/path` options for those locations, otherwise the container won't be able to find them.
65+
As a default, Singularity often automatically binds your home directory (`$HOME`) and the current directory (`$PWD`). We also explicitly bind `/mnt/viro0002-data` in this example. If your input files (reads, reference, databases) or output project directory reside outside these locations, you MUST add specific `--bind /host/path:/container/path` options for those locations, otherwise the container won't be able to find them.
6666

6767
::: callout-note
6868
When prepare_project.py prompts for the Reference and DB paths, you must enter the absolute host paths, and these paths must be accessible via one of the bind mounts.
@@ -88,7 +88,7 @@ Run inside of your project directory:
8888

8989
``` bash
9090
singularity exec \
91-
--bind /mnt/viro0002:/mnt/viro0002 \
91+
--bind /mnt/viro0002-data:/mnt/viro0002-data \
9292
--bind $HOME:$HOME \
9393
--bind $PWD:$PWD \
9494
imam_workflow.sif \

0 commit comments

Comments
 (0)