-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.sh
executable file
·65 lines (48 loc) · 2.1 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env bash
export ROOT_DIR=$(pwd)
if [[ $ROOT_DIR != */rAMPage* ]]; then
echo "The script scripts/config.sh must be sourced from the root of the rAMPage repository." 1>&2
exit 1
fi
if [[ -f $ROOT_DIR/CONFIG.DONE ]]; then
rm $ROOT_DIR/CONFIG.DONE
fi
## FOR DOWNLOADING REFERENCE AMP SEQUENCES
# export RUN_ESEARCH=$ROOT_DIR/src/edirect/13.8/bin/esearch
# export RUN_EFETCH=$ROOT_DIR/src/edirect/13.8/bin/efetch
## FOR DOWNLOADING READS
# export FASTERQ_DUMP=$ROOT_DIR/src/sratoolkit.2.10.5-centos_linux64/bin/fasterq-dump
## FOR TRIMMING READS
export RUN_FASTP=$ROOT_DIR/src/fastp/0.20.1/bin/fastp
## FOR ASSEMBLY
export RUN_RNABLOOM=$ROOT_DIR/src/RNA-Bloom_v1.3.1/RNA-Bloom.jar
export NTCARD_DIR=$ROOT_DIR/src/ntCard
export MINIMAP_DIR=$ROOT_DIR/src/minimap2-2.17_x64-linux
export JAVA_EXEC=$ROOT_DIR/src/jdk1.8.0_101/jre/bin/java # needs to be at least 1.8
export RUN_CDHIT=$ROOT_DIR/src/cd-hit/4.8.1_1/bin/cd-hit
export RUN_SEQTK=$ROOT_DIR/src/seqtk/1.1/bin/seqtk
## QUANTIFY
export RUN_SALMON=$ROOT_DIR/src/salmon-latest_linux_x86_64/bin/salmon
## TRANSLATE
export TRANSDECODER_LONGORFS=$ROOT_DIR/src/transdecoder/5.5.0/bin/TransDecoder.LongOrfs
export TRANSDECODER_PREDICT=$ROOT_DIR/src/transdecoder/5.5.0/bin/TransDecoder.Predict
## HOMOLOGY SEARCH
export RUN_JACKHMMER=$ROOT_DIR/src/hmmer/3.3.1/bin/jackhmmer
## CLEAVAGE
export RUN_SIGNALP=$ROOT_DIR/src/signalp-3.0/signalp
export RUN_PROP=$ROOT_DIR/src/prop-1.0c/prop
## AMPLIFY
export RUN_AMPLIFY=$ROOT_DIR/src/AMPlify/bin/AMPlify
## SABLE
export RUN_SABLE=$ROOT_DIR/src/sable_v4_distr/run.sable
export BLAST_DIR=$ROOT_DIR/src/blast/2.10.0/bin
export NR_DIR_FORMATTED=$ROOT_DIR/src/EnTAP-0.10.7-beta/bin/nr
## EXONERATE
export RUN_EXONERATE=$ROOT_DIR/src/exonerate/2.4.0/bin/exonerate
## ENTAP
export RUN_ENTAP=$ROOT_DIR/src/EnTAP-0.10.7-beta/EnTAP
export RUN_DIAMOND=$ROOT_DIR/src/EnTAP-0.10.7-beta/libs/diamond-0.9.9/bin/diamond
export RUN_INTERPROSCAN=$ROOT_DIR/src/interproscan-5.30-69.0/interproscan.sh # required
export CLUSTALO=$ROOT_DIR/src/clustalo-omega/1.2.4/bin/clustalo
export RSCRIPT=$ROOT_DIR/src/r/4.0.2_1/bin/Rscript
touch -a $ROOT_DIR/CONFIG.DONE