Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion core/vcf/VCFReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down