| 1 | #include "aHit.H" |
| 2 | #include "hitReader.H" |
| 3 | |
| 4 | // A NULL filter. What comes in, comes out. Seems useless, but the |
| 5 | // hitReader merges overlapping hits which would otherwise screw up |
| 6 | // your mapping. |
| 7 | |
| 8 | int |
| 9 | main(int argc, char **argv) { |
| 10 | hitReader HR(argc); |
| 11 | |
| 12 | if (argc < 2) |
| 13 | fprintf(stderr, "ESTmapper utility function -- not for human use.\n"), exit(1); |
| 14 | |
| 15 | int arg = 1; |
| 16 | while (arg < argc) |
| 17 | HR.addInputFile(argv[arg++]); |
| 18 | |
| 19 | while (HR.loadHits()) |
| 20 | for (uint32 i=0; i < HR.numHits(); i++) |
| 21 | ahit_printASCII(&HR[i].a, stdout); |
| 22 | |
| 23 | return(0); |
| 24 | } |