Modifier and Type | Class and Description |
---|---|
static class |
PSSM.Flag |
Constructor and Description |
---|
PSSM(MultipleSequenceAlignment inMSA,
AminoAcidFreqTable inBackgroundAAFreq,
PSSM.Flag... inFlags)
Constructs a PSSM from a multiple sequence alignment.
|
PSSM(MultipleSequenceAlignment inMSA,
PSSM.Flag... inFlags)
Constructs a PSSM from a multiple sequence alignment.
|
PSSM(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
float |
getGapExtScore(int inPosition) |
float |
getGapOpenScore(int inPosition) |
float[] |
getGapOpenScores() |
String |
getName() |
int |
length() |
float |
score(int inPosition,
char inResidue) |
PSSM |
setName(String inValue) |
String |
showScoring(Collection<BioSequence> inSeqs) |
XMLTag |
toXMLTag() |
public PSSM(MultipleSequenceAlignment inMSA, PSSM.Flag... inFlags)
inMSA
- source multiple sequence alignmentinFlags
- flag(s) to apply to the PSSMpublic PSSM(MultipleSequenceAlignment inMSA, AminoAcidFreqTable inBackgroundAAFreq, PSSM.Flag... inFlags)
inMSA
- source multiple sequence alignmentinBackgroundAAFreq
- optional background amino acid frequency table. If null,
an equal residue probability is used.inFlags
- flag(s) to apply to the PSSMpublic float score(int inPosition, char inResidue)
public float getGapOpenScore(int inPosition)
public float[] getGapOpenScores()
public float getGapExtScore(int inPosition)
public String showScoring(Collection<BioSequence> inSeqs)
public int length()
jataylor@hairyfatguy.com