|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.test.PharmGKBTest1
Tests basic execution functionality of Algernon. Does not test the compiler. Example:
java -classpath ${CLASSES}:${PHARMGEN}/lib/protege.jar:${PHARMGEN}/lib/ojdbc14.jar org.algernon.test.PharmGKBTest1
Algernon
Field Summary | |
protected Algernon |
m_algy
|
protected String |
m_defaultProject
|
protected AlgernonKB |
m_kb
|
Constructor Summary | |
PharmGKBTest1()
|
Method Summary | |
void |
findIllegalSequences()
|
void |
findIllegalSNPPositions()
|
void |
findSubmittedGenesNotOnWatchlist()
|
static long |
getCurrentTime()
Returns the current time in milliseconds. |
static long |
getElapsedTime(long startTime)
Returns the elapsed time since the startTime in milliseconds. |
Boolean |
illegalSequence(LispString s)
|
String |
illegalSequence(String s)
|
void |
init()
Reads in the parameters and tries to open the KB. |
Boolean |
invalidPosition(LispInteger position,
LispInteger start,
LispInteger end)
|
boolean |
invalidPosition(long position,
long start,
long end)
|
static void |
main(String[] args)
|
protected void |
processSNDQuery(String query,
String title)
|
void |
start()
Executes some small code snippets. |
void |
stop()
Halts the program nicely. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AlgernonKB m_kb
protected Algernon m_algy
protected String m_defaultProject
Constructor Detail |
public PharmGKBTest1()
Method Detail |
public static void main(String[] args)
public void init()
public void stop()
public void start()
public void findIllegalSNPPositions()
protected void processSNDQuery(String query, String title)
public Boolean invalidPosition(LispInteger position, LispInteger start, LispInteger end)
public boolean invalidPosition(long position, long start, long end)
public void findIllegalSequences()
public Boolean illegalSequence(LispString s)
public String illegalSequence(String s)
public void findSubmittedGenesNotOnWatchlist()
public static long getCurrentTime()
public static long getElapsedTime(long startTime)
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |