Search in sources :

Example 6 with RnaRegion

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

the class PathwayReader method addObjectRnaRegion.

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

Aggregations

RnaRegion (org.vcell.pathway.RnaRegion)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 DnaRegion (org.vcell.pathway.DnaRegion)3 Protein (org.vcell.pathway.Protein)3 Rna (org.vcell.pathway.Rna)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