Search in sources :

Example 6 with DnaRegion

use of org.vcell.pathway.DnaRegion in project vcell by virtualcell.

the class PathwayReader method addObjectDnaRegion.

private DnaRegion addObjectDnaRegion(Element element) {
    DnaRegion dnaRegion = new DnaRegion();
    addAttributes(dnaRegion, element);
    for (Object child : element.getChildren()) {
        if (child instanceof Element) {
            Element childElement = (Element) child;
            if (!addContentDnaRegion(dnaRegion, element, childElement)) {
                showUnexpected(childElement, dnaRegion);
            }
        }
    }
    pathwayModel.add(dnaRegion);
    return dnaRegion;
}
Also used : DnaRegion(org.vcell.pathway.DnaRegion) Element(org.jdom.Element) BioPaxObject(org.vcell.pathway.BioPaxObject)

Aggregations

DnaRegion (org.vcell.pathway.DnaRegion)6 Element (org.jdom.Element)5 BioPaxObject (org.vcell.pathway.BioPaxObject)5 GroupObject (org.vcell.pathway.GroupObject)4 Complex (org.vcell.pathway.Complex)3 Dna (org.vcell.pathway.Dna)3 Protein (org.vcell.pathway.Protein)3 Rna (org.vcell.pathway.Rna)3 RnaRegion (org.vcell.pathway.RnaRegion)3 SmallMolecule (org.vcell.pathway.SmallMolecule)3 Interaction (org.vcell.pathway.Interaction)2 PhysicalEntity (org.vcell.pathway.PhysicalEntity)2 PhysicalEntityProxy (org.vcell.pathway.persistence.BiopaxProxy.PhysicalEntityProxy)2 BioModelEntityObject (cbit.vcell.model.BioModelEntityObject)1 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1 Set (java.util.Set)1 TreeSet (java.util.TreeSet)1 CellularLocationVocabulary (org.vcell.pathway.CellularLocationVocabulary)1 Control (org.vcell.pathway.Control)1