-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompressor.h
24 lines (16 loc) · 895 Bytes
/
compressor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef COMPRESSOR_H
#define COMPRESSOR_H
#include "hash.h"
//this function used to compress the files
int gtf_compressor(FILE* fp, int length, int* chr_table, int* block_min_table,int* block_max_table, int block_size);
//this function used to decompress the files
int gtf_decompressor(FILE* fp, int length, int filetype);
//this function used to compress the expression matrix files
int expression_compressor(FILE* fp, int length, int block_size);
//this function used to compress the sparse matrix files
int sparse_compressor(FILE* fp, FILE* fp_gene_id, int length, int block_size);
//this function compress the GTF without random access
int gtf_compressor2(FILE* fp, int length, int filetype);
//this function used to compress the files
int gff3_compressor(FILE* fp, int length, int* chr_table, int* block_min_table,int* block_max_table, int block_size);
#endif