Dear Stu or Ross,
I have a similar problem, in that I cannot seem to load a nexus file
from tnt. I've exported my character matrix and tree using TNT to a
nexus file. If I want to load the matrix and tree for later analysis,
I'm not sure how to do so without converting to a tnt file. I've
tried run test.tre, but I get the following error message:
$tnt*>run test.tree
Reading from test.tre
Running test.tre (with no arguments)
No command!
Error reading line 3 of test.tre
#NEXUS begin data; d
^
I've looked at the wiki, and the wiki mentions that it is possible to
import nexus files, but I cannot find the commands to do so from the
command line. Any help would be much appreciated.
Here's my nexus file:
#NEXUS
begin data;
dimensions ntax=4 nchar=4;
format missing=? symbols="0~1";
matrix
0 1010
1 1010
2 1111
3 0101
;
end;
begin trees ;
tree tnt_1 = [&U]
(0 ,(1 ,(2 ,3 )));
Sincerely,
Nam
On Apr 6, 12:39 pm, "ross.mounce" <
ross.mou...@gmail.com> wrote:
> Dear Stu,
>
> The quick answer is you're probably using the wrong command for what
> you want to do.
>
> I *think* xread is generally used for creating random (simulated)
> matrices:
> e.g. xread /10 10 2;
http://tnt.insectmuseum.org/index.php/Commands/xread
>
> Assuming you already have data files you want to load into TNT
> you probably may want to use 'run' insteadhttp://
tnt.insectmuseum.org/index.php/Commands/run