Skip to content

Commit

Permalink
Merge branch 'install_paftools' into 'dev'
Browse files Browse the repository at this point in the history
install paftools from minimap to bin folder

See merge request research/pomoxis!133
  • Loading branch information
ftostevin-ont committed May 19, 2021
2 parents db8a1c9 + 6fae610 commit 30d8fe7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON ?= python3
CONDA ?= ~/miniconda3/

# Builds a cache of binaries which can just be copied for CI
BINARIES=minimap2 miniasm racon samtools bcftools seqkit bedtools bgzip tabix
BINARIES=minimap2 miniasm racon samtools bcftools k8 paftools.js seqkit bedtools bgzip tabix

BINCACHEDIR=bincache
$(BINCACHEDIR):
Expand Down Expand Up @@ -79,6 +79,20 @@ $(BINCACHEDIR)/tabix: | $(BINCACHEDIR)/samtools
$(BINCACHEDIR)/bgzip: | $(BINCACHEDIR)/samtools
cp ${BINBUILDDIR}/samtools-${SAMVER}/htslib-${SAMVER}/$(@F) $@

K8VER=0.2.5
$(BINCACHEDIR)/k8: | $(BINCACHEDIR) $(BINBUILDDIR)
@echo Making $(@F)
if [ ! -e ${BINBUILDDIR}/k8-${K8VER}.tar.bz2 ]; then \
cd ${BINBUILDDIR}; \
wget https://github.com/attractivechaos/k8/releases/download/${K8VER}/k8-${K8VER}.tar.bz2; \
tar -xjf k8-${K8VER}.tar.bz2; \
fi
cp ${BINBUILDDIR}/k8-${K8VER}/k8-Linux $@


$(BINCACHEDIR)/paftools.js: | $(BINCACHEDIR)/minimap2
cp ${BINBUILDDIR}/minimap2-${MAPVER}/misc/$(@F) $@


BCFVER=1.7
$(BINCACHEDIR)/bcftools: | $(BINCACHEDIR) $(BINBUILDDIR)
Expand Down

0 comments on commit 30d8fe7

Please sign in to comment.