HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> How do I run the Slatkin Maddison test with a .nwk from MEGA
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1401393138

Message started by Rahsberry on May 29th, 2014 at 12:52pm

Title: How do I run the Slatkin Maddison test with a .nwk from MEGA
Post by Rahsberry on May 29th, 2014 at 12:52pm
Hi

Apologies for the dumb question, this is my first day using HyPhy.

I am trying to perform the Slatkin Maddison test using .nwk files that I exported from MEGA. However HyPhy keeps rejecting them due to how they are named.

>>>>>>>

Error: Node names should begin with a letter, a number, or an underscore. Had:((((((((((((((('REG.?MID2_Run7_CAACCAAGTC_75':0.000000

Function call stack
1:Read the following data from PROMPT_FOR_FILE:Tree into givenTree;

>>>>>>>>

Should I make the .nwk files using a different program? I have fallen at the first hurdle!

Thanks!!!


Title: Re: How do I run the Slatkin Maddison test with a .nwk from MEGA
Post by Steven on Jun 3rd, 2014 at 1:43pm
Hello Rahsberry,

It looks like the node id begins with a single quote.

We are checking for a letter, a number, or an underscore by using the C++ ctype standard library function "isalnum(x)" on the beginning of the node string.

Thanks,
Steven

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