|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ooc.LinkedTagInstance softparsmap.AbstractDataSource softparsmap.DataSourceXmlNcbiTaxonomy
This data source can be used when the sequence database is an XML document. NCBI Taxonomy is used to extract species tree information. It is necessary to construct an index file before using it in different tasks. Run it without arguments to see usage. See the def.xml file for more information.
Constructor Summary | |
DataSourceXmlNcbiTaxonomy()
|
Method Summary | |
java.lang.String |
getNcbiNamesColumn(SpeciesNode n,
int column)
|
java.lang.Integer |
getNcbiTagId(SpeciesNode n)
|
SequenceData |
getSequenceData(GeneLeaf leaf)
Returns an instance that implements the interface SequenceData for a given gene leaf. |
java.lang.String |
getSpeciesName(SpeciesNode species)
Returns the name of the species for a given species node. |
SpeciesNode |
getSpeciesTree(GeneNode geneTree)
Returns the root to a species tree such that all genes found in the gene tree exist in this species tree. |
void |
initiate()
Called by the program ComputeFamilyGroup or
ComputeFamilyGroupPair once if the method
Compute.initiateDataSource() returns true, else it is
not called at all. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class softparsmap.AbstractDataSource |
getPropertyFile |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceXmlNcbiTaxonomy()
Method Detail |
public void initiate()
DataSource
ComputeFamilyGroup
or
ComputeFamilyGroupPair
once if the method
Compute.initiateDataSource()
returns true, else it is
not called at all.
public java.lang.String getSpeciesName(SpeciesNode species)
DataSource
species
- is the species node.
SpeciesNode
public SpeciesNode getSpeciesTree(GeneNode geneTree)
DataSource
geneTree
- the root of the gene tree
SpeciesNode
,
GeneNode
public SequenceData getSequenceData(GeneLeaf leaf)
DataSource
SequenceData
for a given gene leaf.
leaf
- the gene leaf.
SequenceData
SequenceData
public java.lang.Integer getNcbiTagId(SpeciesNode n)
public java.lang.String getNcbiNamesColumn(SpeciesNode n, int column)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |