|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.export.GraphExporterImpl
public class GraphExporterImpl
export the pathway from the database
| Field Summary | |
|---|---|
(package private) java.sql.Connection |
connection
database connection |
(package private) static GraphExporterImpl |
instance
singleton |
(package private) static org.apache.log4j.Logger |
logger
log4j facility |
| Method Summary | |
|---|---|
java.util.HashMap |
bevGetAllLocationInfo()
BirdsEyeView code |
java.util.ArrayList |
bevGetGoBioProcesses(java.lang.Integer goID)
BirdsEyeView code |
java.util.ArrayList |
bevGetGoChildren(java.lang.Integer goNodeID)
BirdsEyeView code |
java.util.ArrayList |
bevGetGoFunctions(java.lang.Integer goID)
BirdsEyeView code |
java.lang.Integer |
bevGetGoGeneProductID(java.lang.String locusID)
BirdsEyeView code |
java.lang.String |
bevGetGoNodeName(java.lang.Integer goNodeID)
BirdsEyeView code |
java.util.ArrayList |
bevGetGoNodesWithinDistance(java.lang.Integer rootNodeID,
int distance)
BirdsEyeView code |
java.util.ArrayList |
bevGetGoTermAncestors(java.lang.Integer goTermID)
BirdsEyeView code |
java.util.ArrayList |
bevGetLocations(java.lang.Integer entityID)
BirdsEyeView code |
java.util.ArrayList |
bevGetLocusIDs(java.lang.String affyID)
BirdsEyeView code |
java.lang.Integer |
bevGetMetnetEntityID(java.lang.String locusID)
BirdsEyeView code |
java.util.ArrayList |
bevGetPathways(java.lang.Integer entityID)
BirdsEyeView code |
java.util.Map |
bevGetPolypeptides(java.lang.Integer entityID)
BirdsEyeView code |
java.util.Map |
bevGetProteinComplexes(java.lang.Integer entityID)
BirdsEyeView code |
edu.uci.ics.jung.graph.DirectedGraph |
eaGraphQuery(java.util.Collection gobiNodeList)
get the graph model from the node list |
java.util.Map |
findBlockunitInstance(java.util.Collection blockIdList)
get the blockunit map |
java.util.Collection |
findLiveEntityList(boolean exactMatch,
java.lang.String name,
java.lang.String location,
java.lang.String entityType)
find the live entities according to the specified query condition |
java.util.Collection |
getAllLocationList()
get all location in the database |
java.util.List |
getAtGeneSearchAttributeList()
get all attributes in the AtGeneSearch application |
java.util.List |
getAtGeneSearchObject(java.lang.String affyId)
get one data object based on the affyId |
java.util.List |
getFullGeneAnnotationAttributeList()
get all attributes in function getFullGeneAnnotationList() |
org.apache.commons.collections.map.MultiKeyMap |
getFullGeneAnnotationList()
return all possible gene annnotation. |
edu.uci.ics.jung.graph.DirectedGraph |
getGraphModelByEntity(GobiNode gobiNode)
get the graph model from the node info. |
edu.uci.ics.jung.graph.DirectedGraph |
getGraphModelByEntityList(java.util.Collection gobiNodeList)
get the graph model from the node list. |
edu.uci.ics.jung.graph.DirectedGraph |
getGraphModelByPathway(java.util.Collection pbidList)
return the graph model based on the pathway id list. |
edu.uci.ics.jung.graph.DirectedGraph |
getGraphModelByStep(java.util.Collection blockIdList,
int step)
get the p-neighborhood graph |
static GraphExporterImpl |
getInstance()
singleton pattern |
org.apache.commons.collections.map.MultiKeyMap |
getMetaboliteMap()
get the map from metabolite blockid to name |
MetaboliteObject |
getMetaboliteObject(java.lang.Integer ebid)
get additional metabolite information. |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayCategoryTree()
get the adjacency list of pathway category tree. |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayElementMap()
get the full mapping between the pathways and their elements |
java.util.Map |
getPathwayInfo(java.util.Collection pbidList)
get the pathway information of |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayLocusMap()
get the full map to pathway, locus and affy probe sets |
java.util.Map |
getPathwayMapByEntityList(java.util.Collection gobiNodeList)
get the pathways that contains the entities. |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayMetaboliteMap()
get the map from pathway blockid to metabolite blockid |
static void |
main(java.lang.String[] args)
global entry |
java.util.Collection |
pubchemCasFilter(java.util.Collection nameList)
obtain CAS from a list of name. |
java.util.Collection |
pubchemCid2Name(java.util.Collection cidList)
obtain pubchem synonym from compound id list |
java.util.Collection |
pubchemName2Cid(java.util.Collection nameList)
obtain pubchem compound id from name. |
| 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
java.sql.Connection connection
static GraphExporterImpl instance
| Method Detail |
|---|
public MetaboliteObject getMetaboliteObject(java.lang.Integer ebid)
GraphExporter
getMetaboliteObject in interface GraphExporterebid - the blockid of the metabolite.
public java.util.Collection pubchemCid2Name(java.util.Collection cidList)
GraphExporter
pubchemCid2Name in interface GraphExportercidList - the pubchem compound id list
public java.util.Collection pubchemName2Cid(java.util.Collection nameList)
GraphExporter
pubchemName2Cid in interface GraphExporternameList - the name list
public java.util.Collection pubchemCasFilter(java.util.Collection nameList)
GraphExporter
pubchemCasFilter in interface GraphExporternameList - the name or synonym list
public static GraphExporterImpl getInstance()
public edu.uci.ics.jung.graph.DirectedGraph getGraphModelByEntity(GobiNode gobiNode)
GraphExporter
getGraphModelByEntity in interface GraphExportergobiNode - the node info from gene gobi
public edu.uci.ics.jung.graph.DirectedGraph getGraphModelByEntityList(java.util.Collection gobiNodeList)
GraphExporter
getGraphModelByEntityList in interface GraphExportergobiNodeList - the node list
public java.util.Map getPathwayMapByEntityList(java.util.Collection gobiNodeList)
GraphExporter
getPathwayMapByEntityList in interface GraphExportergobiNodeList - the entity list.
GraphExporter.getGraphModelByPathway(Collection)public static void main(java.lang.String[] args)
args - nothing to dopublic edu.uci.ics.jung.graph.DirectedGraph getGraphModelByPathway(java.util.Collection pbidList)
GraphExporter
getGraphModelByPathway in interface GraphExporterGraphExporter.getPathwayMapByEntityList(Collection)
public edu.uci.ics.jung.graph.DirectedGraph getGraphModelByStep(java.util.Collection blockIdList,
int step)
GraphExporter
getGraphModelByStep in interface GraphExporterblockIdList - the blockid list, which can be obtained from various waysstep - the neighbor list is in the 1st step, then 2nd, and so on.
public java.util.HashMap bevGetAllLocationInfo()
GraphExporter
bevGetAllLocationInfo in interface GraphExporterpublic java.util.ArrayList bevGetGoBioProcesses(java.lang.Integer goID)
GraphExporter
bevGetGoBioProcesses in interface GraphExportergoID - na
public java.util.ArrayList bevGetGoChildren(java.lang.Integer goNodeID)
GraphExporter
bevGetGoChildren in interface GraphExportergoNodeID - na
public java.util.ArrayList bevGetGoFunctions(java.lang.Integer goID)
GraphExporter
bevGetGoFunctions in interface GraphExportergoID - na
public java.lang.Integer bevGetGoGeneProductID(java.lang.String locusID)
GraphExporter
bevGetGoGeneProductID in interface GraphExporterlocusID - na
public java.lang.String bevGetGoNodeName(java.lang.Integer goNodeID)
GraphExporter
bevGetGoNodeName in interface GraphExportergoNodeID - na
public java.util.ArrayList bevGetGoNodesWithinDistance(java.lang.Integer rootNodeID,
int distance)
GraphExporter
bevGetGoNodesWithinDistance in interface GraphExporterrootNodeID - nadistance - na
public java.util.ArrayList bevGetGoTermAncestors(java.lang.Integer goTermID)
GraphExporter
bevGetGoTermAncestors in interface GraphExportergoTermID - na
public java.util.ArrayList bevGetLocations(java.lang.Integer entityID)
GraphExporter
bevGetLocations in interface GraphExporterentityID - na
public java.util.ArrayList bevGetLocusIDs(java.lang.String affyID)
GraphExporter
bevGetLocusIDs in interface GraphExporteraffyID - na
public java.lang.Integer bevGetMetnetEntityID(java.lang.String locusID)
GraphExporter
bevGetMetnetEntityID in interface GraphExporterlocusID - na
public java.util.ArrayList bevGetPathways(java.lang.Integer entityID)
GraphExporter
bevGetPathways in interface GraphExporterentityID - na
public java.util.Map bevGetPolypeptides(java.lang.Integer entityID)
GraphExporter
bevGetPolypeptides in interface GraphExporterentityID - na
public java.util.Map bevGetProteinComplexes(java.lang.Integer entityID)
GraphExporter
bevGetProteinComplexes in interface GraphExporterentityID - na
public java.util.List getAtGeneSearchAttributeList()
GraphExporter
getAtGeneSearchAttributeList in interface GraphExporterpublic java.util.List getAtGeneSearchObject(java.lang.String affyId)
GraphExporter
getAtGeneSearchObject in interface GraphExporteraffyId - the affyID regardless Affy25K or Affy8K. If there are multiple affyIDs, separate
them by comma or semicolon
public edu.uci.ics.jung.graph.DirectedGraph eaGraphQuery(java.util.Collection gobiNodeList)
gobiNodeList - the node list
public org.apache.commons.collections.map.MultiKeyMap getPathwayCategoryTree()
GraphExporter
getPathwayCategoryTree in interface GraphExporterPathwayCategoryNodepublic java.util.Map getPathwayInfo(java.util.Collection pbidList)
GraphExporter
getPathwayInfo in interface GraphExporterpbidList - the list of pathway blockid
public java.util.Collection findLiveEntityList(boolean exactMatch,
java.lang.String name,
java.lang.String location,
java.lang.String entityType)
GraphExporter
findLiveEntityList in interface GraphExporterexactMatch - true if the name or synonym is exactly matched. false, if the name parameter can
be a substring of the entity name or synonymname - the search string, can be the full name or substring of the name.location - subcellular compartment, can be null if not knownentityType - entity type like gene, metabolite, can be null if not known
public java.util.Collection getAllLocationList()
GraphExporter
getAllLocationList in interface GraphExporterpublic java.util.Map findBlockunitInstance(java.util.Collection blockIdList)
GraphExporter
findBlockunitInstance in interface GraphExporterblockIdList - the id list
public org.apache.commons.collections.map.MultiKeyMap getPathwayElementMap()
GraphExporter
getPathwayElementMap in interface GraphExporterpublic org.apache.commons.collections.map.MultiKeyMap getPathwayLocusMap()
GraphExporter
getPathwayLocusMap in interface GraphExporterpublic org.apache.commons.collections.map.MultiKeyMap getPathwayMetaboliteMap()
GraphExporter
getPathwayMetaboliteMap in interface GraphExporterpublic org.apache.commons.collections.map.MultiKeyMap getMetaboliteMap()
GraphExporter
getMetaboliteMap in interface GraphExporterpublic org.apache.commons.collections.map.MultiKeyMap getFullGeneAnnotationList()
GraphExporter
getFullGeneAnnotationList in interface GraphExporterpublic java.util.List getFullGeneAnnotationAttributeList()
GraphExporter
getFullGeneAnnotationAttributeList in interface GraphExporter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||