HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Command line version of HyPhy
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1317319408

Message started by Kurt Wollenberg on Sep 29th, 2011 at 11:03am

Title: Command line version of HyPhy
Post by Kurt Wollenberg on Sep 29th, 2011 at 11:03am
Hello:

I am trying to use the methods of Lemey, et al. to calculate mean synonymous and nonsynonymous substitution rates for time-structured sequence data. It appears that the script Prof. Lemey's script dNdSFixedLength.bf does not work with the gui version of HyPhy. It isn't obvious to me how I can get a command-line version of HyPhy. Do I need to download the source code and recompile? Is there a command-line-only executable for Mac?

Thanks for your help with this.

Kurt Wollenberg

Title: Re: Command line version of HyPhy
Post by Sergei on Sep 30th, 2011 at 11:15am
Hi Kurt,

You can always build a command line version of HyPhy using OS X developer tools and cmake (which is a build system that you may need to install separately -- it's free), using the links and README from the HyPhy development page Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

However, you may find it easier to use the batch file from Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login to repeat the analyses we did for the Lemey et al paper. dNdSFixedLengths.bf was an internal file not meant for public distribution.

Best,
Sergei

Title: Re: Command line version of HyPhy
Post by Kurt Wollenberg on Oct 3rd, 2011 at 8:43am
Hi Sergei:

Thanks for this. It seemed to be running well for me but then threw an error about operation "MAccess". I've attached a screen shot of the error message including the status at the bottom of the HyPhy window in case that helps.
CodonFitterMAccessError.png (184 KB | )

Title: Re: Command line version of HyPhy
Post by Sergei on Oct 3rd, 2011 at 10:51am
Hi Kurt,

Can you look in the about box and see which version of HyPhy you are using? The batch files are quite old, so it is entirely possible that the current version of HyPhy complains about them. I'll see if I can fix them. Did you run the file on the example included in the archive?

Also, when you click on OK in the error box, you should see more messages -- the one about MAccess is a generic error about trying to access an element in something which is not a matrix or dictionary.

Sergei

Title: Re: Command line version of HyPhy
Post by Kurt Wollenberg on Oct 3rd, 2011 at 11:02am
Hi Sergei:

When I first tried to run the batch file it quit because it didn't like the version of HyPhy that was installed. I went to the site and got the latest version and used that. I didn't try the example files, I just jumped right in with my data.

There were more error messages once I clicked through. I've attached screen shots of these (compressed into an archive).

Thanks for the quick response on this.
Cheers,
Kurt
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?action=downloadfile;file=CodonFitterErrors.zip (194 KB | )

Title: Re: Command line version of HyPhy
Post by Kurt Wollenberg on Oct 3rd, 2011 at 11:18am
Hi Sergei:

I also got the same errors with the example data.

Cheers,
Kurt

Title: Re: Command line version of HyPhy
Post by Sergei on Oct 3rd, 2011 at 11:37am
Hi Kurt,

I found the bug -- I think we only used the version of the script for MPI for the paper, and you were trying to run it on a desktop (serially). Should work if you redownload  Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login and run CodonFitter once again.

Sergei

Title: Re: Command line version of HyPhy
Post by Kurt Wollenberg on Oct 3rd, 2011 at 1:20pm
Hi Sergei:

CodonFitter is humming along. Thanks very much for this!

Cheers,
Kurt

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.