|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.curie.BiNoM.pathways.BioPAXToSBMLConverter
public class BioPAXToSBMLConverter
Converts BioPAX (represented by BioPAX object) to SBML (represented by org.sbml.x2001.ns.celldesigner.SbmlDocument object)
Nested Class Summary | |
---|---|
class |
BioPAXToSBMLConverter.BioPAXSpecies
Represents BioPAX physicalEntityParticipants grouped into distinctive chemical species (entity, characterized by a definite location and a definite modification). |
Field Summary | |
---|---|
static boolean |
alwaysMentionCompartment
Check to show compartment information in species names |
BioPAX |
biopax
Input for conversion |
java.util.HashMap |
bioPAXreactions
Map from cutted uris (after # separator) to BioPAX 'conversion' objects |
BioPAXNamingService |
bpnm
BioPAX Naming service used for conversion |
java.util.Vector |
compartments
List of compartments (represented as openControlledVocabulary objects) |
java.util.HashMap |
complexList
Map from cutted uris (after # separator) to 'complex' entities |
static boolean |
considerCompartmentNameRatherThanId
Check off if you want to use compartment id and not name |
java.util.HashMap |
controls
Map from cutted uris (after # separator) to BioPAX 'control' objects |
java.util.HashMap |
dnaList
Map from cutted uris (after # separator) to 'dna' entities |
java.util.HashMap |
includedSpecies
Map from cutted uris (after # separator) to BioPAXSpecies included into entities (these species group complex components, for example) |
java.util.HashMap |
independentSpecies
Auxilary map |
java.util.HashMap |
independentSpeciesIds
Map from cutted uris (after # separator) to BioPAXSpecies |
java.util.HashMap |
proteinList
Map from cutted uris (after # separator) to 'protein' entities |
java.util.HashMap |
reactions
Map from BioPAX conversion (cutted) uris to SBML reactions (represented by ReactionDocument.Reaction objects) |
java.util.HashMap |
rnaList
Map from cutted uris (after # separator) to 'rna' entities |
org.sbml.x2001.ns.celldesigner.SbmlDocument |
sbmlDoc
Result of conversion |
java.util.HashMap |
smallMoleculeList
Map from cutted uris (after # separator) to 'smallMolecule' entities |
java.util.HashMap |
species
Map from SBML species ids to SpeciesDocument.Species objects |
static boolean |
useBiopaxModelOntology
not used |
Constructor Summary | |
---|---|
BioPAXToSBMLConverter()
|
Method Summary | |
---|---|
void |
addControl(control cntrl)
|
void |
addConversionReaction(conversion conv,
org.sbml.x2001.ns.celldesigner.ListOfReactionsDocument.ListOfReactions lr)
|
void |
addIncludedParticipant(physicalEntityParticipant part)
Adds included physicalEntityParticipant (such as complex components) |
void |
findIndependentSpecies()
Procedure of groupping physicalEntityParticipants into BioPAXSpecies (chemical species) |
java.util.Vector |
getAllCompartments()
|
java.lang.String |
getTypeForParticipant(physicalEntityParticipant part)
|
java.lang.String |
makeComment(java.util.Iterator comments)
|
void |
makeLists()
Fills all maps for needed conversion |
void |
populateSbml()
Performs actual BioPAX->SBML conversion Requires this.biopax object to be specified |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public org.sbml.x2001.ns.celldesigner.SbmlDocument sbmlDoc
public BioPAX biopax
public BioPAXNamingService bpnm
public static boolean alwaysMentionCompartment
public static boolean useBiopaxModelOntology
public static boolean considerCompartmentNameRatherThanId
public java.util.HashMap independentSpeciesIds
public java.util.HashMap independentSpecies
public java.util.HashMap includedSpecies
public java.util.HashMap complexList
public java.util.HashMap proteinList
public java.util.HashMap dnaList
public java.util.HashMap rnaList
public java.util.HashMap smallMoleculeList
public java.util.Vector compartments
public java.util.HashMap reactions
public java.util.HashMap bioPAXreactions
public java.util.HashMap controls
public java.util.HashMap species
Constructor Detail |
---|
public BioPAXToSBMLConverter()
Method Detail |
---|
public void populateSbml() throws java.lang.Exception
java.lang.Exception
public void findIndependentSpecies() throws java.lang.Exception
java.lang.Exception
public void addIncludedParticipant(physicalEntityParticipant part) throws java.lang.Exception
java.lang.Exception
public java.util.Vector getAllCompartments() throws java.lang.Exception
java.lang.Exception
public void addConversionReaction(conversion conv, org.sbml.x2001.ns.celldesigner.ListOfReactionsDocument.ListOfReactions lr) throws java.lang.Exception
java.lang.Exception
public void addControl(control cntrl) throws java.lang.Exception
java.lang.Exception
public java.lang.String makeComment(java.util.Iterator comments)
public java.lang.String getTypeForParticipant(physicalEntityParticipant part) throws java.lang.Exception
java.lang.Exception
public void makeLists() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |