forked from jlab/fold-grammars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ali_overdangle.gap
42 lines (33 loc) · 1.11 KB
/
ali_overdangle.gap
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
import rna
import "Extensions/alifold.hh"
import "Extensions/mfesubopt.hh"
import "Extensions/probabilities.hh"
import "Extensions/typesRNAfolding.hh"
import "Extensions/shapes.hh"
import "Extensions/mea.hh"
import "Extensions/probing.hh"
import "Extensions/pareto.hh"
input rna
type base_t = extern
type Rope = extern
type shape_t = shape
type M_Char = extern
type mfecovar = extern
include "Signatures/sig_foldrna.gap"
include "Algebras/DotBracket/alg_ali_dotBracket.gap"
include "Algebras/alg_ali_mis.gap"
include "Algebras/MEA/alg_ali_mea.gap"
include "Algebras/alg_ali_consensus.gap"
include "Algebras/Shapes/alg_ali_shapes.gap"
algebra alg_count auto count;
algebra alg_enum auto enum;
include "Algebras/MFE/alg_ali_mfe.gap"
include "Algebras/MFE/alg_ali_puremfe.gap"
include "Algebras/alg_ali_purecovar.gap"
include "Algebras/Pfunc/alg_ali_pfunc.gap"
include "Grammars/gra_overdangle.gap"
instance count = gra_overdangle (alg_count);
instance enum = gra_overdangle (alg_enum);
//start: instances for unit tests
instance testalifold = gra_overdangle(alg_ali_mfe * alg_ali_dotBracket);
//stop: instances for unit tests