forked from kbaseapps/ProteinStructureUtils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProteinStructureUtils.spec
More file actions
70 lines (56 loc) · 1.74 KB
/
ProteinStructureUtils.spec
File metadata and controls
70 lines (56 loc) · 1.74 KB
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
/*
A KBase module: ProteinStructureUtils
*/
module ProteinStructureUtils {
/* A boolean - 0 for false, 1 for true.
@range (0, 1)
*/
typedef int boolean;
/* An X/Y/Z style reference
@id ws
*/
typedef string obj_ref;
/* workspace name of the object */
typedef string workspace_name;
typedef structure {
obj_ref input_ref;
string destination_dir;
} StructureToPDBFileParams;
typedef structure {
string file_path;
} StructureToPDBFileOutput;
funcdef structure_to_pdb_file(StructureToPDBFileParams params)
returns (StructureToPDBFileOutput result) authentication required;
/* Input of the export_pdb function
obj_ref: generics object reference
*/
typedef structure {
obj_ref obj_ref;
} ExportParams;
typedef structure {
string shock_id;
} ExportOutput;
funcdef export_pdb (ExportParams params) returns (ExportOutput result) authentication required;
/* Input of the import_matrix_from_excel function
input_shock_id: file shock id
input_file_path: absolute file path
input_staging_file_path: staging area file path
structure_name: structure object name
workspace_name: workspace name for object to be saved to
*/
typedef structure {
string input_shock_id;
string input_file_path;
string input_staging_file_path;
string structure_name;
string description;
workspace_name workspace_name;
} ImportPDBParams;
typedef structure {
string report_name;
string report_ref;
obj_ref structure_obj_ref;
} ImportPDBOutput;
/* import_model_pdb_file: import a ProteinStructure from PDB*/
funcdef import_model_pdb_file (ImportPDBParams params) returns (ImportPDBOutput result) authentication required;
};