lphy.base.function.alignment.RemoveTaxa Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lphy-base Show documentation
Show all versions of lphy-base Show documentation
The standard library of LPhy, which contains the required generative distributions and basic functions.
The newest version!
package lphy.base.function.alignment;
import jebl.evolution.sequences.SequenceType;
import lphy.base.evolution.Taxa;
import lphy.base.evolution.Taxon;
import lphy.base.evolution.alignment.Alignment;
import lphy.base.evolution.alignment.AlignmentUtils;
import lphy.base.evolution.alignment.SimpleAlignment;
import lphy.core.model.DeterministicFunction;
import lphy.core.model.Value;
import lphy.core.model.annotation.GeneratorCategory;
import lphy.core.model.annotation.GeneratorInfo;
import lphy.core.model.annotation.ParameterInfo;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static lphy.base.evolution.alignment.AlignmentUtils.ALIGNMENT_PARAM_NAME;
public class RemoveTaxa extends DeterministicFunction {
public static final String taxaParamName = "names";
public RemoveTaxa(@ParameterInfo(name = taxaParamName,
description = "an array of objects representing taxa names") Value