C
- Type of compound this set will contain but must extend
NucleotideCompoundpublic abstract class AbstractNucleotideCompoundSet<C extends NucleotideCompound> extends AbstractCompoundSet<C>
Constructor and Description |
---|
AbstractNucleotideCompoundSet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNucleotideCompound(String base,
String complement,
String... equivalents) |
protected void |
calculateIndirectAmbiguities()
Loops through all known nucleotides and attempts to find which are
equivalent to each other.
|
NucleotideCompound |
getAmbiguity(NucleotideCompound... compounds)
Calculates the best symbol for a collection of compounds.
|
boolean |
isComplementable()
NucleotideCompounds can always complement
|
protected abstract C |
newNucleotideCompound(String base,
String complement,
String... equivalents) |
addCompound, addCompound, addCompound, addEquivalent, compoundsEqual, compoundsEquivalent, equals, getAllCompounds, getCompoundForString, getEquivalentCompounds, getMaxSingleCompoundStringLength, getStringForCompound, hasCompound, hashCode, isCompoundStringLengthEqual, isValidSequence
protected void addNucleotideCompound(String base, String complement, String... equivalents)
protected abstract C newNucleotideCompound(String base, String complement, String... equivalents)
protected void calculateIndirectAmbiguities()
public NucleotideCompound getAmbiguity(NucleotideCompound... compounds)
compounds
- Compounds to calculate ambiguity forpublic boolean isComplementable()
isComplementable
in interface CompoundSet<C extends NucleotideCompound>
isComplementable
in class AbstractCompoundSet<C extends NucleotideCompound>
Copyright © 2000–2016 BioJava. All rights reserved.