Skip to content

Commit

Permalink
update htslib. tag fix for #134
Browse files Browse the repository at this point in the history
  • Loading branch information
brentp committed Oct 20, 2020
1 parent cbef360 commit eadd4ac
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 361 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v0.2.6
======
+ fix name collisions with cram (#134)

v0.2.5
======
+ slight sensitivity increase
Expand Down
3 changes: 0 additions & 3 deletions cmd/smoove/smoove.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (

"github.com/brentp/smoove"
"github.com/brentp/smoove/annotate"
"github.com/brentp/smoove/cnvnator"
"github.com/brentp/smoove/duphold"
"github.com/brentp/smoove/hipstr"
"github.com/brentp/smoove/lumpy"
Expand All @@ -26,15 +25,13 @@ type progPair struct {
}

var progs = []progPair{
//"cnvnator": progPair{"call cnvnator and make bedpe files needed by lumpy", cnvnator.Main},
progPair{"call", "call lumpy (and optionally svtyper)", lumpy.Main},
progPair{"merge", "merge and sort (using svtools) calls from multiple samples", merge.Main},
progPair{"genotype", "parallelize svtyper on an input VCF", svtyper.Main},
progPair{"paste", "square final calls from multiple samples (each with same number of variants)", paste.Main},
progPair{"plot-counts", "plot counts of split, discordant reads before, after smoove filtering", merge.PlotCountsMain},
progPair{"annotate", "annotate a VCF with gene and quality of SV call", annotate.Main},
progPair{"hipstr", "run hipSTR in parallel", hipstr.Main},
progPair{"cnvnator", "run cnvnator in parallel", cnvnator.Main},
progPair{"duphold", "run duphold in parallel (this can be done by adding a flag to call or genotype)", duphold.Main},
}

Expand Down
326 changes: 0 additions & 326 deletions cnvnator/cnvnator.go

This file was deleted.

15 changes: 10 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:16.04

ENV PATH /opt/conda/bin:$PATH

RUN apt-get update --fix-missing && \
RUN apt-get update --fix-missing && \
apt-get install -qy wget curl git bzip2 ca-certificates procps zlib1g-dev \
make build-essential cmake libncurses-dev ncurses-dev g++ gcc \
nfs-common pigz bedtools gawk fuse mdadm time \
Expand All @@ -18,14 +18,19 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda2-4.5.11-Linux-x86
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate base" >> ~/.bashrc

RUN conda create -n smoove-env -c conda-forge -c bioconda python=2.7 awscli numpy scipy cython pysam toolshed pyvcf pyfaidx cyvcf2 svtyper svtools
RUN echo "source activate smoove-env" > ~/.bashrc
ENV PATH /opt/conda/envs/smoove-env/bin:$PATH
ENV HTSLIB_LIBRARY_DIR /usr/local/lib
ENV HTSLIB_INCLUDE_DIR /usr/local/include
ENV LD_LIBRARY_PATH /usr/local/lib

RUN conda update conda
RUN conda create -n smoove-env -c conda-forge -c bioconda python=2.7 click awscli numpy scipy cython pysam toolshed pyvcf pyfaidx cyvcf2 svtyper svtools
RUN echo "source activate smoove-env" > ~/.bashrc
ENV PATH /opt/conda/envs/smoove-env/bin:$PATH

#ENV PATH $PATH
#:/opt/conda/envs/smoove-env/bin
#RUN bash -c "conda install click && conda install awscli numpy scipy cython pysam toolshed pyvcf pyfaidx cyvcf2 svtyper svtools"
COPY ./docker-build.sh .
RUN bash docker-build.sh
COPY ./smoove /usr/bin/
#COPY ./smoove /usr/bin/
WORKDIR /work/
Loading

0 comments on commit eadd4ac

Please sign in to comment.