segul 0.23.2

An ultrafast and memory-efficient tool for phylogenomics
Documentation
mod utils;

use std::env;

use predicates::Predicate;

use segul::helper::finder::SeqFileFinder;
use segul::helper::types::InputFmt;

#[test]
fn test_concat() {
    initiate_cmd!(cmd, "align", "concat", "tests/files/alignments/", tmp_dir);
    cmd.arg("--partition-format")
        .arg("raxml")
        .assert()
        .success();
    test_results!(1, tmp_dir, "Align-Concat", Nexus);
}

#[test]
fn test_concat_nexus_part() {
    initiate_cmd!(cmd, "align", "concat", "tests/files/alignments/", tmp_dir);
    cmd.arg("--partition-format")
        .arg("nexus")
        .assert()
        .success();

    tmp_dir.close().unwrap();
}