• Welcome
  • Research
  • CV
  • Publications
  • Software
  • Blogs
  • Travel
  • Contact
  • Links

iAmphioxus

~ It's a long way from Amphioxus

iAmphioxus

Monthly Archives: April 2015

Install genewise on the CentOS/RHEL system

26 Sunday Apr 2015

Posted by iAmphioxus in Bioinformatics

≈ Leave a comment

Tags

annotation, genewise, wise2

I am trying to deploy a gene annotation pipeline for eukaryote genomes recently. The genewise (or “Wise2”) package (http://www.ebi.ac.uk/~birney/wise2/) is one of many packages that I need for this purpose. The version that I am trying to install here is the latest one (v2.4.1), which can be obtained following this link: http://www.ebi.ac.uk/~birney/wise2/wise2.4.1.tar.gz . From the installation instruction, it seemed all I need to do is simply typing “make all” in the “./src” directory but in reality there are a few more steps needed before I get it compiled successfully. So I am recording these steps here for my future reference and hope it can help anyone who encountered the same problem.

#!/usr/bin/sh

# install glib2-devel package if it has not been installed on the system
<span class="im">sudo yum install -y glib2-devel</span>

# download and decompress the package
wget <a title="http://www.ebi.ac.uk/~birney/wise2/wise2.4.1.tar.gz" href="http://www.ebi.ac.uk/~birney/wise2/wise2.4.1.tar.gz" target="_blank">http://www.ebi.ac.uk/~birney/wise2/wise2.4.1.tar.gz</a>
tar xvzf wise2.4.1.tar.gz

# make some necessary changes in the makefile and source files.
cd wise2.4.1/src
# Here we need to modify makefile to replace "CC = cc" with "CC = gcc" in Line 25 and save the change
find ./ -name makefile |xargs sed -i 's/glib-config/pkg-config --libs glib-2.0/'
cd ./HMMer2/
sed 's/getline/getline_new/' sqio.c  > a &&  mv a sqio.c
cd ../models/
# Change phasemodel.c to replace "if( !isnumber(line[0]) ) {" with "if( !isdigit(line[0]) ) {" in Line 23
cd ..
make all

Now genewise should be correctly compiled and you can find in the “wise2.4.1/src/bin” directory.

References
https://www.biostars.org/p/87823/

Share this:

  • Email
  • Twitter
  • Facebook

Like this:

Like Loading...

Recent Posts

  • Using anaconda to manage local python environment
  • Local installation of ncbi-blast+ together with the nr and taxonomy database
  • Installing Augustus with manual bamtools installation
  • Custom installation of PacBio’s GenomicConsensus (Quiver)
  • Compiling 64-bit MUMmer

Archives

  • January 2018 (2)
  • May 2017 (2)
  • February 2016 (1)
  • January 2016 (1)
  • August 2015 (1)
  • July 2015 (1)
  • April 2015 (1)
  • June 2013 (1)
  • April 2013 (1)
  • October 2012 (1)
  • May 2012 (1)
  • April 2012 (1)
  • March 2012 (1)
  • February 2012 (2)
  • January 2012 (2)

Categories

  • Blogs (19)
    • Bioinformatics (14)
    • Journal club (3)

2012 annotation arabidopsis Augustus bamtools BioPerl blasr blast C. elegans Centennial CMake conda CPAN developmental biology embryonic genesis Ensembl evolution genewise Genome assembly GenomicConsensus Git GitHub Kent Utilities LiftOver Macports maker maternal effect multicellularity mummer MySQL ncbi new year nr PacBio parallel evolution Perl plant biology Python Quiver resolution Rice rmath SMRTanalysis snoscan Stampy synteny taxonomy tRNAscan-SE UCSC Genome Browser wise2 yeast

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 320 other followers

Blog Stats

  • 39,919 hits
Locations of visitors to this page
Map

Blog at WordPress.com.

  • Follow Following
    • iAmphioxus
    • Join 320 other followers
    • Already have a WordPress.com account? Log in now.
    • iAmphioxus
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: