Skip to content

Commit 0f2f806

Browse files
committed
Add gt to install script
1 parent becb1f7 commit 0f2f806

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

SequenceAnalysis/pipeline_code/extra_tools_install.sh

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,22 @@ then
228228
python3 -m pip install --user multiqc
229229
else
230230
echo "Already installed"
231-
fi
231+
fi
232+
233+
234+
if [[ ! -e ${LKTOOLS_DIR}/gt || ! -z $FORCE_REINSTALL ]];
235+
then
236+
echo "Cleaning up previous installs"
237+
rm -Rf gt*
238+
rm -Rf $LKTOOLS_DIR/gt*
239+
240+
wget https://github.com/genometools/genometools/releases/download/v1.6.5/gt-1.6.5-Linux_x86_64-64bit-complete.tar.gz
241+
tar -xf gt-1.6.5-Linux_x86_64-64bit-complete.tar.gz
242+
243+
install ./gt-1.6.5-Linux_x86_64-64bit-complete/bin/gt $LKTOOLS_DIR/
244+
mv ./gt-1.6.5-Linux_x86_64-64bit-complete/gtdata $LKTOOLS_DIR/
245+
else
246+
echo "Already installed"
247+
fi
248+
249+

0 commit comments

Comments
 (0)