- All Implemented Interfaces:
- org.cytoscape.work.swing.RequestsUIHelper, org.cytoscape.work.Task
- Direct Known Subclasses:
- SBMLAnnotatorTaskFBC
public class SBMLAnnotatorTask
extends org.cytoscape.work.AbstractTask
implements org.cytoscape.work.swing.RequestsUIHelper
A Task that annotates an network with data from an SBML file that is gene and protein specific.
There are three expected ways how GPRS can be annotated:
1. By FBC GeneProductAssociations and the respective GeneProduct fields
2. by COBRA notes fields.
3. By ModifierSpecies annotated to reactions.
We expect these methods to be mutually exclusive and not used simultaneously in one SBML!
Furthermore, we expect, that GeneProducts or Species EITHER represent Genes OR Represent Proteins.
Thus the protein/gene annotation will likely fail if a mixed annotation is done.
If annotation is done via FBC, then COBRA Fields Are ignored for any reaction that is annotated by FBC GeneProductAssociations.
Any formerly loaded fbc AND or OR nodes (e.g. by cy3sbml) will eb removed and a new logic will be calculated.
GeneProduct Nodes will be retained but will get their sbml-type adjusted to the type they represent (either Gene or Protein).
The same applies for modifierspecies, which will also be reannotated as gene or protein, if their annotation fields contain the information.
FBC GeneProducts without annotation wil be considered as Genes.
- Author:
- Thomas Pfau