Package pl.poznan.put.structure.formats
Class MultiLineDotBracket
java.lang.Object
pl.poznan.put.structure.formats.MultiLineDotBracket
- Direct Known Subclasses:
ImmutableMultiLineDotBracket
An extended secondary structure, which contains also non-canonical base pairs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Collection<? extends ClassifiedBasePair>
protected Collection<ClassifiedBasePair>
static MultiLineDotBracket
fromString
(String input) Creates an instance by reading a set of lines in dot-bracket notation.abstract String
sequence()
final String
toString()
-
Constructor Details
-
MultiLineDotBracket
public MultiLineDotBracket()
-
-
Method Details
-
fromString
Creates an instance by reading a set of lines in dot-bracket notation. Each line begins with a Leontis-Westhof notation shortand (e.g. cWW, tSH, etc.), a whitespace, and a dot-bracket. One line contains 'seq' instead of LW notation and it is followed by the sequence. For example:seq AGGGCGGGU cWW (.......) cWH .([{.}]).
- Parameters:
input
- A string containing input in the format specified above.- Returns:
- An instance of this class.
-
sequence
- Returns:
- The sequence of nucleotides.
-
basePairs
- Returns:
- The list of base pairs.
-
toString
-
basePairs5to3
-