diff --git a/Dockerfile b/Dockerfile index 8dc02e8..8b33c06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM continuumio/miniconda3 MAINTAINER Nick Waters -RUN conda install -c bioconda blast +RUN conda install -c BioBuilds blast RUN git clone https://github.com/nickp60/annofilt.git ### +# ADD . annofilt WORKDIR annofilt RUN python setup.py install ENTRYPOINT [ "annofilt" ] -# RUN annofilt -h diff --git a/annofilt/annofilt.py b/annofilt/annofilt.py index 906d992..f999e08 100644 --- a/annofilt/annofilt.py +++ b/annofilt/annofilt.py @@ -434,7 +434,7 @@ def setup_blast_db(input_file, input_type="fasta", dbtype="prot", makeblastdb_exe = shutil.which("makeblastdb") logger.debug("makeblastdb executable: %s", makeblastdb_exe) makedbcmd = str("{0} -in {1} -input_type {2} -dbtype {3} " + - "-out {4}").format(makeblastdb_exe, + "-out {4} 2> {4}.log").format(makeblastdb_exe, input_file, input_type, dbtype,