Skip to content

Commit 19cd0eb

Browse files
authored
Merge pull request #38 from TurakhiaLab/updated_lastz_install
Updated LASTZ installation
2 parents 1ea7476 + 676c6c0 commit 19cd0eb

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

roadies_env.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@ if [ ! -d "workflow/scripts/sampling/build" ]; then
6262
cd ../../../..
6363
fi
6464

65+
# Download and setup LASTZ if not already done
66+
if [ ! -d "workflow/scripts/lastz_32" ]; then
67+
cd workflow/scripts
68+
wget https://github.com/lastz/lastz/archive/refs/heads/master.zip
69+
unzip master.zip
70+
cd lastz-master/src/
71+
make lastz_32 flagsFor32="-Dmax_sequence_index=63 -Dmax_malloc_index=40 -Ddiag_hash_size=4194304"
72+
make install_32
73+
cp lastz_32 ../../
74+
cd ../../../../
75+
fi
76+
6577
# Install ete3 for the user, only if it is not already installed
6678
python3 -m pip show ete3 &>/dev/null || python3 -m pip install --user ete3
6779

workflow/rules/mashtree.smk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ rule lastz:
7676
params:
7777
species = "{sample}",
7878
identity = config['IDENTITY'],
79+
identity_deep = config['IDENTITY_DEEP'],
7980
coverage = config['COVERAGE'],
8081
continuity = config['CONTINUITY'],
8182
align_dir = config['OUT_DIR']+ "/alignments",

workflow/scripts/lastz_32

-564 KB
Binary file not shown.

0 commit comments

Comments
 (0)