Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
GA branch analysis with hyphy batch files (Read 4854 times)
line
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
GA branch analysis with hyphy batch files
Apr 8th, 2008 at 12:45am
 
Dear all,
I am trying to do a Gabranch analysis with about 80 sequences. Therefore I tryed to analyse my samples downloading the Ga branch batch file using a computer with 4 hard discs and Hyphy gave me this message: Invalid Matrix (O) (0) in a -2 by 2matrix current BL command: sorted scores (0) (0)=-crapAIC.
I tryed also to make the analysis with example provided with Hyphy and the message was the same. I suppose that comes from a problem of computers and I would like to know how many processirs ae necessary to make this kind of analysis.
Thank tou in advance for your reply,
Best regards
Céline
Back to top
 
 
IP Logged
 
Art Poon
Global Moderator
*****
Offline


Feed your monkey!

Posts: 0
Re: GA branch analysis with hyphy batch files
Reply #1 - Apr 8th, 2008 at 11:12am
 
Hi Céline,

You need to have multiple processors in your machine in order to carry out an MPI analysis --- I'm not sure whether that's what you meant to say when you said that your computer had 4 hard discs (?).  As specified on the website, you'll also need an MPI-enabled build of HyPhy.  The error message that you note in your post implies that the populationSize variable is set to -2 in the batch file ModelSelectorBranchLocal.bf, which in turn implies that MPI_NODE_COUNT = 0, i.e., you're not running an MPI-enabled build.

Cheers,
- Art.
Back to top
 
 
IP Logged
 
line
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Re: GA branch analysis with hyphy batch files
Reply #2 - Apr 9th, 2008 at 10:29am
 
Hi Art,
Thank you for your reply. I have 4 processors on my computer...is it enough?
And about the "MPI enabled build of hyphy" how can I get it?  excuse me for my ignorance... and thank you for trying to understand me for that!!!
Cheers,
Céline
Back to top
 
 
IP Logged
 
Art Poon
Global Moderator
*****
Offline


Feed your monkey!

Posts: 0
Re: GA branch analysis with hyphy batch files
Reply #3 - Apr 9th, 2008 at 10:39am
 
Hi Céline,

You'll need to download the HyPhy source code from here:
Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

and compile an MPI-enabled build using the command:
bash build.sh MPI

What sort of machine are you using, PC, Mac, *nix?  It would be easier if you were using one of the last two.

Cheers,
- Art.
Back to top
 
 
IP Logged
 
Art Poon
Global Moderator
*****
Offline


Feed your monkey!

Posts: 0
Re: GA branch analysis with hyphy batch files
Reply #4 - Apr 9th, 2008 at 10:40am
 
By the way, I posted a direct link for your convenience, but please fill out our user questionnaire on the way to the downloads page if you haven't already  Grin
Back to top
 
 
IP Logged
 
prm42
YaBB Newbies
*
Offline


Feed your monkey!

Posts: 3
Re: GA branch analysis with hyphy batch files
Reply #5 - Jul 29th, 2010 at 10:34am
 
Hi, I have the same problem. I downloaded the source you posted. I have a Mac OSX but do not know how to compile an MPI-enable build...any help?
Thanks,
prm42
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: GA branch analysis with hyphy batch files
Reply #6 - Jul 29th, 2010 at 10:52am
 
Hi prm42,

If you edit the build.sh script to replace

Code:
COMPILER="g++";
COMPILERC="gcc";
 



with

Code:
COMPILER="mpicc++";
COMPILERC="mpicc";
 



this should compile on OS X (10.5 or 10.6) with Developer Tools installed.

Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged