Skip to content

Commit

Permalink
Merge pull request #235 from harvardinformatics/script-deps
Browse files Browse the repository at this point in the history
Dockerfile dependency updates for scripts
  • Loading branch information
MarioStanke authored Dec 14, 2020
2 parents 6db98b4 + 14a4694 commit b75e408
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ RUN apt-get install -y samtools libhts-dev
# Install additional dependencies for homGeneMapping and utrrnaseq
RUN apt-get install -y libboost-all-dev

# Install additional dependencies for scripts
RUN apt-get install -y cdbfasta diamond-aligner libfile-which-perl libparallel-forkmanager-perl libyaml-perl libdbd-mysql-perl
RUN apt-get install -y --no-install-recommends python3-biopython

# Install hal - required by homGeneMapping
# execute the commented out code if you want to use this program - see auxprogs/homGeneMapping/Dockerfile
#RUN apt-get install -y libhdf5-dev
Expand All @@ -44,7 +48,7 @@ WORKDIR "/root/augustus"
RUN make clean
RUN make
RUN make install
ENV PATH="/root/augustus/bin:${PATH}"
ENV PATH="/root/augustus/bin:/root/augustus/scripts:${PATH}"

# Test AUGUSTUS
RUN make unit_test
Empty file modified scripts/executeTestCGP.py
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions scripts/extractAnno.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def extractAnno(infile, outfile, mode, left, right, overlap, subset):
if not line:
break
if line.find('#')==-1 and line!='\n':
split = [x for x in line.split("\t") if x is not ""]
split = [x for x in line.split("\t") if x != ""]

if split[0] == '1':
trans_id = extractTransId(split[8], 'transcript_id')
Expand All @@ -58,7 +58,7 @@ def extractAnno(infile, outfile, mode, left, right, overlap, subset):
if not line:
break
if line.find('#')==-1 and line!='\n': # here comments and blank lines are purged, we can change it though
split = [x for x in line.split("\t") if x is not ""]
split = [x for x in line.split("\t") if x != ""]
trans_id = extractTransId(split[8], 'transcript_id')
if trans_id != '':
if trans_id in transcripts:
Expand Down
Empty file modified scripts/merge_masking.pl
100644 → 100755
Empty file.

0 comments on commit b75e408

Please sign in to comment.