miga-base 0.3.1.6 → 0.3.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/actions/ncbi_get.rb +57 -42
- data/lib/miga/result/base.rb +7 -0
- data/lib/miga/result/dates.rb +42 -0
- data/lib/miga/result.rb +4 -0
- data/lib/miga/version.rb +1 -1
- data/scripts/essential_genes.bash +5 -4
- data/utils/enveomics/Makefile +1 -1
- data/utils/enveomics/Manifest/Tasks/aasubs.json +75 -75
- data/utils/enveomics/Manifest/Tasks/blasttab.json +194 -185
- data/utils/enveomics/Manifest/Tasks/distances.json +130 -130
- data/utils/enveomics/Manifest/Tasks/fasta.json +51 -3
- data/utils/enveomics/Manifest/Tasks/fastq.json +161 -126
- data/utils/enveomics/Manifest/Tasks/graphics.json +111 -111
- data/utils/enveomics/Manifest/Tasks/mapping.json +30 -0
- data/utils/enveomics/Manifest/Tasks/ogs.json +308 -265
- data/utils/enveomics/Manifest/Tasks/other.json +451 -449
- data/utils/enveomics/Manifest/Tasks/remote.json +1 -1
- data/utils/enveomics/Manifest/Tasks/sequence-identity.json +18 -10
- data/utils/enveomics/Manifest/Tasks/tables.json +250 -250
- data/utils/enveomics/Manifest/Tasks/trees.json +52 -52
- data/utils/enveomics/Manifest/Tasks/variants.json +4 -4
- data/utils/enveomics/Manifest/categories.json +12 -4
- data/utils/enveomics/Manifest/examples.json +1 -1
- data/utils/enveomics/Scripts/BedGraph.tad.rb +71 -0
- data/utils/enveomics/Scripts/BlastTab.recplot2.R +23 -22
- data/utils/enveomics/Scripts/FastA.split.rb +79 -0
- data/utils/enveomics/Scripts/FastQ.test-error.rb +81 -0
- data/utils/enveomics/Scripts/JPlace.to_iToL.rb +272 -258
- data/utils/enveomics/Scripts/aai.rb +13 -6
- data/utils/enveomics/Scripts/ani.rb +2 -2
- data/utils/enveomics/Scripts/clust.rand.rb +102 -0
- data/utils/enveomics/Scripts/lib/enveomics_rb/enveomics.rb +12 -14
- data/utils/enveomics/Scripts/lib/enveomics_rb/jplace.rb +2 -2
- data/utils/enveomics/Scripts/rbm.rb +23 -14
- data/utils/enveomics/enveomics.R/DESCRIPTION +1 -1
- data/utils/enveomics/enveomics.R/R/barplot.R +2 -2
- metadata +9 -2
@@ -4,7 +4,7 @@
|
|
4
4
|
"task": "TRIBS.test.R",
|
5
5
|
"description": ["Estimates the empirical difference between all the",
|
6
6
|
"distances in a set of objects and a subset, together with its",
|
7
|
-
|
7
|
+
"statistical significance."],
|
8
8
|
"help_arg": "--help",
|
9
9
|
"requires": [
|
10
10
|
{ "r_package": "optparse" },
|
@@ -13,66 +13,66 @@
|
|
13
13
|
"see_also": ["TRIBS.plot-test.R"],
|
14
14
|
"options": [
|
15
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
|
-
|
16
|
+
"opt": "--dist",
|
17
|
+
"arg": "in_file",
|
18
|
+
"mandatory": true,
|
19
|
+
"description": "A tab-delimited matrix of distances."
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"opt": "--selection",
|
23
|
+
"arg": "in_file",
|
24
|
+
"mandatory": true,
|
25
|
+
"description": "A list of names with the selection to evaluate."
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"opt": "--replicates",
|
29
|
+
"arg": "integer",
|
30
|
+
"default": 1000,
|
31
|
+
"description": "Number of replications per point."
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"opt": "--summary-fx",
|
35
|
+
"arg": "string",
|
36
|
+
"description": ["Function to summarize the distance distributions in",
|
37
|
+
"a given replicate. By default, the median distance is estimated."]
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"opt": "--dist-method",
|
41
|
+
"arg": "string",
|
42
|
+
"default": "euclidean",
|
43
|
+
"description": ["Distance method between random points and samples",
|
44
|
+
"in the transformed space. See the R function 'dist'."]
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"opt": "--dimensions",
|
48
|
+
"arg": "integer",
|
49
|
+
"description": ["Dimensions to use in the NMDS. By default, 5% of",
|
50
|
+
"the selection length."]
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"opt": "--threads",
|
54
|
+
"arg": "integer",
|
55
|
+
"default": 2,
|
56
|
+
"description": "Number of threads to use."
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"opt": "--verbosity",
|
60
|
+
"arg": "integer",
|
61
|
+
"default": 1,
|
62
|
+
"description": ["Verbosity. Use 0 to run quietly, increase for",
|
63
|
+
"additional information."]
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"arg": "out_file",
|
67
|
+
"mandatory": true,
|
68
|
+
"description": "Output file with the TRIBS test R object."
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"name": "Bins",
|
72
|
+
"arg": "integer",
|
73
|
+
"default": 50,
|
74
|
+
"description": "Number of bins to evaluate in the range of distances."
|
75
|
+
}
|
76
76
|
]
|
77
77
|
},
|
78
78
|
{
|
@@ -86,75 +86,75 @@
|
|
86
86
|
"help_arg": "--help",
|
87
87
|
"options": [
|
88
88
|
{
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
89
|
+
"name": "Input TRIBS Test",
|
90
|
+
"opt": "--x",
|
91
|
+
"arg": "in_file",
|
92
|
+
"mandatory": true,
|
93
|
+
"description": "'enve.TRIBStest' object to plot."
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"opt": "--type",
|
97
|
+
"arg": "select",
|
98
|
+
"values": ["overlap","difference"],
|
99
|
+
"default": "overlap",
|
100
|
+
"description": ["What to plot. 'overlap' generates a plot of the two",
|
101
|
+
"contrasting empirical PDFs (to compare against each other),",
|
102
|
+
"'difference' produces a plot of the differences between the",
|
103
|
+
"empirical PDFs (to compare against zero)."]
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"opt": "--col",
|
107
|
+
"arg": "string",
|
108
|
+
"default": "#00000044",
|
109
|
+
"description": "Main color of the plot if type='difference'."
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"opt": "--col1",
|
113
|
+
"arg": "string",
|
114
|
+
"description": ["First color of the plot if 'Type' is overlap. 'Col'",
|
115
|
+
"by default."]
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"opt": "--col2",
|
119
|
+
"arg": "string",
|
120
|
+
"default": "#44001144",
|
121
|
+
"description": "Second color of the plot if 'Type' is overlap."
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"opt": "--ylab",
|
125
|
+
"arg": "string",
|
126
|
+
"default": "Probability",
|
127
|
+
"description": "Y-axis label."
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"opt": "--xlim",
|
131
|
+
"arg": "string",
|
132
|
+
"description": "X-axis limits, separate values by comma."
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"opt": "--ylim",
|
136
|
+
"arg": "string",
|
137
|
+
"description": "Y-axis limits, separate values by comma."
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"arg": "out_file",
|
141
|
+
"mandatory": true,
|
142
|
+
"description": "Output file in PDF format."
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"name": "Width",
|
146
|
+
"arg": "float",
|
147
|
+
"default": 7.0,
|
148
|
+
"mandatory": true,
|
149
|
+
"description": "Width of the plot in inches."
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"name": "Height",
|
153
|
+
"arg": "float",
|
154
|
+
"default": 7.0,
|
155
|
+
"mandatory": true,
|
156
|
+
"description": "Height of the plot in inches."
|
157
|
+
}
|
158
158
|
]
|
159
159
|
}
|
160
160
|
]
|
@@ -154,7 +154,7 @@
|
|
154
154
|
"description": ["Interpose sequences in FastA format from two files into",
|
155
155
|
"one output file. If more than two files are provided, the script will",
|
156
156
|
"interpose all the input files."],
|
157
|
-
"see_also": ["FastA.split.
|
157
|
+
"see_also": ["FastA.split.rb","FastQ.interpose.pl"],
|
158
158
|
"warn": ["Please note that this script will check for the consistency of",
|
159
159
|
"the names (assuming a pair of related reads contains the same name",
|
160
160
|
"varying only in a trailing slash (/) followed by a digit. If you want",
|
@@ -346,10 +346,58 @@
|
|
346
346
|
}
|
347
347
|
]
|
348
348
|
},
|
349
|
+
{
|
350
|
+
"task": "FastA.split.rb",
|
351
|
+
"description": ["Evenly splits a multi-FastA file into multiple",
|
352
|
+
"multi-FastA files."],
|
353
|
+
"see_also": ["FastA.interpose.pl","FastQ.split.pl"],
|
354
|
+
"help_arg": "--help",
|
355
|
+
"options": [
|
356
|
+
{
|
357
|
+
"opt": "--input",
|
358
|
+
"arg": "in_file",
|
359
|
+
"mandatory": true,
|
360
|
+
"description": "Input FastA file."
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"opt": "--prefix",
|
364
|
+
"arg": "out_file",
|
365
|
+
"mandatory": true,
|
366
|
+
"description": "Prefix of output FastA files."
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"opt": "--number",
|
370
|
+
"arg": "integer",
|
371
|
+
"default": 12,
|
372
|
+
"description": "Number of output files to produce."
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"opt": "--zero-padded",
|
376
|
+
"description": "Use zero-padded numbers as output index."
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"opt": "--lowercase-letters",
|
380
|
+
"description": "Use lowercase letters as output index."
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"name": "Output format",
|
384
|
+
"opt": "--out",
|
385
|
+
"arg": "string",
|
386
|
+
"default": "%s.%s.fa",
|
387
|
+
"description": ["Format of output filenames, where %s are replaced",
|
388
|
+
"by prefix and index."]
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"opt": "--quiet",
|
392
|
+
"description": "Run quietly (no STDERR output)."
|
393
|
+
}
|
394
|
+
]
|
395
|
+
},
|
349
396
|
{
|
350
397
|
"task": "FastA.split.pl",
|
351
398
|
"description": "Splits a FastA file into two or more files.",
|
352
|
-
"
|
399
|
+
"warn": "Deprecated in favor of FastA.split.rb.",
|
400
|
+
"see_also": ["FastA.split.rb","FastA.interpose.pl","FastQ.split.pl"],
|
353
401
|
"help_arg": "",
|
354
402
|
"options": [
|
355
403
|
{
|
@@ -477,7 +525,7 @@
|
|
477
525
|
"task": "FastA.per_file.pl",
|
478
526
|
"description": ["Extracts all the sequences in a multi-FastA into",
|
479
527
|
"multiple single-FastA files."],
|
480
|
-
"see_also": "FastA.split.
|
528
|
+
"see_also": "FastA.split.rb",
|
481
529
|
"help_arg": "",
|
482
530
|
"options": [
|
483
531
|
{
|