Tutorial: Getting Cegma/Genewise To Work On Centos, Rhel
# This is based on a Ubuntu guide:
http://korflab.ucdavis.edu/datasets/cegma/ubuntu_instructions_1.txt
# get these
ftp://genome.crg.es/pub/software/geneid/geneid_v1.4.4.Jan_13_2011.tar.gz
ftp://selab.janelia.org/pub/software/hmmer3/3.0/hmmer-3.0.tar.gz
http://korflab.ucdavis.edu/Datasets/cegma/cegma_v2.4.010312.tar.gz
ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.2.25+-x64-linux.tar.gz
http://ftp-stud.hs-esslingen.de/ubuntu/pool/universe/w/wise/wise_2.4.1.orig.tar.gz
# Genewise install
# need this to avoid glib-config error in genewise install
sudo yum install glib
sudo yum install glib-devel
cd wise2.4.1/src
# modify makefile to use "CC = cc" into "CC = gcc"
cd wise2.4.1/src/HMMer2/
sed 's/getline/getline_new/' sqio.c > a && mv a sqio.c
# that takes care of a get line error
cd ../models/
# Change phasemodel.c
From:
if( !isnumber(line[0]) ) {
To:
if( !isdigit(line[0]) ) {
# That takes care of a isnumber error
# Genewise install is the most problematic one, the rest install flawlessly.
# I thought I would start from the Ubuntu guide and change what is needed for CentOS.Turns out the glib part is slightly different, the rest is the same.
• 10,158 views
•
link
1 answer
re getting wise2.4.1:
- it exist as Debian package: https://packages.debian.org/unstable/science/wise
- sudo apt-get install wise
if you are not on Debian/Ubuntu, you will be better of getting wise_2.4.1-17.debian.tar.xz from the above Debian wise package page, unpacking it and applying to wise-2.4.1 from wise_2.4.1.orig.tar.gz by running:
for file in debian/patches/[01]*.patch; do patch -p0 < $file; done
CAVEAT:
No idea why, but 10_fix_path_to_data_files.patch has different directory naming. Quick and dirty way of fixing it is to softlink wise-2.4.1 to b:
ln -s wise-2.4.1 b
Then everything compiled with gcc_4.8.1 without problems.
• 0 views
•
link
Log in to answer this question.
Does anyone know how to install genewise on a redhat OS server?
above you is the exact tutorial on how to do it.
Thanks you very much
But I still need your help
I followed your steps
but get these:
I have done
sudo yum install glibThen I searched “/bin/sh: glib-config: command not found” and followed the seqanswer's tips: http://seqanswers.com/forums/showthread.php?t=24027
to edit the makefile and change
to
But I still get errors like:
It seems the glib-config problem is still there!
Do you have any suggestion for me?And thank you again!
have you also done "sudo yum install glib-devel"?
Yes, I also done
sudo yum install glib-develbut there is no such package;so I did
and it seems work.
Thank you.
Darked89: ake changed to make
This is a god-send :) Thank you!