SeqCombGo/nex.tmpl

15 lines
293 B
Cheetah
Raw Normal View History

2022-01-13 20:12:32 +08:00
#NEXUS
2022-01-03 12:38:07 +08:00
BEGIN DATA;
2022-01-04 13:55:05 +08:00
DIMENSIONS NTAX={{ .Ntax }} NCHAR={{ .Nchar }};
2022-01-04 20:05:27 +08:00
FORMAT DATATYPE=DNA GAP=- MISSING=?;
2022-01-04 16:59:37 +08:00
MATRIX
{{- range $k, $v := .Matrix }}
2022-01-14 17:20:42 +08:00
'{{ $k }}' {{ $v }}
{{- end }}
2022-01-04 13:55:05 +08:00
;
END;
2022-01-04 16:59:37 +08:00
BEGIN SETS;
{{- range $_, $i := .Charset }}
2022-01-05 11:29:59 +08:00
CHARSET {{ $i.Name }} = {{ $i.From }}-{{ $i.To }};
2022-01-04 16:59:37 +08:00
{{- end }}
2022-01-13 20:12:32 +08:00
END;