public class WebserviceTask_NCBI
extends org.cytoscape.work.AbstractTask
Modifier and Type | Field and Description |
---|---|
protected String |
count |
protected Document |
document |
protected String |
geneID |
protected String |
geneSYM |
protected CyActivator |
myActivator |
protected Set<org.cytoscape.model.CyNode> |
myNodes |
protected Document |
ncbiDocument |
protected Map<String,String> |
ncbiInfo |
protected NetworkFromSources |
networkFromSources |
Constructor and Description |
---|
WebserviceTask_NCBI(Set<org.cytoscape.model.CyNode> GENE_NODES,
String[] values,
String TYPE,
CyActivator myActivator,
NetworkFromSources networkFromSources) |
Modifier and Type | Method and Description |
---|---|
protected Document |
getRawDocFromUrl(String url) |
protected void |
printDocument(Document doc,
OutputStream out) |
String |
retrieveEutils_GeneID(String geneValue,
String mode) |
Map<String,String> |
retrieveNCBI_GeneticINFOZ(String geneID,
String geneSymbol,
String organism) |
void |
run(org.cytoscape.work.TaskMonitor taskMonitor)
Run the task for the basic gene information (Faster)
|
protected Document document
protected String geneID
protected String geneSYM
protected String count
protected Document ncbiDocument
protected NetworkFromSources networkFromSources
protected CyActivator myActivator
protected Set<org.cytoscape.model.CyNode> myNodes
public WebserviceTask_NCBI(Set<org.cytoscape.model.CyNode> GENE_NODES, String[] values, String TYPE, CyActivator myActivator, NetworkFromSources networkFromSources)
public Map<String,String> retrieveNCBI_GeneticINFOZ(String geneID, String geneSymbol, String organism) throws IOException
IOException
protected void printDocument(Document doc, OutputStream out) throws IOException, TransformerException
IOException
TransformerException
public String retrieveEutils_GeneID(String geneValue, String mode) throws IOException
IOException
protected Document getRawDocFromUrl(String url) throws IOException, SAXException
IOException
SAXException
Copyright © 2017. All rights reserved.