phyloio 2.1.1 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Examples/Website/phyloio.html +0 -6
- package/dist/phylo.js +278 -245
- package/dist/src_worker_bcn_js.phylo.js +226 -226
- package/dist/src_worker_distance_js.phylo.js +211 -211
- package/{Examples/Website/src_worker_bcn_js.phylo.js → dist-jest/phylo.js} +1150 -234
- package/dist-jest/src_utils_js.phylo.js +21 -0
- package/dist-jest/src_worker_bcn_js.phylo.js +350 -0
- package/dist-jest/src_worker_distance_js.phylo.js +219 -0
- package/dist-jest/vendors-node_modules_biojs-io-newick_src_index_js-node_modules_minhashjs_index_js-node_module-7b40e5.phylo.js +1713 -0
- package/{Examples/Website/src_worker_distance_js.phylo.js → dist-jest/vendors-node_modules_d3_index_js-node_modules_file-saver_dist_FileSaver_min_js.phylo.js} +212 -310
- package/package.json +1 -1
- package/rerooting.test.js +297 -0
- package/src/container.js +14 -16
- package/src/interface.js +7 -6
- package/src/model.js +24 -22
- package/src/utils.js +9 -2
- package/src/viewer.js +6 -2
- package/Plot-ai-grant.ipynb +0 -296
- package/package-lock.json +0 -19607
- package/src/tmp +0 -12
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
+
* This devtool is neither made for production nor for readable output files.
|
|
4
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
+
* or disable the default devtool with "devtool: false".
|
|
7
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
+
*/
|
|
9
|
+
/******/ (() => { // webpackBootstrap
|
|
10
|
+
/******/ var __webpack_modules__ = ({
|
|
11
|
+
|
|
12
|
+
/***/ "./src/worker_distance.js":
|
|
13
|
+
/*!********************************!*\
|
|
14
|
+
!*** ./src/worker_distance.js ***!
|
|
15
|
+
\********************************/
|
|
16
|
+
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
17
|
+
|
|
18
|
+
eval("const { prepare_and_run_distance } = __webpack_require__(/*! ./utils.js */ \"./src/utils.js\")\n\nself.onmessage = (event) => {\n\n postMessage(prepare_and_run_distance(event.data.mod1,event.data.mod2 ));\n\n self.close();\n};\n\n\n\n\n//# sourceURL=webpack://PhyloIO/./src/worker_distance.js?");
|
|
19
|
+
|
|
20
|
+
/***/ })
|
|
21
|
+
|
|
22
|
+
/******/ });
|
|
23
|
+
/************************************************************************/
|
|
24
|
+
/******/ // The module cache
|
|
25
|
+
/******/ var __webpack_module_cache__ = {};
|
|
26
|
+
/******/
|
|
27
|
+
/******/ // The require function
|
|
28
|
+
/******/ function __webpack_require__(moduleId) {
|
|
29
|
+
/******/ // Check if module is in cache
|
|
30
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
31
|
+
/******/ if (cachedModule !== undefined) {
|
|
32
|
+
/******/ return cachedModule.exports;
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ // Create a new module (and put it into the cache)
|
|
35
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
36
|
+
/******/ // no module.id needed
|
|
37
|
+
/******/ // no module.loaded needed
|
|
38
|
+
/******/ exports: {}
|
|
39
|
+
/******/ };
|
|
40
|
+
/******/
|
|
41
|
+
/******/ // Execute the module function
|
|
42
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
43
|
+
/******/
|
|
44
|
+
/******/ // Return the exports of the module
|
|
45
|
+
/******/ return module.exports;
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/
|
|
48
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
49
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
50
|
+
/******/
|
|
51
|
+
/******/ // the startup function
|
|
52
|
+
/******/ __webpack_require__.x = () => {
|
|
53
|
+
/******/ // Load entry module and return exports
|
|
54
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
55
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["vendors-node_modules_d3_index_js-node_modules_file-saver_dist_FileSaver_min_js","src_utils_js"], () => (__webpack_require__("./src/worker_distance.js")))
|
|
56
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
57
|
+
/******/ return __webpack_exports__;
|
|
58
|
+
/******/ };
|
|
59
|
+
/******/
|
|
60
|
+
/************************************************************************/
|
|
61
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
62
|
+
/******/ (() => {
|
|
63
|
+
/******/ var deferred = [];
|
|
64
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
65
|
+
/******/ if(chunkIds) {
|
|
66
|
+
/******/ priority = priority || 0;
|
|
67
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
68
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
69
|
+
/******/ return;
|
|
70
|
+
/******/ }
|
|
71
|
+
/******/ var notFulfilled = Infinity;
|
|
72
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
73
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
74
|
+
/******/ var fulfilled = true;
|
|
75
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
76
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
77
|
+
/******/ chunkIds.splice(j--, 1);
|
|
78
|
+
/******/ } else {
|
|
79
|
+
/******/ fulfilled = false;
|
|
80
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
81
|
+
/******/ }
|
|
82
|
+
/******/ }
|
|
83
|
+
/******/ if(fulfilled) {
|
|
84
|
+
/******/ deferred.splice(i--, 1)
|
|
85
|
+
/******/ var r = fn();
|
|
86
|
+
/******/ if (r !== undefined) result = r;
|
|
87
|
+
/******/ }
|
|
88
|
+
/******/ }
|
|
89
|
+
/******/ return result;
|
|
90
|
+
/******/ };
|
|
91
|
+
/******/ })();
|
|
92
|
+
/******/
|
|
93
|
+
/******/ /* webpack/runtime/define property getters */
|
|
94
|
+
/******/ (() => {
|
|
95
|
+
/******/ // define getter functions for harmony exports
|
|
96
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
97
|
+
/******/ for(var key in definition) {
|
|
98
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
99
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
100
|
+
/******/ }
|
|
101
|
+
/******/ }
|
|
102
|
+
/******/ };
|
|
103
|
+
/******/ })();
|
|
104
|
+
/******/
|
|
105
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
106
|
+
/******/ (() => {
|
|
107
|
+
/******/ __webpack_require__.f = {};
|
|
108
|
+
/******/ // This file contains only the entry chunk.
|
|
109
|
+
/******/ // The chunk loading function for additional chunks
|
|
110
|
+
/******/ __webpack_require__.e = (chunkId) => {
|
|
111
|
+
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
112
|
+
/******/ __webpack_require__.f[key](chunkId, promises);
|
|
113
|
+
/******/ return promises;
|
|
114
|
+
/******/ }, []));
|
|
115
|
+
/******/ };
|
|
116
|
+
/******/ })();
|
|
117
|
+
/******/
|
|
118
|
+
/******/ /* webpack/runtime/get javascript chunk filename */
|
|
119
|
+
/******/ (() => {
|
|
120
|
+
/******/ // This function allow to reference async chunks and sibling chunks for the entrypoint
|
|
121
|
+
/******/ __webpack_require__.u = (chunkId) => {
|
|
122
|
+
/******/ // return url for filenames based on template
|
|
123
|
+
/******/ return "" + chunkId + ".phylo.js";
|
|
124
|
+
/******/ };
|
|
125
|
+
/******/ })();
|
|
126
|
+
/******/
|
|
127
|
+
/******/ /* webpack/runtime/global */
|
|
128
|
+
/******/ (() => {
|
|
129
|
+
/******/ __webpack_require__.g = (function() {
|
|
130
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
131
|
+
/******/ try {
|
|
132
|
+
/******/ return this || new Function('return this')();
|
|
133
|
+
/******/ } catch (e) {
|
|
134
|
+
/******/ if (typeof window === 'object') return window;
|
|
135
|
+
/******/ }
|
|
136
|
+
/******/ })();
|
|
137
|
+
/******/ })();
|
|
138
|
+
/******/
|
|
139
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
140
|
+
/******/ (() => {
|
|
141
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
142
|
+
/******/ })();
|
|
143
|
+
/******/
|
|
144
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
145
|
+
/******/ (() => {
|
|
146
|
+
/******/ // define __esModule on exports
|
|
147
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
148
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
149
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
150
|
+
/******/ }
|
|
151
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
152
|
+
/******/ };
|
|
153
|
+
/******/ })();
|
|
154
|
+
/******/
|
|
155
|
+
/******/ /* webpack/runtime/publicPath */
|
|
156
|
+
/******/ (() => {
|
|
157
|
+
/******/ __webpack_require__.p = "";
|
|
158
|
+
/******/ })();
|
|
159
|
+
/******/
|
|
160
|
+
/******/ /* webpack/runtime/importScripts chunk loading */
|
|
161
|
+
/******/ (() => {
|
|
162
|
+
/******/ // no baseURI
|
|
163
|
+
/******/
|
|
164
|
+
/******/ // object to store loaded chunks
|
|
165
|
+
/******/ // "1" means "already loaded"
|
|
166
|
+
/******/ var installedChunks = {
|
|
167
|
+
/******/ "src_worker_distance_js": 1
|
|
168
|
+
/******/ };
|
|
169
|
+
/******/
|
|
170
|
+
/******/ // importScripts chunk loading
|
|
171
|
+
/******/ var installChunk = (data) => {
|
|
172
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
173
|
+
/******/ for(var moduleId in moreModules) {
|
|
174
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
175
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
176
|
+
/******/ }
|
|
177
|
+
/******/ }
|
|
178
|
+
/******/ if(runtime) runtime(__webpack_require__);
|
|
179
|
+
/******/ while(chunkIds.length)
|
|
180
|
+
/******/ installedChunks[chunkIds.pop()] = 1;
|
|
181
|
+
/******/ parentChunkLoadingFunction(data);
|
|
182
|
+
/******/ };
|
|
183
|
+
/******/ __webpack_require__.f.i = (chunkId, promises) => {
|
|
184
|
+
/******/ // "1" is the signal for "already loaded"
|
|
185
|
+
/******/ if(!installedChunks[chunkId]) {
|
|
186
|
+
/******/ if(true) { // all chunks have JS
|
|
187
|
+
/******/ importScripts(__webpack_require__.p + __webpack_require__.u(chunkId));
|
|
188
|
+
/******/ }
|
|
189
|
+
/******/ }
|
|
190
|
+
/******/ };
|
|
191
|
+
/******/
|
|
192
|
+
/******/ var chunkLoadingGlobal = self["webpackChunkPhyloIO"] = self["webpackChunkPhyloIO"] || [];
|
|
193
|
+
/******/ var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);
|
|
194
|
+
/******/ chunkLoadingGlobal.push = installChunk;
|
|
195
|
+
/******/
|
|
196
|
+
/******/ // no HMR
|
|
197
|
+
/******/
|
|
198
|
+
/******/ // no HMR manifest
|
|
199
|
+
/******/ })();
|
|
200
|
+
/******/
|
|
201
|
+
/******/ /* webpack/runtime/startup chunk dependencies */
|
|
202
|
+
/******/ (() => {
|
|
203
|
+
/******/ var next = __webpack_require__.x;
|
|
204
|
+
/******/ __webpack_require__.x = () => {
|
|
205
|
+
/******/ return Promise.all([
|
|
206
|
+
/******/ __webpack_require__.e("vendors-node_modules_d3_index_js-node_modules_file-saver_dist_FileSaver_min_js"),
|
|
207
|
+
/******/ __webpack_require__.e("src_utils_js")
|
|
208
|
+
/******/ ]).then(next);
|
|
209
|
+
/******/ };
|
|
210
|
+
/******/ })();
|
|
211
|
+
/******/
|
|
212
|
+
/************************************************************************/
|
|
213
|
+
/******/
|
|
214
|
+
/******/ // run startup
|
|
215
|
+
/******/ var __webpack_exports__ = __webpack_require__.x();
|
|
216
|
+
/******/ module.exports.PhyloIO = __webpack_exports__;
|
|
217
|
+
/******/
|
|
218
|
+
/******/ })()
|
|
219
|
+
;
|