-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathOptions.h
More file actions
91 lines (85 loc) · 2.61 KB
/
Options.h
File metadata and controls
91 lines (85 loc) · 2.61 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* RNAStructProfiling -- Profiles RNA structures and produces a summary graph in graphviz format.
* Copyright 2013, 2014, 2018 Emily Rogers
*
* This file is part of RNAStructProfiling.
*
* RNAStructProfiling is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* RNAStructProfiling is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with RNAStructProfiling. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef OPTIONS
#define OPTIONS
/*
//file name to write output
extern char *OUTPUT;
//file name contains input structure(s)
extern char *INPUT;
//file name contains native structure
extern char *NATIVE;
//if filter is 1, keep number of freq helices under 10
extern int FILTER;
//defines h and p st they cut off no more than NOISE percentage of area
extern int NOISE;
//if 1, prints additional info
extern int VERBOSE;
//minimum size a helix must be to be considered significant
extern int MIN_HEL_LEN;
//if freq > thresh_freq, is significant (in percentage)
extern double THRESH_FREQ;
//if freq > thresh_common, assume is in everything
extern double THRESH_COMMON;
//limit to number of frequent helices
extern int NUMFREQ;
//limit to number of profiles made
extern int NUMPROF;
//profiles must have freq at least PROF_FREQ
extern double PROF_FREQ;
//number of structures processed; sfold generates 1000
extern int NUMSTRUCTS;
//lower bound for percent of structures represented by final profiles
extern double THRESH_STRUCT;
//sets minimum length a freq helix must be
extern int LENGTH;
//makes triplet stats in process_structs
extern int STATS;
//turns on or off making representative structures by consensus
extern int REP_STRUCT;
*/
/*default minimum significant helix size*/
#define DEF_MIN_HEL_LEN 1
/*default output file name*/
#define DEF_OUTPUT "profile.dot"
typedef struct options {
/*all the options*/
char *OUTPUT;
char *INPUT;
char *NATIVE;
int VERBOSE;
int SFOLD;
int MIN_HEL_LEN;
int NUM_FHC;
int NUM_SPROF;
double HC_FREQ;
double PROF_FREQ;
double COVERAGE;
int NUMSTRUCTS;
int PNOISE;
int CYCLES;
int GRAPH;
int REP_STRUCT;
int TOPDOWN;
int ALTTHRESH;
} Options;
Options* make_options();
void print_options();
void free_options(Options* opt);
#endif