RNAstructure Classes  Version 6.1
RNA.h File Reference
#include <string>
#include <cstring>
#include "../src/defines.h"
#include "../src/rna_library.h"
#include "../src/pfunction.h"
#include "thermodynamics.h"
#include "../src/TProgressDialog.h"
#include "RsampleData.h"
#include "../src/algorithm.h"
#include "../src/draw.h"

Classes

class  RNA
 

Macros

#define SEQUENCE_STRING   0
 A string containing the sequence – NOT a file name. More...
 
#define FILE_CT   1
 CT Structure file. More...
 
#define FILE_SEQ   2
 Sequence file (FASTA, SEQ or plain-text sequence) More...
 
#define FILE_PFS   3
 Partition function save file (*.pfs) More...
 
#define FILE_SAV   4
 Folding Save file (*.sav) More...
 
#define FILE_DBN   5
 Dot-Bracket Notation Structure file (*.dbn, *.dot, *.bracket) More...
 

Typedefs

typedef int RNAInputType
 RNA Class. More...
 

Macro Definition Documentation

#define FILE_CT   1

CT Structure file.

#define FILE_DBN   5

Dot-Bracket Notation Structure file (*.dbn, *.dot, *.bracket)

#define FILE_PFS   3

Partition function save file (*.pfs)

#define FILE_SAV   4

Folding Save file (*.sav)

#define FILE_SEQ   2

Sequence file (FASTA, SEQ or plain-text sequence)

#define SEQUENCE_STRING   0

A string containing the sequence – NOT a file name.

Typedef Documentation

typedef int RNAInputType

RNA Class.

The RNA class provides an entry point for all the single sequence operations of RNAstructure.The following constants can be supplied to the RNA class constructor RNAInputType parameter to indicate the type of file represented by the filepathOrSequence parameter. 0 => A literal sequence (NOT a file) 1 => Structure File (CT, DBN/DOT/BRACKET) 2 => Sequence File (SEQ, FASTA, or text) 3 => Partition-Function-Save-File (PFS) 4 => Folding-Save-File (FSV or SAV) 5 => Bracket File (DBN/DOT/BRACKET) (1 will also work, but is slighly less efficient. 5 is more strict)