File: sample.tre

package info (click to toggle)
libncl 2.1.18%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,344 kB
  • ctags: 3,526
  • sloc: xml: 43,716; cpp: 30,400; sh: 10,658; python: 231; makefile: 190
file content (51 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#nexus

[!Output comment before first block]

begin paup; [this is an unknown block]
	lset nst=2 basefreq=empirical tratio=estimate rates=gamma shape=estimate;
end;

[!Let's see if we can deal with [nested] comments]

[!
What happens if we do this!
]

begin [comment at beginning of token]taxa;
	dimensions[comment at end of token] ntax=11;
	taxlabels  [comment between tokens]
		P._fimbriata
		'P. robusta'
		'P. americana'
		'P. myriophylla'
		'P. articulata'
		'P. parksii'
		'P. gracilis'
		'P. macrophylla'
		'P. polygama'
		'P. basiramia'
		'P. ciliata'
		[!output comment in TAXLABELS command]
	;
end;

begin trees;
	translate
		1  P._fimbriata,
		2  P._robusta,
		3  P._americana,
		4  P._myriophylla,
		5  P._articulata,
		6  P._parksii,
		7  P._polygama,
		8  P._macrophylla,
		9  P._gracilis,
		10  P._basiramia,
		11  P._ciliata
	;
	utree unrooted =      (1,2,((4,3,(5,6)),((7,8),(9,(10,11)))));
	tree  rooted   =      ((1,2),((4,3,(5,6)),(7,(8,(9,(10,11))))));
	utree u_to_r   = [&R] ((1,2),((4,3,(5,6)),(7,(8,(9,(10,11))))));
	tree  r_to_u   = [&U] (1,2,((4,3,(5,6)),((7,8),(9,(10,11)))));
end;