Class StrandView

java.lang.Object
pl.poznan.put.structure.formats.StrandView
All Implemented Interfaces:
DotBracket, Strand
Direct Known Subclasses:
ImmutableStrandView

@Immutable public abstract class StrandView extends Object implements Strand
A strand which is defined as a fragment of a dot-bracket structure.
  • Constructor Details

    • StrandView

      public StrandView()
  • Method Details

    • name

      @Parameter(order=1) public abstract String name()
      Specified by:
      name in interface Strand
      Returns:
      The name of the strand.
    • description

      public final String description()
      Description copied from interface: Strand
      Prepares description of strand in RNAComposer format. The format has 5 elements: index-from, index-to, sequence, structure, RY-sequence.
      Specified by:
      description in interface Strand
      Returns:
      A description of strand in RNAComposer format.
    • begin

      @Parameter(order=3) public abstract int begin()
      Specified by:
      begin in interface Strand
      Returns:
      The index of the first residue in this strand.
    • end

      @Parameter(order=4) public abstract int end()
      Specified by:
      end in interface Strand
      Returns:
      The index of the last residue in this strand.
    • parent

      @Parameter(order=2) public abstract DotBracket parent()
      Returns:
      The parent dot-bracket structure of this strand.
    • symbols

      @Lazy public List<DotBracketSymbol> symbols()
      Specified by:
      symbols in interface DotBracket
      Returns:
      The list of dot-bracket symbols.
    • toString

      public final String toString()
      Overrides:
      toString in class Object