Commit aa5e2c6
authored
Use KEGG 118 HMM libraries in getKEGGModelForOrganism (#642)
* Use KEGG 118 HMM libraries in getKEGGModelForOrganism
Point getKEGGModelForOrganism at the kegg118 pre-trained HMM sets published in
the raven-toolbox v0.3.0 release. The recognised dataDir suffixes become
euk90_kegg118 / prok90_kegg118, and the auto-download URL fetches
kegg118_<domain>.hmm.gz from the v0.3.0 release (previously kegg116 from v0.1.0).
Only the two kegg118 HMM sets (eukaryotes, prokaryotes) are supported; earlier
KEGG releases are no longer offered for download. Update the tutorial5 example to
use euk90_kegg118 accordingly.
* Name HMM sets by published asset name, drop parallel domain array
getKEGGModelForOrganism recognised dataDir suffixes euk90_kegg118 / prok90_kegg118
but built the download URL from a second, index-aligned array (eukaryotes /
prokaryotes), and the published asset is named differently again
(kegg118_eukaryotes). Three names for one artefact.
Standardise on the published asset name: dataDir is now kegg118_eukaryotes /
kegg118_prokaryotes, so the local directory, the local .hmm library, and the
downloaded asset all share one name. The hmmDomains/hmmIndex parallel array is
removed -- the matched dataDir suffix doubles as the download filename. Docstring
and the tutorial5 example updated accordingly.1 parent a0cf12d commit aa5e2c6
2 files changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| |||
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
214 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments