Giter VIP home page Giter VIP logo

augustus's Introduction

augustus

AUGUSTUS v3.2.1 for installation on Mac OS X

AUGUSTUS v3.2.1 was downloaded from http://bioinf.uni-greifswald.de/augustus/binaries/old/augustus-3.2.1.tar.gz. And the Makefiles were subsequently modifed so that it could compile and be functional on Mac OSX. The problem seems to be something in the ProteinProfile function, where if compiled with Mac clang++ it will throw an error everytime you try to use the proteinprofile method - thus Augustus won't work with BUSCO. The workaround is to use g++ v4.8 or greater, I install gcc using homebrew which will currently get you gcc-7, you can install with brew install gcc.

The other major source of pain in this install is linking Bamtools correctly to the accessory scripts/programs in the auxprogs folder. The important point here seems to be (at least this is the only way I could get it to work) is to make sure that the same compiler that you build Bamtools v2.4.0 with, is also what you use to compile these accessory programs. To make this work, I added two variables to the make command to make sure you are aware of this and are specifiying the correct compiler.

So in order to install from here you should do the following:

#first install Bamtools, compile with native Apple Clang compiler
wget https://github.com/pezmaster31/bamtools/archive/v2.4.0.tar.gz
tar -xzvf v2.4.0.tar.gz
cd bamtools-2.4.0

#now to make Cmake use Apple (in case you have other compilers which you might)
export CC=clang
export CXX=clang++

#now build bamtools
mkdir build
cd build
cmake ..
make

At this point you should have a working version of bamtools v2.4.0, double check that inside the bamtools folder you now see a bin, lib, and include folders. Now clone this repository and build Augustus. Of course you need to specify the location of where you compiled bamtools to the BAMTOOLS variable.

git clone https://github.com/nextgenusfs/augustus.git
cd augustus

#now build with 
make CC=gcc-7 CXX=g++-7 BAMTOOLS_CC=clang BAMTOOLS_CXX=clang++ BAMTOOLS=/path/to/bamtools

#you should get a few warnings, but after it builds you can install
sudo make install

By default Augustus will install to /opt/augustus-3.2.1/, not you can change this during the make install command. You have one last thing to do, make sure Augustus and ENV variables are in path.

export PATH=/opt/augustus-3.2.1/bin:$PATH
export AUGUSTUS_CONFIG_PATH=/opt/augustus-3.2.1/config

augustus's People

Contributors

nextgenusfs avatar jayvolr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.