-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathncbl_head.h
30 lines (23 loc) · 948 Bytes
/
ncbl_head.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
25
26
27
28
29
30
/* ncbl_head.h header files for blast1.3 format */
#define AMINO_ACID_SEQTYPE 1
#define AA_SEQTYPE AMINO_ACID_SEQTYPE
#define NUCLEIC_ACID_SEQTYPE 2
#define NT_SEQTYPE NUCLEIC_ACID_SEQTYPE
/* Filename extensions used by the two types of databases (a.a. and nt.) */
#define AA_HEADER_EXT "ahd"
#define AA_TABLE_EXT "atb"
#define AA_SEARCHSEQ_EXT "bsq"
#define NT_HEADER_EXT "nhd"
#define NT_TABLE_EXT "ntb"
#define NT_SEARCHSEQ_EXT "csq"
#define DB_TYPE_PRO 0x78857a4f /* Magic # for a protein sequence database */
#define DB_TYPE_NUC 0x788325f8 /* Magic # for a nt. sequence database */
#define AAFORMAT 3 /* Latest a.a. database format ID number */
#define NTFORMAT 6 /* Latest nt. database format ID number */
#define NULLB '\0' /* sentinel byte */
#define NT_MAGIC_BYTE 0xfc /* Magic byte at end of compressed nt db */
#ifndef CHAR_BIT
#define CHAR_BIT 8 /* these values should match blast */
#endif
#define NBPN 2
#define NSENTINELS 2