public void DecomposeStructure() { if (Pairs.Count() <= 0) { return; } //We initialize the interface to the alden parser. ManagedRNA structureparser = new ManagedRNA(Pairs, SequenceLength); XElement extents = structureparser.ComputeTieredAsXML(); //We use LINQ queries to build up the extents. HandleHelices(extents); HandleHairpins(extents); HandleInternals(extents); HandleBulges(extents); HandleMultistems(extents); HandleStrands(extents); HandleTails(extents); }