|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.main.WindowBlockMaker
Converts a Window[] into a heat map specific sgr file for import into IGB. Assumes windows are sorted by chromosome and start position Score index is the index to use when fetching a score for a window from it's double[] of scores see ScanChip or ScanChromosomes for current score indexes.
Constructor Summary | |
WindowBlockMaker(int sizeOfOligo)
|
|
WindowBlockMaker(int sizeOfOligo,
java.lang.String genomeVersion)
|
|
WindowBlockMaker(java.lang.String[] args)
|
Method Summary | |
boolean |
baseOverlapsWindow(int bp,
Window win)
Is a given base contained within the window? |
float |
getBaseScore()
|
int |
getScoreIndex()
|
double |
highestScoringWindow(int base,
int currentWindowIndex)
Looks forward at overlapping windows, returns highest score for the given bp position. |
static void |
main(java.lang.String[] args)
|
void |
makeHeatMapBarFiles(Window[] windows,
java.io.File directory)
Be sure to set the scoreIndex, defaults to 0. |
void |
makeHeatMapGrFiles(Window[] windows,
java.io.File directory)
Be sure to set the scoreIndex, defaults to 0. |
void |
makeHeatMapSgrFile(Window[] windows,
java.io.File file,
boolean zipCompressIt)
Be sure to set the scoreIndex, defaults to 0. |
static void |
printDocs()
|
void |
processArgs(java.lang.String[] args)
This method will process each argument and assign new varibles |
void |
setBaseScore(float baseScore)
|
void |
setScoreIndex(int scoreIndex)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WindowBlockMaker(int sizeOfOligo)
public WindowBlockMaker(int sizeOfOligo, java.lang.String genomeVersion)
public WindowBlockMaker(java.lang.String[] args)
Method Detail |
public void makeHeatMapGrFiles(Window[] windows, java.io.File directory)
public void makeHeatMapSgrFile(Window[] windows, java.io.File file, boolean zipCompressIt)
public void makeHeatMapBarFiles(Window[] windows, java.io.File directory)
public double highestScoringWindow(int base, int currentWindowIndex)
public boolean baseOverlapsWindow(int bp, Window win)
public static void main(java.lang.String[] args)
public void processArgs(java.lang.String[] args)
public static void printDocs()
public int getScoreIndex()
public void setScoreIndex(int scoreIndex)
public float getBaseScore()
public void setBaseScore(float baseScore)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |