@@ -633,19 +633,50 @@ then
633633 rm -Rf $LKTOOLS_DIR /samtools
634634 rm -Rf $LKTOOLS_DIR /bcftools
635635
636- wget $WGET_OPTS https://github.com/samtools/samtools/releases/download/1.10 /samtools-1.10 .tar.bz2
637- bunzip2 samtools-1.10 .tar.bz2
638- tar -xf samtools-1.10 .tar
636+ wget $WGET_OPTS https://github.com/samtools/samtools/releases/download/1.14 /samtools-1.14 .tar.bz2
637+ bunzip2 samtools-1.14 .tar.bz2
638+ tar -xf samtools-1.14 .tar
639639 echo " Compressing TAR"
640- bzip2 samtools-1.10 .tar
641- cd samtools-1.10
640+ bzip2 samtools-1.14 .tar
641+ cd samtools-1.14
642642 ./configure
643643 make
644644 install ./samtools ${LKTOOLS_DIR} /samtools
645645else
646646 echo " Already installed"
647647fi
648648
649+ #
650+ # bcftools
651+ #
652+ echo " "
653+ echo " "
654+ echo " %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"
655+ echo " Install bcftools"
656+ echo " "
657+ cd $LKSRC_DIR
658+
659+ if [[ ! -e ${LKTOOLS_DIR} /bcftools || ! -z $FORCE_REINSTALL ]];
660+ then
661+ echo " Cleaning up previous installs"
662+ rm -Rf bcftools*
663+ rm -Rf $LKTOOLS_DIR /bcftools
664+
665+ wget $WGET_OPTS https://github.com/samtools/bcftools/releases/download/1.14/bcftools-1.14.tar.bz2
666+ bunzip2 bcftools-1.14.tar.bz2
667+ tar -xf bcftools-1.14.tar
668+ echo " Compressing TAR"
669+ bzip2 bcftools-1.14.tar
670+ chmod 755 bcftools-1.14
671+ cd bcftools-1.14
672+ ./configure
673+ make
674+
675+ install ./bcftools $LKTOOLS_DIR
676+ else
677+ echo " Already installed"
678+ fi
679+
649680#
650681# tabix
651682#
@@ -663,13 +694,13 @@ then
663694 rm -Rf $LKTOOLS_DIR /tabix
664695 rm -Rf $LKTOOLS_DIR /bgzip
665696
666- wget $WGET_OPTS https://github.com/samtools/htslib/releases/download/1.10.2 /htslib-1.10.2 .tar.bz2
667- bunzip2 htslib-1.10.2 .tar.bz2
668- tar -xf htslib-1.10.2 .tar
697+ wget $WGET_OPTS https://github.com/samtools/htslib/releases/download/1.14 /htslib-1.14 .tar.bz2
698+ bunzip2 htslib-1.14 .tar.bz2
699+ tar -xf htslib-1.14 .tar
669700 echo " Compressing TAR"
670- bzip2 htslib-1.10.2 .tar
671- chmod 755 htslib-1.10.2
672- cd htslib-1.10.2
701+ bzip2 htslib-1.14 .tar
702+ chmod 755 htslib-1.14
703+ cd htslib-1.14
673704 ./configure
674705 make
675706
0 commit comments