|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.biocyc.io.BiocycImporter
public class BiocycImporter
read the Biocyc flat files
| Field Summary | |
|---|---|
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Constructor Summary | |
|---|---|
BiocycImporter()
initialize the class data |
|
| Method Summary | |
|---|---|
edu.uci.ics.jung.graph.DirectedGraph |
convertGraph(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap)
convert to the JUNG graph |
java.util.Map |
createBigMap()
create a big map containing all instances. |
org._3pq.jgrapht.DirectedGraph |
createClassNetwork(java.util.Map bigMap)
create the class network |
org._3pq.jgrapht.DirectedGraph |
createClassPathway(java.util.Map bigMap)
get the pathway and class relation |
org._3pq.jgrapht.DirectedGraph |
createNestedNetwork(java.util.Map bigMap)
create the super pathway network |
java.lang.Object[] |
createReactionNetwork(java.util.Map bigMap)
create a big network of all Biocyc information |
org._3pq.jgrapht.DirectedGraph |
decomposePathway(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
java.util.Collection pbidList)
get the graph model containing specified pathways |
java.lang.String |
getClassFilename()
|
java.lang.String |
getCompoundFilename()
|
java.lang.String |
getDirectory()
|
java.lang.String |
getEnzrxnFilename()
|
java.lang.String |
getGeneFilename()
|
java.lang.String |
getPathwayFilename()
|
java.lang.String |
getProteinFilename()
|
java.lang.String |
getReactionFilename()
|
java.lang.Object[] |
rewriteGraph(java.util.Map bigMap,
org._3pq.jgrapht.DirectedGraph reactionNet,
org.apache.commons.collections.map.MultiKeyMap coeffMap,
org._3pq.jgrapht.DirectedGraph classNet,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
the most important function in this conversion. |
java.util.Map |
rewritePathway(org._3pq.jgrapht.DirectedGraph pathwayNet,
java.util.Map bigMap,
org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
construct pathway blockunit |
void |
setDirectory(java.lang.String directory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public BiocycImporter()
| Method Detail |
|---|
public java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
directory - the directory to setpublic java.lang.String getEnzrxnFilename()
public java.lang.String getGeneFilename()
public java.lang.String getPathwayFilename()
public java.lang.String getProteinFilename()
public java.lang.String getReactionFilename()
public java.lang.String getClassFilename()
public java.lang.String getCompoundFilename()
public java.util.Map createBigMap()
public java.lang.Object[] createReactionNetwork(java.util.Map bigMap)
bigMap - the big map of the instance
public org._3pq.jgrapht.DirectedGraph createClassPathway(java.util.Map bigMap)
bigMap -
public org._3pq.jgrapht.DirectedGraph createClassNetwork(java.util.Map bigMap)
bigMap - the big map of the instance
public org._3pq.jgrapht.DirectedGraph createNestedNetwork(java.util.Map bigMap)
Map - the big map of the instance
public org._3pq.jgrapht.DirectedGraph decomposePathway(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
java.util.Collection pbidList)
network - the network after rewritedataMap - the blockunit mappbidList - the pathway blockid list
public java.util.Map rewritePathway(org._3pq.jgrapht.DirectedGraph pathwayNet,
java.util.Map bigMap,
org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
pathwayNet - the nested netbigMap - the big map of biocycnetwork - the reaction networkdataMap - the datamap
public java.lang.Object[] rewriteGraph(java.util.Map bigMap,
org._3pq.jgrapht.DirectedGraph reactionNet,
org.apache.commons.collections.map.MultiKeyMap coeffMap,
org._3pq.jgrapht.DirectedGraph classNet,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
bigMap - the big map of all information with unique IDreactionNet - the reaction network from BioCycclassNet - the class network from BioCyc
public edu.uci.ics.jung.graph.DirectedGraph convertGraph(org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap)
network - the reaction networkdataMap - the blockid and blockunit map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||