Project

General

Profile

Wiki » History » Version 2

Ephie Geza, 06/22/2023 09:16 AM

1 1 Ephie Geza
# Wiki
2
3
## Tychus installation and pipeline testing
4
5
### Installation
6
7
Clone the repository or specific branch by 
8
``` shell
9
git clone https://github.com/egeza/Tychus.git
10
11
git clone -b ilifu https://github.com/egeza/Tychus.git
12
```
13
Inside the Tychus dir fetch all (if you did clone the directory not just a branch) remote branches and check if they are all cloned
14
``` shell
15
git fetch --all
16
git branch -a
17
```
18 2 Ephie Geza
We use *ilifu* cluster therefore we create a local branch for the **ilifu** remote branch  *`git checkout ilifu'*
19 1 Ephie Geza
20 2 Ephie Geza
Verify cloned branch is ilifu *`git branch`*
21 1 Ephie Geza
22 2 Ephie Geza
### Issues and debugging
23
24 1 Ephie Geza
1. kSNP3 - kSNP3 repository doesn't exist anymore as a result, we resorted to getting the singularity images from Katie `/cbio/projects/025/images/` , while debugging the pipeline.
25
26 2 Ephie Geza
1. Prokka image - Struggled with the tbl2asn (now called table2asn), first tried downloading the existing docker image from https://github.com/tseemann/prokka#singularity and https://github.com/tseemann/prokka/issues/453 without success. We then used https://ftp.ncbi.nlm.nih.gov/asn1-converters/by_program/table2asn/ as a referral from https://www.ncbi.nlm.nih.gov/genbank/tbl2asn2/ to build a docker image on BST from a Dockerfile in `/home/ephie/Tychus/dockerfiles/docker_prokka`. 
27
Challenge of "no space left on device" on the **BST machine** was resolved by Gerrit by *`docker rmi docker_id -f`* and *`docker image prune -a -f`*. We then used the *singularityware/docker2singularity* to convert docker image to singularity and transferred it to **ilifu** *`/cbio/projects/025/images/prokka_latest.simg`* .
28
On **ilifu**, edit the *conf/ilifu_assembly.config* file `withName:  AnnotateContigs{   container='/cbio/users/katie/singularity_containers/prokka.simg'` to the correct prokka image. Remember to edit the *CacheDir* and *container* if using the images to run the pipeline in the same config file.
29 1 Ephie Geza
30
1. Alignment module of the pipeline
31 2 Ephie Geza
When testing the pipeline with *tutorial* data, we had issues when building indexes from the databases: ecoli virulence and plasmid, make sure that all lines under PATH TO EXTERNAL RESOURCES are commented out except the genome pointing to the reference of ecoli in *tutorial* 
32 1 Ephie Geza
```
33
genome = "$baseDir/tutorial/reference/EcoliK-12MG1655.fa"
34
```
35 2 Ephie Geza
Also, accessing the *JAVA* from **ilifu** was an issue, thus, so it's best to comment it out in *conf/ilifu_alignment.config* 
36 1 Ephie Geza
```
37
JAVA='/cbio/soft/jdk-11.0.2/bin'
38
```
39 2 Ephie Geza
and also remove the variable *${JAVA}/* when running trimmomatic in the *alignment.nf* file.
40
41
## Analysis of Lactobacillus iners
42 1 Ephie Geza
43
## Reference genome of interest (/cbio/projects/025/Tychus_DBs) e.g.
44
Our reference is the Lactobacillus iners (https://ftp.ncbi.nlm.nih.gov/genomes/genbank/bacteria/Lactobacillus_iners/)