|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.curie.BiNoM.pathways.utils.AccessionNumberTable
public class AccessionNumberTable
Class for conversion from some accession numbers and names to the id- and namespace used by a database
Field Summary | |
---|---|
java.util.HashMap |
idname
Map from id used by a database to the Vector of names in the table (id - is database identifier, name - some common name or accession number) |
java.util.HashMap |
nameid
Map from name in the table used to the Vector of database ids/names |
Constructor Summary | |
---|---|
AccessionNumberTable()
|
Method Summary | |
---|---|
void |
addSynonyms(BioPAXGraphQuery query)
To every node of query adds BIOPAX_NODE_SYNONYM attribute accordingly to found ids connected to the Node.Id |
java.util.Vector |
getIDList(java.util.Vector names)
|
void |
loadTable(java.lang.String fn)
Loads tab delimited two-columns table |
void |
print()
Prints the whole table in the form |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.HashMap idname
public java.util.HashMap nameid
Constructor Detail |
---|
public AccessionNumberTable()
Method Detail |
---|
public void loadTable(java.lang.String fn) throws java.lang.Exception
java.lang.Exception
public java.util.Vector getIDList(java.util.Vector names)
names
- list of some names
public void print()
public void addSynonyms(BioPAXGraphQuery query)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |