Tests if the two symbols at each according position of the two sequences are exactly equal.
(If ambiguity codes are contained they have to be identical at the according positions.
Example: N == N, but N != B) T and U are not considered
public static <C extends org.biojava3.core.sequence.template.Compound,S extends org.biojava3.core.sequence.template.Sequence<C>> boolean sequencesEquivalent(org.biojava3.core.sequence.template.CompoundSet<? super C> set,
Uses the AbstractCompoundSet.compoundsEquivalent(Compound, Compound) method of the specified compound set
to check if the values at each position of the two sequences are equal.
public static <C extends org.biojava3.core.sequence.compound.NucleotideCompound,S extends org.biojava3.core.sequence.template.Sequence<C>> boolean nucleotideSequencesEquivalent(S sequence1,
The two sequences are considered equivalent of the symbols on each position match. If ambiguity codes are contained
they are considered equal if one set is completely contained in the other. T and U are considered
This method uses AlignmentAmbiguityNucleotideCompoundSet internally.