// Display a reconciled tree form recPhyloXML format use light_phylogeny::{ArenaTree,Options,Config,read_recphyloxml_multi,recphyloxml_processing,phyloxml_processing}; // use std::env; fn main() { // ============================================================================================ // Version portrait let transfers = vec![]; let mut options: Options = Options::new(); //options.species_internal = true ; //options.hybrid.push((6,3)); //options.hybrid.push((7,9)); options.hybrid.push(("RETI TEST".to_string(),"RETI TEST 2".to_string())); let config: Config = Config::new(); let mut sp_tree: ArenaTree = ArenaTree::default(); let mut gene_trees:std::vec::Vec> = Vec::new(); let mut global_roots: std::vec::Vec = Vec::new(); read_recphyloxml_multi("examples/reti2.recphylo".to_string(), &mut sp_tree, &mut gene_trees, &mut global_roots); recphyloxml_processing(&mut sp_tree, &mut gene_trees, &mut options, &config, true, &transfers, "example_reti.svg".to_string()); println!("Please open output file 'example_reti.svg' with your browser"); }