|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.ThreadResults
public class ThreadResults
Threading results on one protein.
Version 1.11, 11/4/99 - made most probability comparisons >= instead of > Version 1.1, 8/30/99 - added printXXX functions Version 1.0, 7/9/99 - original version
Field Summary | |
---|---|
FoldLibrary |
library
The library the threading was done on. |
DVector |
pMatch
A vector of the probabilities that each protein in the library is a match. |
IVector |
sorted
A sorted vector of the probabilities, from highest to lowest. |
Protein |
target
The protein that was threaded. |
Constructor Summary | |
---|---|
ThreadResults()
|
Method Summary | |
---|---|
void |
clearAlignments()
clear all known alignments. |
ProfilePSI |
foldRank(int n)
Get protein number corresponding to rank N, (starting at 0), or null for 'no match'. |
Alignment |
getAlignment(int i)
get an alignment, or null if it hasn't been done. |
Alignment |
getAlignmentRank(int n)
get an alignment for a given rank, or null if it hasn't been done. |
void |
makeAlignment(Printf outfile,
AlignmentParameters ap,
int i)
make one alignment to a given fold. |
void |
makeAlignments(Printf outfile,
AlignmentParameters ap,
double cutoff)
make alignments for all folds >= a certain pMatch value. |
int |
nAbove(double p)
How many folds are there above or equal to a given probability (including 'no match') |
double |
pNoMatch()
Calculate the probability that no match is in the library. |
double |
pRank(int n)
Get probability for rank N (starting at 0)... this includes 'no match'. |
void |
printAlignment(Printf outfile,
AlignmentParametersEA ap,
int i)
print one alignment in a standard format. |
void |
printAlignments(Printf outfile,
AlignmentParametersEA ap,
double cutoff)
print alignments in a standard format. |
void |
printMatches(Printf outfile,
boolean showAll)
print fold rankings in a standard format. |
int |
rankNoMatch()
Calculate where 'no match' would rank among the folds (starting at 0). |
void |
saveResultAS(Printf outfile,
AlignmentParametersEA ap,
int i)
save one alignment in AS-readable format. |
void |
saveResultModeller(Printf outfile,
AlignmentParametersEA ap,
int i)
save one result in AlignmentSet-readable format to a file. |
void |
saveResultsAS(Printf outfile,
AlignmentParametersEA ap,
double cutoff)
save results in AlignmentSet-readable format to a file. |
void |
saveResultsEnglish(Printf outfile,
AlignmentParametersEA ap,
double cutoff)
save results in english to a file. |
void |
saveResultsModeller(Printf outfile,
AlignmentParametersEA ap,
double cutoff)
save results in AlignmentSet-readable format to a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Protein target
public FoldLibrary library
public DVector pMatch
public IVector sorted
Constructor Detail |
---|
public ThreadResults()
Method Detail |
---|
public double pNoMatch()
public int rankNoMatch()
public void clearAlignments()
public void makeAlignments(Printf outfile, AlignmentParameters ap, double cutoff)
public void makeAlignment(Printf outfile, AlignmentParameters ap, int i)
public void printMatches(Printf outfile, boolean showAll) throws java.io.IOException
java.io.IOException
public void printAlignment(Printf outfile, AlignmentParametersEA ap, int i) throws java.io.IOException
java.io.IOException
public void printAlignments(Printf outfile, AlignmentParametersEA ap, double cutoff) throws java.io.IOException
java.io.IOException
public Alignment getAlignment(int i)
public Alignment getAlignmentRank(int n)
public ProfilePSI foldRank(int n)
public double pRank(int n)
public int nAbove(double p)
public void saveResultsEnglish(Printf outfile, AlignmentParametersEA ap, double cutoff) throws java.io.IOException
java.io.IOException
public void saveResultAS(Printf outfile, AlignmentParametersEA ap, int i) throws java.io.IOException
java.io.IOException
public void saveResultsAS(Printf outfile, AlignmentParametersEA ap, double cutoff) throws java.io.IOException
java.io.IOException
public void saveResultModeller(Printf outfile, AlignmentParametersEA ap, int i) throws java.io.IOException
java.io.IOException
public void saveResultsModeller(Printf outfile, AlignmentParametersEA ap, double cutoff) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |