view mrcanavar-0.34/sam.h @ 0:86522a0b5f59 default tip

Uploaded source code for mrCaNaVaR
author calkan
date Tue, 21 Feb 2012 10:44:13 -0500
parents
children
line wrap: on
line source

#ifndef __SAM
#define __SAM

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include <dirent.h>

#include "globals.h"
#include "utils.h"

void read_depth(char *, char *, char);
void readSAM(char *, char *, char);

int insert_read_lw(char *, int, char *, int);
int insert_read_sw(char *, int, char *, int);
int insert_read_cw(char *, int, char *, int);

int findChrom(char *, char *, int);

int binSearch(char *);

int windowSearch(struct window *, int, int);

void saveDepth(char *);

#endif