Debian Codegraph @

inc/core/AgnInferCDSVisitor.h

raw
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_INFER_CDS_VISITOR
11 #define AEGEAN_INFER_CDS_VISITOR
12
13 #include "core/logger_api.h"
14 #include "extended/node_stream_api.h"
15 #include "AgnUnitTest.h"
16
17 /**
18 * @class AgnInferCDSVisitor
19 *
20 * Implements the GenomeTools ``GtNodeVisitor`` interface. This is a node
21 * visitor used for inferring an mRNA's CDS from explicitly defined exon and
22 * start/stop codon features.
23 */
24 typedef struct AgnInferCDSVisitor AgnInferCDSVisitor;
25
26 /**
27 * @function Constructor for a node stream based on this node visitor.
28 */
29 GtNodeStream* agn_infer_cds_stream_new(GtNodeStream *in, GtStr *source,
30 GtLogger *logger);
31
32 /**
33 * @function Constructor for the node visitor.
34 */
35 GtNodeVisitor *agn_infer_cds_visitor_new(GtLogger *logger);
36
37 /**
38 * @function Set the source value (GFF3 column 2) that will be assigned to any
39 * inferred features (default is '.').
40 */
41 void agn_infer_cds_visitor_set_source(AgnInferCDSVisitor *v, GtStr *source);
42
43 /**
44 * @function Run unit tests for this class. Returns true if all tests passed.
45 */
46 bool agn_infer_cds_visitor_unit_test(AgnUnitTest *test);
47
48 #endif