public class AccessionNumberTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AccessionNumberTable() |
Modifier and Type | Method and Description |
---|---|
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
|
public java.util.HashMap idname
public java.util.HashMap nameid
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 namespublic void print()
public void addSynonyms(BioPAXGraphQuery query)