| 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_PSEUDOGENE_FIX_VISITOR |
| 11 |
#define AEGEAN_PSEUDOGENE_FIX_VISITOR |
| 12 |
|
| 13 |
#include "extended/node_stream_api.h" |
| 14 |
#include "AgnUnitTest.h" |
| 15 |
|
| 16 |
/** |
| 17 |
* @class AgnPseudogeneFixVisitor |
| 18 |
* |
| 19 |
* Implements the GenomeTools ``GtNodeVisitor`` interface. This is a node |
| 20 |
* visitor used for correcting the ``type`` value for pseudogene features |
| 21 |
* erroneously using the ``gene`` type instead of the more appropriate |
| 22 |
* ``pseudogene`` type. |
| 23 |
*/ |
| 24 |
typedef struct AgnPseudogeneFixVisitor AgnPseudogeneFixVisitor; |
| 25 |
|
| 26 |
/** |
| 27 |
* @function Constructor for a node stream based on this node visitor. |
| 28 |
*/ |
| 29 |
GtNodeStream* agn_pseudogene_fix_stream_new(GtNodeStream *in); |
| 30 |
|
| 31 |
/** |
| 32 |
* @function Constructor for the node visitor. |
| 33 |
*/ |
| 34 |
GtNodeVisitor *agn_pseudogene_fix_visitor_new(); |
| 35 |
|
| 36 |
/** |
| 37 |
* @function Run unit tests for this class. Returns true if all tests passed. |
| 38 |
*/ |
| 39 |
bool agn_pseudogene_fix_visitor_unit_test(AgnUnitTest *test); |
| 40 |
|
| 41 |
#endif |