@datagrok/bio 2.8.2 → 2.8.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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "Leonid Stolbov",
6
6
  "email": "lstolbov@datagrok.ai"
7
7
  },
8
- "version": "2.8.2",
8
+ "version": "2.8.3",
9
9
  "description": "Bioinformatics support (import/export of sequences, conversion, visualization, analysis). [See more](https://github.com/datagrok-ai/public/blob/master/packages/Bio/README.md) for details.",
10
10
  "repository": {
11
11
  "type": "git",
package/src/package.ts CHANGED
@@ -246,7 +246,7 @@ export function webLogoViewer() {
246
246
  //tags: viewer, panel
247
247
  //meta.icon: files/icons/vdregions-viewer.svg
248
248
  //output: viewer result
249
- export function vdRegionViewer() {
249
+ export function vdRegionsViewer() {
250
250
  return new VdRegionsViewer();
251
251
  }
252
252
 
@@ -1,7 +0,0 @@
1
- numpy==1.16.6
2
- pandas==0.24.2
3
- python-dateutil==2.8.2
4
- pytz==2022.5
5
- scikit-learn==0.17.1
6
- scipy==1.2.3
7
- six==1.16.0
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env python2
2
- # -*- coding: utf-8 -*-
3
- """
4
- Created on Mon Feb 19 17:30:46 2018
5
-
6
- @author: cbdd
7
- """
8
- from sklearn.externals import joblib
9
- import numpy as np
10
- import pandas as pd
11
- import os
12
-
13
- ###################################### Load model ##########
14
- # current_path = os.path.split(os.path.realpath(__file__))[0]
15
- cf = joblib.load('CYP3A4-substrate.pkl')
16
-
17
- ###################################### Load descriptors ##########
18
- fingerprint_content = pd.read_csv('des.csv').ix[:, 1:]
19
- des_list = np.array(fingerprint_content)
20
-
21
- ###################################### Prediction ##########
22
- y_predict_label = cf.predict(des_list)
23
- y_predict_proba = cf.predict_proba(des_list)
24
- print('#' * 10 + 'Results labels' + '#' * 10)
25
- print(y_predict_label)
26
- print('#' * 10 + 'Results probabilities' + '#' * 10)
27
- print(y_predict_proba)