-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall_compressors.sh
79 lines (67 loc) · 2.17 KB
/
install_compressors.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
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/bash
#
compressor_files_path="compressors_files/"
compressor_path="compressors/"
mkdir -p compressors_files
mkdir -p compressors
rm -rf compressors/*
rm -rf compressors_files/*
Cmix_Installation() {
mkdir -p ${compressor_files_path}
wget https://github.com/byronknoll/cmix/archive/refs/tags/v19.1.zip -P ${compressor_files_path}
unzip ${compressor_files_path}/v19.1.zip
cd cmix-19.1/
make
cp cmix "../${compressor_path}"
cd ..
mv cmix-19.1/ ${compressor_files_path}
}
Pufferfish_Installation() {
#./pufferfish -i <input file> -o <output file> [-c] | [-d]
cd $compressor_files_path
git clone https://github.com/alexholehouse/pufferfish.git
cd pufferfish/src
make
mv pufferfish ../../../${compressor_path}
make clean > /dev/null
cd "../../.."
}
MFCompress_Installation() {
# ./compress fastq_file.fastq
cd $compressor_files_path
git clone https://github.uconn.edu/sya12005/LFastqC
cp LFastqC/MFcompress/MFCompressC "../${compressor_path}"
cd ".."
}
UHT_Installation() {
cd $compressor_files_path
git clone https://github.com/aalokaily/Unbalanced-Huffman-Tree
cp Unbalanced-Huffman-Tree/dist/UHT_compress/UHT_compress "../${compressor_path}"
cd ..
}
NAF_Installation() {
# ennaf file.fa -o file.naf
cd $compressor_files_path
git clone --recurse-submodules https://github.com/KirillKryukov/naf.git
cd naf && make && make test && make install
cp ennaf/ennaf "../../${compressor_path}"
cd "../.."
}
NUHT_Installation() {
cd $compressor_files_path
git clone https://github.uconn.edu/sya12005/Non-Greedy-Unbalanced-Huffman-Tree-Compressor-for-single-and-multi-fasta-files.git
cd Non-Greedy-Unbalanced-Huffman-Tree-Compressor-for-single-and-multi-fasta-files
mv Linux/NUHT_Compress "../../${compressor_path}/NUHT_Compress"
cd "../.."
}
conda install -c conda-forge libgcc-ng --yes
conda install -y -c bioconda jarvis --yes
conda install -c bioconda geco3 --yes
# conda install -c bioconda naf --yes
conda install -c cobilab gto --yes
UHT_Installation;
MFCompress_Installation;
UHT_Installation;
NUHT_Installation;
Cmix_Installation;
chmod +x compressors/*