-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSnekmer.spec
85 lines (68 loc) · 2.24 KB
/
Snekmer.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/*
A KBase module: Snekmer
*/
module Snekmer {
/*
Reference to a Genome object in the workspace
@id ws KBaseGenomes.Genome
*/
typedef string genome_ref;
/*
Input parameters for Snekmer Model.
workspace_name - the name of the workspace for input/output
k - kmer length for features
alphabet - mapping function for reduced amino acid sequences
min_rep_thresh - min number of sequences to include feature for prefiltering
processes - for parallelization
*/
typedef structure {
string workspace_name;
int k;
string alphabet;
float min_rep_thresh;
int processes;
} SnekmerModelParams;
/*
Output parameters for Snekmer Model.
report_name - the name of the KBaseReport.Report workspace object.
report_ref - the workspace reference of the report.
*/
typedef structure {
string report_name;
string report_ref;
} SnekmerModelOutput;
/*
Input parameters for Snekmer Search.
workspace_name - the name of the workspace for input/output
object_ref - GenomeSet
k - kmer length for features
alphabet - mapping function for reduced amino acid sequences
output_genome_name - output object name
*/
typedef string obj_ref;
typedef structure {
string workspace_name;
string object_ref;
int k;
int alphabet;
string output_genome_name;
} SnekmerSearchParams;
/*
Output parameters for Snekmer Search.
report_name - the name of the KBaseReport.Report workspace object.
report_ref - the workspace reference of the report.
*/
typedef structure {
string report_name;
string report_ref;
genome_ref output_genome_ref;
} SnekmerSearchOutput;
/*
run_Snekmer_model accepts some of the model params for now, and returns results in a KBaseReport
*/
funcdef run_Snekmer_model(SnekmerModelParams params) returns (SnekmerModelOutput output) authentication required;
/*
run_Snekmer_search accepts some of the search params for now, and returns results in a KBaseReport
*/
funcdef run_Snekmer_search(SnekmerSearchParams params) returns (SnekmerSearchOutput output) authentication required;
};