forked from kislyuk/bwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dxapp.json
76 lines (76 loc) · 6.01 KB
/
dxapp.json
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
{
"name": "bwa",
"title": "BWA",
"summary": "Maps reads to a reference genome using the Burrows-Wheeler Aligner",
"dxapi": "1.0.0",
"inputSpec": [
{"name": "reads", "class": "array:gtable", "type": "LetterReads", "label": "Reads", "help": "One or more Reads table objects that will be mapped to the reference genome."},
{"name": "output_name", "class": "string", "optional": true, "label": "Output name", "help": "The name of the resulting Mappings table object (optional; if not provided, the name will be based on the Reads name)."},
{"name": "reference", "class": "record", "type": {"$or": ["ContigSet", "BwaLetterContigSetV3"]}, "label": "Reference genome", "help": "The genome that the reads will be mapped against. (If this genome is not indexed for BWA, the app will automatically index it and include an indexed version in the output, for future use). DNAnexus provides several pre-indexed genomes in the 'Reference Genomes' public project.", "suggestions":[{"name": "Reference Genomes", "project": "project-B406Bq0bQ9jB3GVk65200001", "path": "/"}]},
{"name": "algorithm", "class": "string", "default": "auto", "label": "Mapping algorithm", "help": "The mapping algorithm to use. Possible values are 'aln', 'bwasw' or 'auto'. See the app page for more information.", "choices":["auto", "aln", "bwasw"]},
{"name": "aln_n", "class": "float", "optional": true, "group": "aln parameters"},
{"name": "aln_o", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_e", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_i", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_d", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_l", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_k", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_m", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_M", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_O", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_E", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_R", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_q", "class": "int", "optional": true, "group": "aln parameters"},
{"name": "aln_N", "class": "boolean", "default": false, "group": "aln parameters"},
{"name": "sampe_a", "class": "int", "optional": true, "group": "sampe parameters"},
{"name": "sampe_o", "class": "int", "optional": true, "group": "sampe parameters"},
{"name": "sampe_n", "class": "int", "optional": true, "group": "sampe parameters"},
{"name": "sampe_N", "class": "int", "optional": true, "group": "sampe parameters"},
{"name": "sampe_c", "class": "float", "optional": true, "group": "sampe parameters"},
{"name": "sampe_s", "class": "boolean", "default": false, "group": "sampe parameters"},
{"name": "samse_n", "class": "int", "optional": true, "group": "sampe parameters"},
{"name": "sw_a", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_b", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_q", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_r", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_w", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_m", "class": "float", "optional": true, "group": "bwasw parameters"},
{"name": "sw_T", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_c", "class": "float", "optional": true, "group": "bwasw parameters"},
{"name": "sw_z", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_s", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "sw_N", "class": "int", "optional": true, "group": "bwasw parameters"},
{"name": "chunk_size", "class": "int", "default": 25000000, "label": "Reads per chunk", "help": "This app parallelizes itself by dividing the input into chunks of a certain size (a certain number of reads), and mapping each chunk individually. Lower chunk sizes lead to higher levels of parallelization, reducing the wall-clock time that one has to wait for the app to finish. However, lower chunks sizes may also increase the cost of running the app in the cloud, as they lead to a higher number of chunks, each of which adds a constant processing overhead. The default value is 25 million reads per chunk; DNAnexus suggests caution when experimenting with this parameter."},
{"name": "discard_unmapped_rows", "class": "boolean", "default": false, "label": "Discard unmapped rows?", "help": "If selected, unmapped reads will not be included in the Mappings output."}
],
"outputSpec": [
{"name": "mappings", "class": "gtable", "type": {"$and": ["LetterMappings", "Mappings", "gri"]}, "label": "Mappings", "help": "The resulting Mappings table object. (Developers can look at http://wiki.dnanexus.com/Types/Mappings for more information)."},
{"name": "indexed_reference", "class": "record", "type": "BwaLetterContigSetV3", "label": "Indexed reference genome", "help": "An indexed version of the reference genome, for future use as input to this app."}
],
"runSpec": {
"file": "bwa.py",
"interpreter": "python2.7",
"execDepends": [
{"name": "xz-utils"},
{"name": "pypy"}
],
"buildDepends": [
{"name": "libarchive-dev"},
{"name": "liblzma-dev"}
]
},
"version": "1.0.8",
"categories": ["Read Mapping"],
"details": {
"contactOrgs": ["org-dnanexus"],
"repoUrl": "git@github.com:dnanexus/bwa.git",
"upstreamAuthor": "Heng Li and Richard Durbin",
"upstreamVersion": "0.6.2-r126",
"upstreamUrl": "http://bio-bwa.sourceforge.net/",
"upstreamLicenses": ["GPLv3"],
"citations": [
"doi:10.1093/bioinformatics/btp324",
"doi:10.1093/bioinformatics/btp698"
]
}
}