public class ConsensusSequenceCreator extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ConsensusSequenceCreator |
getInstance() |
org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound> |
majorityRuleConsensus(java.util.List<? extends org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>> sequences) |
org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound> |
majorityRuleConsensus(org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>[] sequences)
Constructs a majority rule consensus sequence.
|
java.lang.String |
majorityRuleConsensusAsString(java.util.List<? extends org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>> sequences) |
java.lang.String |
majorityRuleConsensusAsString(org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>[] sequences)
Constructs a majority rule consensus sequence.
|
public static ConsensusSequenceCreator getInstance()
public java.lang.String majorityRuleConsensusAsString(java.util.List<? extends org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>> sequences)
public java.lang.String majorityRuleConsensusAsString(org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>[] sequences)
sequences
- a set of sequences with equal lengthpublic org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound> majorityRuleConsensus(org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>[] sequences)
sequences
- a set of sequences with equal lengthpublic org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound> majorityRuleConsensus(java.util.List<? extends org.biojava3.core.sequence.template.Sequence<org.biojava3.core.sequence.compound.NucleotideCompound>> sequences)