|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.bio.calc.Alignment
Methods associated with alignments, pvalues, blast.
Constructor Summary | |
Alignment()
|
Method Summary | |
static int[] |
calculateEffectiveMandN(double m,
double n,
double K,
double H)
Calculates effective m and n using BLAST parameters, returning int[m', n'] |
static java.lang.String |
calculateEValue(double lambdaNats,
double K,
int rawS,
double effectiveN,
double effectiveM)
Calculates an E value given a variety of alignment parameters |
static double |
convertBitScoreToRaw(double lambdaNats,
double K,
double bitS)
Converts a nat bit score to raw S. |
static double |
convertRawScoreToBit(double lambdaNats,
double K,
double rawS)
Converts a raw S score to a bit score given lambda (in nats) and K |
static double |
estimatePValue(double z)
Calculates the standard normal cumulative distribution given a z-ratio. |
static double[] |
fetchBLASTParams(int match,
int misMatch)
Returns Lambda, K, H or null for a given match and misMatch from BLASTN. |
static int |
ScoreDNAAlignment(java.lang.String seq1,
java.lang.String seq2,
int match,
int misMatch,
int gapCreate,
int gapExtend)
Will score a DNA alignment given the two sequences, and scoring parameters. |
static double |
transform10Log10(double num)
Calculates a -10Log10(number) transformation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Alignment()
Method Detail |
public static double estimatePValue(double z)
public static double transform10Log10(double num)
public static double convertRawScoreToBit(double lambdaNats, double K, double rawS)
public static double convertBitScoreToRaw(double lambdaNats, double K, double bitS)
public static java.lang.String calculateEValue(double lambdaNats, double K, int rawS, double effectiveN, double effectiveM)
public static int[] calculateEffectiveMandN(double m, double n, double K, double H)
public static double[] fetchBLASTParams(int match, int misMatch)
public static int ScoreDNAAlignment(java.lang.String seq1, java.lang.String seq2, int match, int misMatch, int gapCreate, int gapExtend)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |