diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..3ae5bfdb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:latest +MAINTAINER dillonl https://github.com/dillonl + +LABEL vender="dillonl" + +RUN apt-get update && apt-get -y install \ + cmake \ + git \ + gcc \ + build-essential \ + python-dev \ + libpng-dev + +## Pull repo +RUN git clone https://github.com/srynobio/graphite.git +RUN mkdir graphite/bin +RUN cd graphite/bin && cmake ../ +RUN cd graphite/bin && make +RUN cp graphite/bin/graphite /usr/bin/ +RUN graphite -h + diff --git a/core/vcf/VCFReader.h b/core/vcf/VCFReader.h index ab3c60c3..f97e452e 100644 --- a/core/vcf/VCFReader.h +++ b/core/vcf/VCFReader.h @@ -34,7 +34,7 @@ namespace graphite inline bool getNextLine(std::string& line) { - return std::getline(*this->m_file_stream_ptr, line); + return (bool)std::getline(*this->m_file_stream_ptr, line); } Variant::SharedPtr m_preloaded_variant;