extract_str_inter.h
1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef H_EXTRACTSTRINTER
#define H_EXTRACTSTRINTER
#include <vector>
#include <string>
#include <utility>
#include "Motifs/interloop.h"
#include "Motifs/hairpinloop.h"
#include "Motifs/helix.h"
#include "Motifs/multiloop.h"
#include "Motifs/pseudoknot.h"
#include "rna.h"
#include "structure.h"
#include "solinteraction.h"
void extract_str(std::string STRfile, const std::vector < Rna >& rnaList_,
std::vector< Structure >& strs_,
const std::vector< std::tuple < std::pair < uint, uint >, std::pair < uint, uint >, uint > >& ctAppTwo,
const std::vector< std::tuple < uint, uint, uint > >& ctApp,
const std::vector< std::tuple < uint, uint, uint > >& ctSingle,
const std::vector < Interloop * >& ctIntLoop,
const std::vector < Hairpinloop * >& ctHairLoop,
const std::vector < Helix * >& ctHelix,
const std::vector < Multiloop * >& ctMultiLoop,
const std::vector < Pseudoknot * >& ctPseudo,
uint energyModel, uint& nbHardCT,
float lowerThresProbing, float upperThresProbing);
bool sortHelix (Helix i, Helix j);
void extract_inter(const std::string INTfile, const std::vector < Rna >& rnaList_,
std::vector< SolInteraction >& inters_,
std::vector< std::vector < Helix > >& helices_,
const std::vector< std::tuple < std::pair < uint, uint >, std::pair < uint, uint >, uint > >& ctAppTwo,
const std::vector < Helix * >& ctHelix,
const std::vector < Pseudoknot * >& ctPseudo,
unsigned int energyModel, uint& nbHardCT,
float lowerThresProbing, float upperThresProbing);
#endif