-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvvp_headers.h
More file actions
70 lines (64 loc) · 1.26 KB
/
vvp_headers.h
File metadata and controls
70 lines (64 loc) · 1.26 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
//
// vvp_headers.h
// VVP_C
//
// Created by steven on 8/12/15.
// Copyright (c) 2015 yandell lab. All rights reserved.
//
#ifndef VVP_C_vvp_headers_h
#define VVP_C_vvp_headers_h
#include "sds.h"
#include "uthash.h"
#include "kvec.h"
#include "khash.h"
#include "bit_array.h"
#include <math.h>
#include <stdio.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <zlib.h>
#include <time.h>
#include <pthread.h>
struct config {
sds target_vcf;
sds background_vcf;
sds db_prefix;
sds vvp_formatted;
char inheritance_filters;
char penetrance;
int mother_sample_index;
int father_sample_index;
int proband_sample_index;
int sibling_sample_index;
int sibling_affected;
int nb;
int nts;
int nt;
sds anno_tag;
int variant_pos;
int gene_pos;
int aa_pos;
int so_pos;
char iht;
int format_output;
int np;
int only_coding;
int only_snv;
size_t n_permutations;
size_t mat_rows;
};
#ifdef _OPENMP
#include <omp.h>
#endif
#define BUF_SIZE 5000000
#define MAX_SCORES 100000
#define LINE_BYTE_SIZE 35
#define NPERCENTILES 100
#define MAX_VARS 20
#define FEATURE_NAME_LEN 50
#define FEATURE_NAME_LENGTH 50
#endif