Skip to content

Commit 75088d9

Browse files
Jon PalmerJon Palmer
Jon Palmer
authored and
Jon Palmer
committed
updates to v0.6.0
1 parent 67be07e commit 75088d9

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ RUN sudo cpan -i Getopt::Long Pod::Usage File::Basename threads threads::shared
2929
Thread::Queue Carp Data::Dumper YAML Hash::Merge Logger::Simple Parallel::ForkManager \
3030
DBI Text::Soundex Scalar::Util::Numeric
3131

32-
RUN brew tap homebrew/science && brew tap nextgenusfs/tap && brew tap homebrew/dupes && brew update
32+
RUN brew tap nextgenusfs/science && brew tap nextgenusfs/tap && brew tap homebrew/dupes && brew update
3333

34-
#install new cmake version for compliation of bamtools
35-
RUN brew install cmake
36-
37-
#gmap-gsnap, bamtools, augustus are failling, try to install it separately
38-
RUN git clone git://github.com/pezmaster31/bamtools.git \
34+
# install bamtools and augustus manually as linuxbrew compliation is failing
35+
RUN brew install cmake && git clone git://github.com/pezmaster31/bamtools.git \
3936
&& cd bamtools && mkdir build && cd build &&\
4037
cmake .. && make && sudo make install && cd /usr/include && sudo ln -f -s ../local/include/bamtools/ &&\
4138
cd /usr/lib/ && sudo ln -f -s /usr/local/lib/bamtools/libbamtools.* .
@@ -55,19 +52,22 @@ RUN conda update -y conda && \
5552
conda install -y numpy pandas scipy seaborn natsort scikit-learn psutil biopython && \
5653
conda install -y -c etetoolkit ete3 ete3_external_apps
5754

58-
RUN pip install --upgrade goatools fisher
55+
RUN pip install --upgrade pip && pip install --upgrade goatools fisher
5956

60-
RUN brew install blat kent-tools mummer hmmer exonerate repeatscout trf rmblast recon trnascan bedtools tbl2asn raxml trimal mafft braker evidencemodeler gag proteinortho diamond
57+
RUN brew install blat kent-tools mummer hmmer exonerate repeatscout trf rmblast recon trnascan bedtools tbl2asn raxml trimal mafft braker evidencemodeler gag proteinortho diamond repeatmasker repeatmodeler
6158

62-
RUN brew untap homebrew/science && brew tap nextgenusfs/science && brew install repeatmasker repeatmodeler gmap-gsnap
59+
#gmap-gsnap is failling, install outside linuxbrew
60+
RUN wget http://research-pub.gene.com/gmap/src/gmap-gsnap-2017-03-17.tar.gz && \
61+
tar -zxvf gmap-gsnap-2017-03-17.tar.gz && rm gmap-gsnap-2017-03-17.tar.gz && \
62+
mv gmap-2017-03-17 gmap && cd gmap && ./configure && make && sudo make install && cd ..
6363

64-
#currently blast v2.6.0 tblastn is giving strange results, default back to v2.2.31 by removing symlink from path
64+
#versions of tblastn > 2.3 seem to be not working, roll back to 2.2.31
6565
RUN rm /home/linuxbrew/.linuxbrew/bin/tblastn
6666

6767
#grab most recent version of funannotate
6868
RUN git clone git://github.com/nextgenusfs/funannotate.git && \
6969
cd funannotate && \
70-
git checkout 95d280ca6c8e6ff2aa452eddd4fc00c083acfa13 && \
70+
git checkout tags/0.6.0 && \
7171
cd ..
7272

7373
ENV AUGUSTUS_CONFIG_PATH=/home/linuxbrew/augustus/config \

bin/funannotate-functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def runIPRpython(Input):
307307
phobiusLog = os.path.join(outputdir, 'logfiles', 'phobius.log')
308308
lib.log.info("Predicting secreted and transmembrane proteins using Phobius")
309309
if not lib.checkannotations(phobius_out):
310-
subprocess.call([os.path.join(parentdir, 'util', 'phobius-multiproc.py'), '-i', Proteins, '-o', phobius_out, '-e', args.email, '-l', phobiusLog])
310+
subprocess.call([os.path.join(parentdir, 'util', 'phobius-multiproc.py'), '-i', Proteins, '-o', phobius_out, '-e', str(args.email), '-l', phobiusLog])
311311
#run signalP if installed, have to manually install, so test if exists first, then run it if it does, parse results
312312
signalp_out = os.path.join(outputdir, 'annotate_misc', 'signalp.results.txt')
313313
secreted_out = os.path.join(outputdir, 'annotate_misc', 'annotations.secretome.txt')

lib/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ def parseBUSCO2genome(input, ploidy, ContigSizes, output):
748748
def SwissProtBlast(input, cpus, evalue, tmpdir, output):
749749
#run blastp against uniprot
750750
blast_tmp = os.path.join(tmpdir, 'uniprot.xml')
751-
blastdb = os.path.join(DB,'uniprot')
751+
blastdb = os.path.join(DB, 'uniprot')
752752
cmd = ['blastp', '-db', blastdb, '-outfmt', '5', '-out', blast_tmp, '-num_threads', str(cpus), '-max_target_seqs', '1', '-evalue', str(evalue), '-query', input]
753753
runSubprocess(cmd, '.', log)
754754
#parse results

0 commit comments

Comments
 (0)