[go: up one dir, main page]

File: Bias.h

package info (click to toggle)
freebayes 1.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,984 kB
  • sloc: cpp: 125,778; ansic: 4,581; sh: 1,084; python: 672; asm: 271; javascript: 94; lisp: 85; makefile: 37; perl: 27
file content (30 lines) | stat: -rw-r--r-- 456 bytes parent folder | download
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
#ifndef FREEBAYES_BIAS_H
#define FREEBAYES_BIAS_H

#include <map>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cstdlib>
#include <fastahack/split.h>

using namespace std;

class Bias {
    
    int minLength;
    int maxLength;
    vector<long double> biases;

public:

    Bias(void) : minLength(0), maxLength(0) { }
    void open(string& file);
    long double bias(int length);
    bool empty(void);

};


#endif