|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CmpSpots.Cmpglb CmpSpots.CmpSpots
public class CmpSpots
Class CmpSpots.java is a 2D PAGE SAMPLE spot pairing program for Open2Dprot
This code was derived and refactored from GELLAB-II cmpgl2 C language files "Version November 9, 1999", and the Open2Dprot CmpSpots program Java files.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Open2Dprot Mozilla and Legal files are available on http://Open2Dprot.sourceforge.net/.
Field Summary |
---|
Constructor Summary | |
---|---|
CmpSpots()
|
Method Summary | |
---|---|
private boolean |
lookupSampleEntryInAccDB(java.lang.String accNameData,
java.lang.String accFieldName,
java.lang.String accFile,
DbSample dbSsf)
lookupSampleEntryInAccDB() - lookup the sample image name in the accession DB. |
static void |
main(java.lang.String[] args)
main() - for CmpSpots 2D spot-pairing program for Open2Dprot. |
private int |
pairSpotsBetweenSamples(java.lang.String[] args)
pairSpotsBetweenSamples() - pair the two samples spot lists. |
void |
popupImageViewer()
popupImageViewer() - popup the image viewer after the images were computed by the spot pairing. |
private char[] |
readSsfImage(java.lang.String imageFile,
DbSample dbSsf)
readSsfImage() - read the SSF image and set image status in the dbSsf instance |
private static void |
resetResources(boolean fullResetFlag)
resetResources() - reset any resources that must be reset for the next run of the spot pairing. |
private java.lang.String[] |
setupDebugSwitches(java.lang.String[] argv)
setupDebugSwitches() - setup the debug switches |
private static java.lang.String[] |
setupDemoSwitches(java.lang.String[] argv)
setupDemoSwitches() - setup the demo switches for the "gel-HM-019" (HUMAN-AML) and "gel-HM-071" (Human-ALL) samples |
private static java.lang.String[] |
setupMinDefaultsSwitches(java.lang.String[] argv)
setupMinDefaultsSwitches() - add the minimum default switches. |
Methods inherited from class CmpSpots.Cmpglb |
---|
get2D, get2D, initGlb, resetGlb, set2D |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmpSpots()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- is the argument list of command lineCmpIni.switchAnalysis(java.lang.String[])
,
CmpReportPopup.setOutFileToCloseOnKill(java.io.FileWriter)
,
CmpReportPopup.setSaveAsFile(java.lang.String)
,
CmpReportPopup.waitForUserClose()
,
CmpShowImage.showImageGUI(java.lang.String)
,
FileIO#makeProjectDirs
,
Switches#cvtSwitchListToStr
,
Switches#getSwitchOptionsTableStr
,
Switches#mergeSwitches
,
Util#appendPRmsg
,
Util#getPrettyPrintCurrentDateStr
,
Util#showReportStatus
,
pairSpotsBetweenSamples(java.lang.String[])
,
resetResources(boolean)
,
setupDebugSwitches(java.lang.String[])
,
setupMinDefaultsSwitches(java.lang.String[])
,
setupDemoSwitches(java.lang.String[])
private int pairSpotsBetweenSamples(java.lang.String[] args)
CmpAssign.assignSSFtoLMS()
,
CmpIni.additionalInit()
,
CmpIni.initSwitchOptionsData()
,
CmpIni.postProcessSwitches()
,
CmpIni.switchAnalysis(java.lang.String[])
,
CmpPair.findLMSinSsfs()
,
CmpPair.initialSpotPairing()
,
CmpPairSecondary.secondarySpotPairing()
,
DbAccession#loadAccessionDatabase
,
DbAccession#lookupSampleInAccDB
,
DbLM#computeLMSradii
,
DbLM#cvLMSIdx2Name
,
DbLM#lookupSamplePairLMS
,
DbLM#readLandmarkDatabase
,
DbPairSamples#setPairSamples
,
DbPairSamples#setPairingThresholds
,
DbPairSamples#writeEntireSPF
,
DbSample#assignRsampleToAllSpotsInSpotList
,
DbSample#readSSFdata
,
DbSample#setSampleNames
,
FileIO#discoverFileExtension
,
FileIO#makeProjectDirs
,
PopupFileDialog#popupFileDialog
,
Util#appendPRmsg
,
Util#calcStatusTimesReport
,
Util#fatalExit
,
Util#showReportStatus
,
lookupSampleEntryInAccDB(java.lang.String, java.lang.String, java.lang.String, DbSample)
private boolean lookupSampleEntryInAccDB(java.lang.String accNameData, java.lang.String accFieldName, java.lang.String accFile, DbSample dbSsf)
accNameData
- is the sample image name to search for. Do not
specify the file extension.accFieldName
- is the accession field nameaccFile
- is the name of the accession filedbSsf
- is the SSF instance to use
private char[] readSsfImage(java.lang.String imageFile, DbSample dbSsf)
imageFile
- to readdbSsf
- to update
PixReader#clearImageReader
,
PixReader#getCharPix
,
PixReader#readImageFile
private static void resetResources(boolean fullResetFlag)
fullResetFlag
- force new resource allocationDbLM#init
,
DbSample#init
,
CmpData.reset()
,
Cmpglb.resetGlb()
private static java.lang.String[] setupMinDefaultsSwitches(java.lang.String[] argv)
argv
- is list of original switches
Switches#mergeSwitches
,
Util#cvs2Array
private static java.lang.String[] setupDemoSwitches(java.lang.String[] argv)
argv
- is list of original switches
Switches#mergeSwitches
,
Util#cvs2Array
private java.lang.String[] setupDebugSwitches(java.lang.String[] argv)
argv
- list of original switches
Switches#mergeSwitches
,
Util#cvs2Array
public void popupImageViewer()
CmpShowImage.setPixDatabase(java.lang.String[], java.lang.String[], java.lang.String[], char[][], int, java.lang.String, int[], int[], boolean)
,
CmpShowImage.showImageGUI(java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |