-
Notifications
You must be signed in to change notification settings - Fork 2
/
kb_fasttree.spec
60 lines (52 loc) · 1.74 KB
/
kb_fasttree.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
** A KBase module: kb_fasttree
**
** This module runs FastTree to make Trees for either DNA or PROTEIN MSAs
**
*/
module kb_fasttree {
/*
** The workspace object refs are of form:
**
** objects = ws.get_objects([{'ref': params['workspace_id']+'/'+params['obj_name']}])
**
** "ref" means the entire name combining the workspace id and the object name
** "id" is a numerical identifier of the workspace or object, and should just be used for workspace
** "name" is a string identifier of a workspace or object. This is received from Narrative.
*/
typedef string workspace_name;
typedef string data_obj_name;
typedef string data_obj_ref;
/* FastTree Input Params
*/
typedef structure {
workspace_name workspace_name;
string desc;
data_obj_ref input_ref;
data_obj_name output_name;
int species_tree_flag; /* boolean */
data_obj_ref intree_ref;
int fastest; /* boolean */
int pseudo; /* boolean */
int gtr; /* boolean */
int wag; /* boolean */
int noml; /* boolean */
int nome; /* boolean */
int cat; /* actually is an int */
int nocat; /* boolean */
int gamma; /* boolean */
} FastTree_Params;
/* FastTree Output
*/
typedef structure {
data_obj_name report_name;
data_obj_ref report_ref;
data_obj_ref output_ref;
} FastTree_Output;
/* Method for Tree building of either DNA or PROTEIN sequences
**
** input_type: MSA
** output_type: Tree
*/
funcdef run_FastTree (FastTree_Params params) returns (FastTree_Output) authentication required;
};