| 1 | #ifndef AHIT_H |
| 2 | #define AHIT_H |
| 3 | |
| 4 | #include "bio.h" |
| 5 | #include "util++.H" |
| 6 | #include <stdio.h> |
| 7 | |
| 8 | struct aHit { |
| 9 | uint32 _forward : 1; |
| 10 | uint32 _merged : 1; |
| 11 | uint32 _qsIdx; |
| 12 | uint32 _dsIdx; |
| 13 | uint32 _dsLo; |
| 14 | uint32 _dsHi; |
| 15 | uint32 _covered; |
| 16 | uint32 _matched; |
| 17 | uint32 _numMers; |
| 18 | }; |
| 19 | |
| 20 | |
| 21 | void ahit_writeBinary(aHit *a, FILE *F); |
| 22 | void ahit_readBinary(aHit *a, FILE *F); |
| 23 | |
| 24 | void ahit_readBinary(aHit *a, readBuffer *F); |
| 25 | |
| 26 | void ahit_printASCII(aHit *a, FILE *F); |
| 27 | void ahit_parseString(aHit *a, char *b); |
| 28 | |
| 29 | #endif // AHIT_H |
| 30 |