| 1 |
#ifndef S4P_OVERLAP_H |
| 2 |
#define S4P_OVERLAP_H |
| 3 |
|
| 4 |
// Using 16-bit ints for storing the amount overlapped gives a big |
| 5 |
// memory reduction, but will fail for long sequences (mRNA, |
| 6 |
// probably). findOverlap() checks for overflow. |
| 7 |
// |
| 8 |
#define OLAP_IS_SHORT |
| 9 |
|
| 10 |
#ifdef OLAP_IS_SHORT |
| 11 |
typedef uint16 olap_t; |
| 12 |
#define OLAPTFMT uint16FMT |
| 13 |
#else |
| 14 |
typedef uint32 olap_t; |
| 15 |
#define OLAPTFMT uint32FMT |
| 16 |
#endif |
| 17 |
|
| 18 |
olap_t findOverlap(sim4polish *A, sim4polish *B); |
| 19 |
|
| 20 |
#endif // S4P_OVERLAP_H |