-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathjgi_mg_assembly.spec
72 lines (66 loc) · 2.59 KB
/
jgi_mg_assembly.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
/*
A KBase module: jgi_mg_assembly
*/
module jgi_mg_assembly {
/*
A boolean - 0 for false, 1 for true.
@range (0, 1)
*/
typedef int boolean;
typedef string assembly_upa;
/* Should be only Paired-end reads. */
typedef string reads_upa;
/*
Inputs for the Assembly pipeline.
reads_upa:
UPA for the input reads object. This should be a Paired-End Illumina reads file.
workspace_name:
name of the workspace to upload to at the end.
output_assembly_name:
name of the output assembly file.
skip_rqcfilter:
If 1, skip the RQCFilter step of the pipeline. If 0, run it. (default = 0)
cleaned_reads_name (optional):
If not empty, this will cause the finalized, cleaned/filtered reads to be uploaded as a new
reads object with this name. This'll be an interleaved paired-end reads object.
filtered_reads_name (optional, unless alignment_name is present):
If not empty, this will cause the RQCFiltered reads to be uploaded as a new reads object. These
are the reads aligned to the final assembly, so these are needed to associate with the
final alignment if that alignment is to be kept.
debug (hidden option):
If 1, run in debug mode. A little more verbose, and trims some parameters from various steps
so it can run locally(ish). You probably don't want to do this in production, it's meant for
testing.
*/
typedef structure {
reads_upa reads_upa;
string workspace_name;
string output_assembly_name;
string cleaned_reads_name;
string filtered_reads_name;
boolean skip_rqcfilter;
boolean debug;
} AssemblyPipelineParams;
/*
Outputs from the Assembly pipeline.
report_name:
The name of the generated report object.
report_ref:
The UPA for the generated report object.
assembly_upa:
The UPA for the newly made assembly object.
cleaned_reads_upa (optional):
The UPA for the finalized, cleaned reads that are assembled in the pipeline, if requested by the input.
filtered_reads_upa (optional):
The UPA for the RQCFiltered reads, if requested by the input, AND skip_rqcfilter is not true.
*/
typedef structure {
string report_name;
string report_ref;
assembly_upa assembly_upa;
reads_upa cleaned_reads_upa;
reads_upa filtered_reads_upa;
} AssemblyPipelineResults;
funcdef run_mg_assembly_pipeline(AssemblyPipelineParams params)
returns (AssemblyPipelineResults results) authentication required;
};