Push zpwxxpnpktps #67

Merged
coissac merged 46 commits from push-zpwxxpnpktps into main 2026-08-17 09:41:42 +00:00
3 changed files with 7 additions and 5 deletions
Showing only changes of commit 6def18fa88 - Show all commits
+1 -1
View File
@@ -1793,7 +1793,7 @@ dependencies = [
[[package]]
name = "obikmer"
version = "1.1.44"
version = "1.2.0"
dependencies = [
"clap",
"csv",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "obikmer"
version = "1.1.44"
version = "1.2.0"
edition = "2024"
[[bin]]
+5 -3
View File
@@ -46,6 +46,10 @@ pub(super) fn write_sankoff_tnt(
let n_sites = alignment.sequences.first().map(|s| s.len()).unwrap_or(0);
writeln!(f, "xread").unwrap();
writeln!(f, "mxram 16000;").unwrap();
writeln!(f, "taxname =;").unwrap();
writeln!(f, "taxname +50;").unwrap();
writeln!(
f,
"'obikmer central-position SNP families, calibrated Sankoff 16-state encoding'"
@@ -166,9 +170,7 @@ pub(super) fn write_sankoff_tnt(
writeln!(f, ";").unwrap();
writeln!(f, "hold 20;").unwrap();
writeln!(f, "mult;").unwrap();
writeln!(f, "taxname =;").unwrap();
writeln!(f, "tsave * {tre_name};").unwrap();
writeln!(f, "tsave /;").unwrap();
writeln!(f, "export - {tre_name};").unwrap();
info!(
"TNT script → {path} (costs scaled x{cost_scale:.0}, runs a default `hold 20; mult;` \