File: zerg.h

package info (click to toggle)
libzerg 1.0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 196 kB
  • sloc: ansic: 62; makefile: 21
file content (73 lines) | stat: -rw-r--r-- 1,700 bytes parent folder | download | duplicates (5)
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
/* Filename: zerg.h
 * Blast parser
 * Apua Cesar de Miranda Paquola <apua@iq.usp.br>
 */ 

#ifndef _zerg_h_
#define _zerg_h_

#define BUFFER_OVERFLOW		-1

#define BLAST_VERSION 		1   /* Esta tem que ser a primeira */
#define QUERY_NAME 		2
#define QUERY_ANNOTATION 	3
#define QUERY_LENGTH 		4
#define NOHITS 			5
#define DESCRIPTION_HITNAME 	6
#define DESCRIPTION_ANNOTATION 	7
#define DESCRIPTION_SCORE 	8
#define DESCRIPTION_EVALUE 	9
#define SUBJECT_NAME 		10
#define SUBJECT_ANNOTATION 	11
#define SUBJECT_LENGTH 		12
#define SCORE_BITS 		13
#define SCORE 			14
#define EVALUE 			15
#define IDENTITIES 		16
#define ALIGNMENT_LENGTH 	17
#define PERCENT_IDENTITIES 	18
#define GAPS 			19
#define QUERY_ORIENTATION 	20
#define SUBJECT_ORIENTATION 	21
#define QUERY_START 		22
#define QUERY_END 		23
#define SUBJECT_START 		24
#define SUBJECT_END 		25
#define END_OF_REPORT 		26
#define POSITIVES 		27
#define PERCENT_POSITIVES 	28
#define QUERY_FRAME 		29
#define SUBJECT_FRAME 		30
#define UNMATCHED 		31
#define ROUND_NUMBER 		32
#define HSP_METHOD 		33
#define SEARCHING 		34
#define QUERY_ALI 		35
#define SUBJECT_ALI 		36
#define ROUND_SEQ_FOUND 	37
#define ROUND_SEQ_NEW 		38
#define CONVERGED 		39
#define REFERENCE 		40
#define TAIL_OF_REPORT 		41
#define DATABASE 		42
#define AFTER_LAST_TOKEN 	43			// dummy token, must be last

#ifdef __cplusplus
extern "C" {
#endif

void zerg_open_file(char* filename);
void zerg_close_file();
void zerg_read_stream(FILE* __stream);
void zerg_ignore(int code);
void zerg_ignore_all();
void zerg_unignore(int code);
void zerg_unignore_all();
int zerg_get_token(int* code, char **value);
int zerg_get_token_offset();

#ifdef __cplusplus
}
#endif

#endif