00001 /***************************************************************************** 00002 * Copyright (C) 2000 Jim Kent. This source code may be freely used * 00003 * for personal, academic, and non-profit purposes. Commercial use * 00004 * permitted only by explicit agreement with Jim Kent (jim_kent@pacbell.net) * 00005 *****************************************************************************/ 00006 /* Sig.h - signatures that start various binary files. */ 00007 #ifndef SIG_H 00008 #define SIG_H 00009 00010 #define aliSig 0xCDAB8245 00011 /* Binary alignment file. */ 00012 00013 #define alxSig 0xA1B1C1D3 00014 /* Index into binary alignment file, sorted by start base offset. */ 00015 00016 #define pgoSig 0x690 00017 /* Index into GDF file, sorted by start base offset. Signature is 32 bit. */ 00018 00019 #define cdoSig 0xCD01 00020 /* Index into c2g text file, sorted by start base offset. 32 bit signature. */ 00021 00022 #define xaoSig 0xA0B0C0D0 00023 /* Index into xeno alignment, sorted by start base offset. 32 bit signature. */ 00024 00025 #define glSig 0xF1E2D3C4 00026 /* Binary gene file, sorted by chromosome and then starting offset. */ 00027 00028 /* IX sig is int ixSig[4] = {0x693F8ED1, 0x7EDA1C32, 0x4BA58983, 0x277CB89C,}; 00029 * These are made by snofMake, and are indexes sorted by name. */ 00030 00031 /* XI - same as IX but on big-endian (or is it little-endian) archetectures. */ 00032 00033 #define nt4Signature 0x12345678 00034 /* Signature at the beginning of an nt4 file - 2 bit a nucleotide binary file. */ 00035 00036 #define lm2Signature 0x12131416 00037 /* Signature at the beginning of a lm2 file - a 2nd order markov model for nucleotides. */ 00038 00039 #define oocSig 0x584155f2 00040 /* Signature of file that contains over-represented oligomers for patSpace 00041 * algorithm. */ 00042 00043 #define oocSigSwapped 0xf2554158 00044 /* Signature of file that contains over-represented oligomers for patSpace 00045 * algorithm. */ 00046 00047 #define fofSig 0x13410da8 00048 /* Signature into fof type index file (that can index multiple external files). */ 00049 00050 #define nibSig 0x6BE93D3A 00051 /* Signature into nib file (4 bits per nucleotide DNA file) */ 00052 00053 #define qacSig 0x32b67998 00054 /* Signature of qac file (compressed quality file) */ 00055 00056 #define caqSig 0x9879b632 00057 /* Signature of byte-swapped qac file. */ 00058 00059 #define twoBitSig 0x1A412743 00060 /* Signature into 2bit file (2 bits per nucleotide DNA file) plus 00061 * information on N and masked bases. */ 00062 00063 #define twoBitSwapSig 0x4327411A 00064 /* Signature of byte-swapped two-bit file. */ 00065 00066 #define chromGraphSig 0x4528421C 00067 /* Signature of chromGraph binary data file */ 00068 00069 #define chromGraphSwapSig 0x1C422845 00070 /* Signature of byte-swapped chromGraph binary data file */ 00071 00072 #endif /* SIG_H */ 00073 00074
1.5.2