PKplexApp#
- class biotite.application_v2.viennarna.PKplexApp(path: PathLike[str] | str = 'RNAPKplex')[source]#
Bases:
LocalAppA handle to ViennaRNA’s
RNAPKplexsoftware.- Parameters:
- pathstr, optional
Path of the
RNAPKplexbinary.
Examples
>>> sequence = NucleotideSequence("CCCCCGGGGGAAAAAGGGGGAAAAACCCCC") >>> result = PKplexApp().run(sequence).result() >>> print(result.dot_bracket) ((((([[[[[.....))))).....]]]]] >>> print(result.free_energy) -16.6 >>> print(result.base_pairs()) [[ 0 19] [ 1 18] [ 2 17] [ 3 16] [ 4 15] [ 5 29] [ 6 28] [ 7 27] [ 8 26] [ 9 25]]
- run(sequence: NucleotideSequence, temperature: float = 37, **kwargs: Any) CommandSetup[FoldedRNA]#
Predict a secondary structure including pseudoknots.
- Parameters:
- sequenceNucleotideSequence
The RNA sequence.
- temperaturefloat, optional
The temperature (°C) to be assumed for the energy parameters.
- **kwargs
Additional command line options.
- Returns:
- futureFuture of FoldedRNA
A handle to the running computation. The
dot_bracketmay contain pseudoknot brackets ([]).