Wiki » History » Version 1
Ephie Geza, 06/22/2023 05:33 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 | We use *ilifu* cluster therefore we create a local branch for the **ilifu** remote branch |
||
19 | ``` shell |
||
20 | git checkout ilifu |
||
21 | ``` |
||
22 | Verify cloned branch is ilifu |
||
23 | ``` shell |
||
24 | git branch |
||
25 | ``` |
||
26 | |||
27 | ### Issues and how they were resolved |
||
28 | |||
29 | 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. |
||
30 | |||
31 | 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`. Challenge of "no space left on device" 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`* . |
||
32 | 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. |
||
33 | |||
34 | 1. Alignment module of the pipeline |
||
35 | When testing the pipeline with *tutorial* data, had issues when building indexes from the databases: ecoli plasmid and, its best to comment all external resources except the genome pointing to the reference of ecoli in *tutorial* |
||
36 | ``` |
||
37 | genome = "$baseDir/tutorial/reference/EcoliK-12MG1655.fa" |
||
38 | ``` |
||
39 | Also, accessing the *JAVA* from ilifu was an issue, thus, I commented on the line in *conf/ilifu_alignment.config* |
||
40 | ``` |
||
41 | JAVA='/cbio/soft/jdk-11.0.2/bin' |
||
42 | ``` |
||
43 | and removed the variable *${JAVA}/* when running trimmomatic in the *alignment.nf* file. |
||
44 | |||
45 | ## Reference genome of interest (/cbio/projects/025/Tychus_DBs) e.g. |
||
46 | Our reference is the Lactobacillus iners (https://ftp.ncbi.nlm.nih.gov/genomes/genbank/bacteria/Lactobacillus_iners/) |