1: <?php
2:
3: namespace cli_import;
4:
5: require_once ROOT . 'classes/Importer_Annotations_Dbxref.php';
6:
7: /**
8: * importer for GO crossreferences
9: */
10: class Importer_Annotations_GO extends Importer_Annotations_Dbxref {
11:
12: /**
13: * @inheritDoc
14: */
15: public static function CLI_commandName() {
16: return "annotation_go";
17: }
18:
19: /**
20: * @inheritDoc
21: */
22: public static function CLI_commandDescription() {
23: return "import GO annotations";
24: }
25:
26: /**
27: * @inheritDoc
28: */
29: public static function import($options) {
30: return self::_import($options, 0, 1, "\t");
31: }
32:
33: /**
34: * @inheritDoc
35: */
36: public static function CLI_longHelp() {
37: return "Tab-Separated file with column 1: feature_id and column 2: GO Dbxref\n\n" . parent::CLI_longHelp();
38: }
39:
40: }
41:
42: ?>
43: