| 1 |
/** |
| 2 |
|
| 3 |
Copyright (c) 2010-2014, Daniel S. Standage and CONTRIBUTORS |
| 4 |
|
| 5 |
The AEGeAn Toolkit is distributed under the ISC License. See |
| 6 |
the 'LICENSE' file in the AEGeAn source code distribution or |
| 7 |
online at https://github.com/standage/AEGeAn/blob/master/LICENSE. |
| 8 |
|
| 9 |
**/ |
| 10 |
#ifndef AEGEAN_COMPARE_REPORT_TEXT |
| 11 |
#define AEGEAN_COMPARE_REPORT_TEXT |
| 12 |
|
| 13 |
#include "core/logger_api.h" |
| 14 |
#include "extended/node_visitor_api.h" |
| 15 |
|
| 16 |
/** |
| 17 |
* @class AgnCompareReportText |
| 18 |
* |
| 19 |
* The ``AgnCompareReportText`` class is an extension of the |
| 20 |
* ``AgnCompareReport`` class. This node visitor relies on its parent class to |
| 21 |
* process a stream of ``AgnLocus`` objects (containing two alternative sources |
| 22 |
* of annotation to be compared) and then produces textual reports of the |
| 23 |
* comparison statistics. |
| 24 |
*/ |
| 25 |
typedef struct AgnCompareReportText AgnCompareReportText; |
| 26 |
|
| 27 |
|
| 28 |
/** |
| 29 |
* @function After the node stream has been processed, call this function to |
| 30 |
* write a summary of all locus comparisons to ``outstream``. |
| 31 |
*/ |
| 32 |
void agn_compare_report_text_create_summary(AgnCompareReportText *rpt, |
| 33 |
FILE *outstream); |
| 34 |
|
| 35 |
/** |
| 36 |
* @function Class constructor. Creates a node visitor used to process a stream |
| 37 |
* of ``AgnLocus`` objects containing two sources of annotation to be compared. |
| 38 |
* Reports will be written to ``outstream`` and status messages will be written |
| 39 |
* to the logger. |
| 40 |
*/ |
| 41 |
GtNodeVisitor *agn_compare_report_text_new(FILE *outstream, bool gff3, |
| 42 |
GtLogger *logger); |
| 43 |
// bool gff3); |
| 44 |
|
| 45 |
#endif |