@datagrok/bio 2.1.12 → 2.4.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/.eslintrc.json +1 -1
- package/README.md +11 -12
- package/css/helm.css +10 -0
- package/detectors.js +97 -69
- package/dist/package-test.js +2 -13168
- package/dist/package-test.js.map +1 -0
- package/dist/package.js +2 -10560
- package/dist/package.js.map +1 -0
- package/dockerfiles/Dockerfile +86 -0
- package/files/icons/composition-analysis.svg +17 -0
- package/files/icons/sequence-diversity-viewer.svg +4 -0
- package/files/icons/sequence-similarity-viewer.svg +4 -0
- package/files/icons/vdregions-viewer.svg +22 -0
- package/files/icons/weblogo-viewer.svg +7 -0
- package/files/tests/testUrl.csv +11 -0
- package/files/tests/toAtomicLevelTest.csv +4 -0
- package/package.json +24 -25
- package/src/analysis/sequence-activity-cliffs.ts +11 -9
- package/src/analysis/sequence-search-base-viewer.ts +2 -1
- package/src/analysis/sequence-similarity-viewer.ts +3 -3
- package/src/analysis/sequence-space.ts +2 -1
- package/src/calculations/monomerLevelMols.ts +4 -4
- package/src/package-test.ts +10 -2
- package/src/package.ts +215 -131
- package/src/substructure-search/substructure-search.ts +19 -16
- package/src/tests/Palettes-test.ts +1 -1
- package/src/tests/WebLogo-positions-test.ts +113 -57
- package/src/tests/_first-tests.ts +9 -0
- package/src/tests/activity-cliffs-tests.ts +8 -7
- package/src/tests/activity-cliffs-utils.ts +17 -9
- package/src/tests/bio-tests.ts +4 -5
- package/src/tests/checkInputColumn-tests.ts +1 -1
- package/src/tests/converters-test.ts +52 -17
- package/src/tests/detectors-benchmark-tests.ts +3 -2
- package/src/tests/detectors-tests.ts +177 -172
- package/src/tests/detectors-weak-and-likely-tests.ts +129 -0
- package/src/tests/fasta-export-tests.ts +1 -1
- package/src/tests/monomer-libraries-tests.ts +34 -0
- package/src/tests/pepsea-tests.ts +21 -0
- package/src/tests/renderers-test.ts +21 -19
- package/src/tests/sequence-space-test.ts +6 -4
- package/src/tests/similarity-diversity-tests.ts +4 -4
- package/src/tests/splitters-test.ts +4 -5
- package/src/tests/substructure-filters-tests.ts +23 -1
- package/src/tests/utils/sequences-generators.ts +1 -1
- package/src/tests/utils.ts +2 -1
- package/src/tests/viewers.ts +16 -0
- package/src/utils/cell-renderer.ts +88 -35
- package/src/utils/constants.ts +7 -6
- package/src/utils/convert.ts +8 -2
- package/src/utils/monomer-lib.ts +174 -0
- package/src/utils/multiple-sequence-alignment.ts +44 -20
- package/src/utils/pepsea.ts +78 -0
- package/src/utils/save-as-fasta.ts +2 -1
- package/src/utils/ui-utils.ts +15 -3
- package/src/viewers/vd-regions-viewer.ts +113 -72
- package/src/viewers/web-logo-viewer.ts +1031 -0
- package/src/widgets/bio-substructure-filter.ts +38 -24
- package/tsconfig.json +71 -72
- package/webpack.config.js +4 -11
- package/dist/vendors-node_modules_datagrok-libraries_ml_src_workers_dimensionality-reducer_js.js +0 -9039
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Add ability to easily change python version
|
|
2
|
+
ARG PYTHON_VERSION=3.8
|
|
3
|
+
|
|
4
|
+
# Use our base image which is optimised and secured by our flow
|
|
5
|
+
FROM datagrok/python:${PYTHON_VERSION}
|
|
6
|
+
|
|
7
|
+
MAINTAINER Volodymyr Dyma <vdyma@datagrok.ai>
|
|
8
|
+
|
|
9
|
+
# Use pipefail to avoid errors after piping
|
|
10
|
+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
11
|
+
|
|
12
|
+
ARG HOME_DIR=/home/grok
|
|
13
|
+
# It is important to run docker container as user and not as root
|
|
14
|
+
RUN groupadd --gid 2001 grok ; \
|
|
15
|
+
useradd --system --create-home --home ${HOME_DIR} --gid grok --uid 1001 grok
|
|
16
|
+
|
|
17
|
+
# Remove unzip after unpacking
|
|
18
|
+
ARG DEBIAN_FRONTEND=noninteractive
|
|
19
|
+
RUN savedAptMark="$(apt-mark showmanual)" ; \
|
|
20
|
+
apt-get update ; \
|
|
21
|
+
apt-get install -y --no-install-recommends \
|
|
22
|
+
unzip \
|
|
23
|
+
wget \
|
|
24
|
+
; \
|
|
25
|
+
apt-mark auto '.*' > /dev/null ; \
|
|
26
|
+
[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark ; \
|
|
27
|
+
wget https://mafft.cbrc.jp/alignment/software/mafft_7.511-1_amd64.deb -O mafft.deb; \
|
|
28
|
+
apt install -y ./mafft.deb; \
|
|
29
|
+
rm -rf mafft.deb; \
|
|
30
|
+
wget https://github.com/Merck/PepSeA/archive/refs/heads/main.zip -O PepSeA.zip; \
|
|
31
|
+
unzip -q PepSeA.zip -d /opt ; \
|
|
32
|
+
rm -rf PepSeA.zip; \
|
|
33
|
+
chown -R grok:grok /opt/PepSeA-main ; \
|
|
34
|
+
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false ; \
|
|
35
|
+
apt-get clean ; \
|
|
36
|
+
rm -rf /var/lib/apt/lists/* /var/cache/* /var/tmp/* /tmp/* /opt/PepSeA-main/alignment/mafft /opt/PepSeA-main/local.env; \
|
|
37
|
+
sed -i "s/files = glob.glob(f'\*{timestamp}\*')/files = glob.glob(f'\*{timestamp}\*.txt')/" /opt/PepSeA-main/alignment/AlignSubPeptides.py; \
|
|
38
|
+
echo $'\n\
|
|
39
|
+
@api.get("/distout", response_class=PlainTextResponse)\n\
|
|
40
|
+
def distout():\n\
|
|
41
|
+
"""Returns the output of --distout parameter as a plain text."""\n\
|
|
42
|
+
\n\
|
|
43
|
+
distout_output = None\n\
|
|
44
|
+
\n\
|
|
45
|
+
for file in os.listdir("./"):\n\
|
|
46
|
+
if not file.endswith(".hat2"):\n\
|
|
47
|
+
continue\n\
|
|
48
|
+
\n\
|
|
49
|
+
path = os.path.join("./", file)\n\
|
|
50
|
+
with open(path, "r", encoding="utf-8") as f:\n\
|
|
51
|
+
distout_output = "".join(f.readlines())\n\
|
|
52
|
+
os.remove(path)\n\
|
|
53
|
+
break\n\
|
|
54
|
+
\n\
|
|
55
|
+
if distout_output is None:\n\
|
|
56
|
+
raise FileNotFoundError("distance matrix is not found")\n\
|
|
57
|
+
\n\
|
|
58
|
+
return distout_output\n' >> /opt/PepSeA-main/alignment/api.py;
|
|
59
|
+
|
|
60
|
+
USER grok:grok
|
|
61
|
+
|
|
62
|
+
# Command source does not work for Docker, cause it will apply only to one layer
|
|
63
|
+
# The PATH works better for Docker
|
|
64
|
+
ARG VIRTUAL_ENV=${HOME_DIR}/venv
|
|
65
|
+
ENV PATH "${VIRTUAL_ENV}/bin:$PATH"
|
|
66
|
+
RUN mkdir -p ${VIRTUAL_ENV} ; \
|
|
67
|
+
python -m venv ${VIRTUAL_ENV} ; \
|
|
68
|
+
pip install --no-cache-dir --upgrade pip ; \
|
|
69
|
+
pip install --no-cache-dir --upgrade wheel setuptools ; \
|
|
70
|
+
pip install --timeout 3600 --no-cache-dir \
|
|
71
|
+
--requirement /opt/PepSeA-main/requirements.txt ; \
|
|
72
|
+
find ${VIRTUAL_ENV} -type d \( -path *tensorflow \) -prune -false -depth \( \
|
|
73
|
+
\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \
|
|
74
|
+
-o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
|
|
75
|
+
\) -exec rm -rf '{}' + ; \
|
|
76
|
+
rm -rf /var/cache/* /var/tmp/* /tmp/*
|
|
77
|
+
|
|
78
|
+
WORKDIR /opt/PepSeA-main
|
|
79
|
+
|
|
80
|
+
ENV ADD_HTTPS_MIDDLEWARE=""
|
|
81
|
+
ENV MAFFT_DIR="/usr/bin/"
|
|
82
|
+
|
|
83
|
+
# CMD can be changed easially, you need ENTRYPOINT in this case
|
|
84
|
+
ENTRYPOINT ["uvicorn", "--host", "0.0.0.0", "alignment.api:api"]
|
|
85
|
+
|
|
86
|
+
EXPOSE 8000
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5.09159 19.0731C5.25062 19.0731 5.39262 19.0404 5.51757 18.975C5.64253 18.9097 5.74192 18.8176 5.81576 18.6988C5.89244 18.5799 5.93362 18.4418 5.9393 18.2843H7C6.99432 18.6111 6.90628 18.9037 6.73589 19.1622C6.5655 19.4207 6.3383 19.6257 6.05431 19.7772C5.77316 19.9257 5.45793 20 5.10863 20C4.75364 20 4.44409 19.9376 4.17998 19.8128C3.91587 19.6881 3.69578 19.5143 3.5197 19.2914C3.34647 19.0686 3.21583 18.8102 3.1278 18.516C3.0426 18.2219 3 17.907 3 17.5713V17.4287C3 17.093 3.0426 16.7781 3.1278 16.484C3.21583 16.1898 3.34647 15.9314 3.5197 15.7086C3.69578 15.4857 3.91587 15.3119 4.17998 15.1872C4.44409 15.0624 4.75222 15 5.10437 15C5.47639 15 5.80298 15.0758 6.08413 15.2273C6.36812 15.3788 6.58963 15.5927 6.74867 15.869C6.91054 16.1453 6.99432 16.4706 7 16.8449H5.9393C5.93362 16.6726 5.8967 16.5181 5.82854 16.3815C5.76038 16.2448 5.66383 16.1349 5.53887 16.0517C5.41392 15.9685 5.26198 15.9269 5.08307 15.9269C4.89279 15.9269 4.73376 15.9685 4.60596 16.0517C4.48101 16.1349 4.38303 16.2493 4.31203 16.3948C4.24388 16.5374 4.1956 16.6979 4.1672 16.8761C4.14164 17.0514 4.12886 17.2356 4.12886 17.4287V17.5713C4.12886 17.7674 4.14164 17.9545 4.1672 18.1328C4.1956 18.3111 4.24388 18.4715 4.31203 18.6141C4.38303 18.7537 4.48101 18.8651 4.60596 18.9483C4.73376 19.0315 4.89563 19.0731 5.09159 19.0731Z" fill="#A2AEBA"/>
|
|
3
|
+
<path d="M31.0916 19.0731C31.2506 19.0731 31.3926 19.0404 31.5176 18.975C31.6425 18.9097 31.7419 18.8176 31.8158 18.6988C31.8924 18.5799 31.9336 18.4418 31.9393 18.2843H33C32.9943 18.6111 32.9063 18.9037 32.7359 19.1622C32.5655 19.4207 32.3383 19.6257 32.0543 19.7772C31.7732 19.9257 31.4579 20 31.1086 20C30.7536 20 30.4441 19.9376 30.18 19.8128C29.9159 19.6881 29.6958 19.5143 29.5197 19.2914C29.3465 19.0686 29.2158 18.8102 29.1278 18.516C29.0426 18.2219 29 17.907 29 17.5713V17.4287C29 17.093 29.0426 16.7781 29.1278 16.484C29.2158 16.1898 29.3465 15.9314 29.5197 15.7086C29.6958 15.4857 29.9159 15.3119 30.18 15.1872C30.4441 15.0624 30.7522 15 31.1044 15C31.4764 15 31.803 15.0758 32.0841 15.2273C32.3681 15.3788 32.5896 15.5927 32.7487 15.869C32.9105 16.1453 32.9943 16.4706 33 16.8449H31.9393C31.9336 16.6726 31.8967 16.5181 31.8285 16.3815C31.7604 16.2448 31.6638 16.1349 31.5389 16.0517C31.4139 15.9685 31.262 15.9269 31.0831 15.9269C30.8928 15.9269 30.7338 15.9685 30.606 16.0517C30.481 16.1349 30.383 16.2493 30.312 16.3948C30.2439 16.5374 30.1956 16.6979 30.1672 16.8761C30.1416 17.0514 30.1289 17.2356 30.1289 17.4287V17.5713C30.1289 17.7674 30.1416 17.9545 30.1672 18.1328C30.1956 18.3111 30.2439 18.4715 30.312 18.6141C30.383 18.7537 30.481 18.8651 30.606 18.9483C30.7338 19.0315 30.8956 19.0731 31.0916 19.0731Z" fill="#A2AEBA"/>
|
|
4
|
+
<path d="M19.7242 11.5179L16.9472 20H15L18.6401 10H19.8848L19.7242 11.5179ZM22.0461 20L19.2558 11.5179L19.0885 10H20.3398L24 20H22.0461ZM21.919 16.2843V17.7747H16.6929V16.2843H21.919Z" fill="#A2AEBA"/>
|
|
5
|
+
<path d="M27.9906 5V20H24.954V5H27.9906ZM33 5V8.21746H20V5H33Z" fill="#50C587"/>
|
|
6
|
+
<path d="M14 15.8691V18.8991C13.891 19.0452 13.7189 19.2037 13.4838 19.3747C13.2521 19.5458 12.9489 19.6936 12.5741 19.8183C12.1993 19.9394 11.7394 20 11.1942 20C10.7206 20 10.2879 19.9181 9.89608 19.7542C9.50426 19.5867 9.16695 19.3427 8.88416 19.022C8.60136 18.7014 8.3833 18.3095 8.22998 17.8464C8.07666 17.3832 8 16.8542 8 16.2592V15.7462C8 15.1512 8.07155 14.6221 8.21465 14.159C8.36116 13.6958 8.56899 13.3039 8.83816 12.9833C9.11073 12.6627 9.43612 12.4186 9.81431 12.2512C10.1959 12.0837 10.6218 12 11.092 12C11.7223 12 12.2402 12.1087 12.6457 12.326C13.0545 12.5433 13.368 12.8426 13.586 13.2238C13.8041 13.6014 13.9404 14.0361 13.9949 14.5277H12.6252C12.5877 14.257 12.5128 14.02 12.4003 13.817C12.2879 13.6103 12.1278 13.45 11.9199 13.336C11.7155 13.2184 11.4497 13.1597 11.1227 13.1597C10.8467 13.1597 10.6031 13.2167 10.3918 13.3307C10.1806 13.4447 10.0034 13.6103 9.86031 13.8277C9.71721 14.045 9.60818 14.314 9.53322 14.6346C9.46167 14.9552 9.42589 15.3222 9.42589 15.7355V16.2592C9.42589 16.676 9.46678 17.0465 9.54855 17.3707C9.63032 17.6914 9.74787 17.9621 9.90119 18.183C10.0579 18.4004 10.2504 18.566 10.4787 18.68C10.7104 18.7905 10.9727 18.8457 11.2658 18.8457C11.5315 18.8457 11.7513 18.8225 11.925 18.7762C12.1022 18.7263 12.2436 18.6676 12.3492 18.5999C12.4549 18.5322 12.5366 18.4663 12.5945 18.4021V16.9432H11.1175V15.8691H14Z" fill="#48A7F3"/>
|
|
7
|
+
<path d="M3 24L18.5 24L34 24" stroke="#A2AEBA"/>
|
|
8
|
+
<path d="M11 26H3V27H11V26Z" fill="#CAD6E2"/>
|
|
9
|
+
<path d="M11 28H3V29H11V28Z" fill="#CAD6E2"/>
|
|
10
|
+
<path d="M29 26H13V27H29V26Z" fill="#CAD6E2"/>
|
|
11
|
+
<path d="M29 28H13V29H29V28Z" fill="#CAD6E2"/>
|
|
12
|
+
<path d="M34 26H30V27H34V26Z" fill="#CAD6E2"/>
|
|
13
|
+
<path d="M34 28H30V29H34V28Z" fill="#CAD6E2"/>
|
|
14
|
+
<path d="M11 30H3V31H11V30Z" fill="#CAD6E2"/>
|
|
15
|
+
<path d="M29 30H13V31H29V30Z" fill="#CAD6E2"/>
|
|
16
|
+
<path d="M34 30H30V31H34V30Z" fill="#CAD6E2"/>
|
|
17
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.50758 23.3837C9.13339 22.5289 9.43579 21.7568 9.5615 20.9309C9.64868 20.3603 9.65491 19.7521 9.62572 19.0695L9.96742 19.087V19.0851C10.1897 19.1011 10.4173 19.1081 10.6403 19.1194L10.661 19.1202C10.6882 19.8255 10.6773 20.466 10.5823 21.0886C10.4313 22.0785 10.0748 22.9957 9.33966 24L8.50758 23.3837ZM6.68229 18.5546L8.99407 20.8731L8.79908 21.8037L5.81556 18.8115C5.40653 18.9715 5.00917 19.1881 4.6262 19.4793L4 18.6565C5.92103 17.1955 7.98646 17.3025 10.0554 17.4094C10.2889 17.4215 10.5224 17.4336 10.71 17.4418C11.5292 17.477 12.3423 17.4836 13.1226 17.3536L11.061 15.2861L11.2556 14.3552L14.0235 17.1308C14.5731 16.9454 15.1098 16.6628 15.6289 16.2389L11.7495 12.3486C11.0494 13.1128 10.7232 13.9496 10.5886 14.8392C10.4948 15.4578 10.4917 16.112 10.5212 16.7892L10.1239 16.7689C10.1013 16.7666 10.0787 16.7654 10.0554 16.7654C9.86546 16.7557 9.67592 16.7459 9.486 16.7373C9.45798 16.0375 9.46615 15.3525 9.56773 14.6815C9.73508 13.5749 10.1523 12.5308 11.0626 11.571C12.034 10.5464 13.0735 10.0101 14.1496 9.74161C15.0047 9.5281 15.8664 9.48751 16.7296 9.5039C16.7416 9.70843 16.7556 9.91842 16.7708 10.1351C16.7806 10.2713 16.7899 10.4067 16.7988 10.5418C16.1423 10.5262 15.4931 10.5425 14.8654 10.6487L16.9713 12.7607L16.7763 13.6913L13.9659 10.8728C13.404 11.064 12.8548 11.3571 12.3247 11.7994L16.2096 15.6956C16.9378 14.9192 17.274 14.0675 17.4114 13.1612C17.5562 12.2065 17.4854 11.1663 17.4099 10.0886C17.3246 8.87198 17.2713 7.87041 17.4177 6.9114C17.5687 5.92194 17.9252 5.00429 18.6603 4L19.492 4.61671C18.8666 5.47151 18.5642 6.24356 18.4381 7.06909C18.3077 7.92506 18.3587 8.86612 18.4389 10.0141C18.5187 11.1534 18.5934 12.2533 18.4323 13.3189C18.2645 14.4254 17.8477 15.4692 16.9374 16.4294C15.966 17.4539 14.9265 17.9902 13.8504 18.2588C12.796 18.5219 11.732 18.5226 10.6672 18.477C10.415 18.466 10.2079 18.4555 10.0013 18.4446C8.87536 18.3864 7.75061 18.3283 6.68229 18.5546ZM21.2274 9.46409L18.995 7.22521L19.19 6.29469L22.1058 9.21897C22.5421 9.05621 22.9663 8.8306 23.3738 8.52069L24 9.34387C22.4436 10.5269 20.7935 10.6819 19.1231 10.6409C19.1091 10.4176 19.0935 10.1936 19.0779 9.9676C19.069 9.84309 19.0608 9.72131 19.053 9.60148C19.7909 9.62178 20.521 9.60304 21.2274 9.46409Z" fill="#50C587"/>
|
|
3
|
+
<path d="M16.5076 31.3837C17.1334 30.5289 17.4358 29.7568 17.5615 28.9309C17.6487 28.3603 17.6549 27.7521 17.6257 27.0695L17.9674 27.087V27.0851C18.1897 27.1011 18.4173 27.1081 18.6403 27.1194L18.661 27.1202C18.6882 27.8255 18.6773 28.466 18.5823 29.0886C18.4313 30.0785 18.0748 30.9957 17.3397 32L16.5076 31.3837ZM14.6823 26.5546L16.9941 28.8731L16.7991 29.8037L13.8156 26.8115C13.4065 26.9715 13.0092 27.1881 12.6262 27.4793L12 26.6565C13.921 25.1955 15.9865 25.3025 18.0554 25.4094C18.2889 25.4215 18.5224 25.4336 18.71 25.4418C19.5292 25.477 20.3423 25.4836 21.1226 25.3536L19.061 23.2861L19.2556 22.3552L22.0235 25.1308C22.5731 24.9454 23.1098 24.6628 23.6289 24.2389L19.7495 20.3486C19.0494 21.1128 18.7232 21.9496 18.5886 22.8392C18.4948 23.4578 18.4917 24.112 18.5212 24.7892L18.1239 24.7689C18.1013 24.7666 18.0787 24.7654 18.0554 24.7654C17.8655 24.7557 17.6759 24.7459 17.486 24.7373C17.458 24.0375 17.4662 23.3525 17.5677 22.6815C17.7351 21.5749 18.1523 20.5308 19.0626 19.571C20.034 18.5464 21.0735 18.0101 22.1496 17.7416C23.0047 17.5281 23.8664 17.4875 24.7296 17.5039C24.7416 17.7084 24.7556 17.9184 24.7708 18.1351C24.7806 18.2713 24.7899 18.4067 24.7988 18.5418C24.1423 18.5262 23.4931 18.5425 22.8654 18.6487L24.9713 20.7607L24.7763 21.6913L21.9659 18.8728C21.404 19.064 20.8548 19.3571 20.3247 19.7994L24.2096 23.6956C24.9378 22.9192 25.274 22.0675 25.4114 21.1612C25.5562 20.2065 25.4854 19.1663 25.4099 18.0886C25.3246 16.872 25.2713 15.8704 25.4177 14.9114C25.5687 13.9219 25.9252 13.0043 26.6603 12L27.492 12.6167C26.8666 13.4715 26.5642 14.2436 26.4381 15.0691C26.3077 15.9251 26.3587 16.8661 26.4389 18.0141C26.5187 19.1534 26.5934 20.2533 26.4323 21.3189C26.2645 22.4254 25.8477 23.4692 24.9374 24.4294C23.966 25.4539 22.9265 25.9902 21.8504 26.2588C20.796 26.5219 19.732 26.5226 18.6672 26.477C18.415 26.466 18.2079 26.4555 18.0013 26.4446C16.8754 26.3864 15.7506 26.3283 14.6823 26.5546ZM29.2274 17.4641L26.995 15.2252L27.19 14.2947L30.1058 17.219C30.5421 17.0562 30.9663 16.8306 31.3738 16.5207L32 17.3439C30.4436 18.5269 28.7935 18.6819 27.1231 18.6409C27.1091 18.4176 27.0935 18.1936 27.0779 17.9676C27.069 17.8431 27.0608 17.7213 27.053 17.6015C27.7909 17.6218 28.521 17.603 29.2274 17.4641Z" fill="#48A7F3"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.50758 23.3837C9.13339 22.5289 9.43579 21.7568 9.5615 20.9309C9.64868 20.3603 9.65491 19.7521 9.62572 19.0695L9.96742 19.087V19.0851C10.1897 19.1011 10.4173 19.1081 10.6403 19.1194L10.661 19.1202C10.6882 19.8255 10.6773 20.466 10.5823 21.0886C10.4313 22.0785 10.0748 22.9957 9.33966 24L8.50758 23.3837ZM6.68229 18.5546L8.99407 20.8731L8.79908 21.8037L5.81556 18.8115C5.40653 18.9715 5.00917 19.1881 4.6262 19.4793L4 18.6565C5.92103 17.1955 7.98646 17.3025 10.0554 17.4094C10.2889 17.4215 10.5224 17.4336 10.71 17.4418C11.5292 17.477 12.3423 17.4836 13.1226 17.3536L11.061 15.2861L11.2556 14.3552L14.0235 17.1308C14.5731 16.9454 15.1098 16.6628 15.6289 16.2389L11.7495 12.3486C11.0494 13.1128 10.7232 13.9496 10.5886 14.8392C10.4948 15.4578 10.4917 16.112 10.5212 16.7892L10.1239 16.7689C10.1013 16.7666 10.0787 16.7654 10.0554 16.7654C9.86546 16.7557 9.67592 16.7459 9.486 16.7373C9.45798 16.0375 9.46615 15.3525 9.56773 14.6815C9.73508 13.5749 10.1523 12.5308 11.0626 11.571C12.034 10.5464 13.0735 10.0101 14.1496 9.74161C15.0047 9.5281 15.8664 9.48751 16.7296 9.5039C16.7416 9.70843 16.7556 9.91842 16.7708 10.1351C16.7806 10.2713 16.7899 10.4067 16.7988 10.5418C16.1423 10.5262 15.4931 10.5425 14.8654 10.6487L16.9713 12.7607L16.7763 13.6913L13.9659 10.8728C13.404 11.064 12.8548 11.3571 12.3247 11.7994L16.2096 15.6956C16.9378 14.9192 17.274 14.0675 17.4114 13.1612C17.5562 12.2065 17.4854 11.1663 17.4099 10.0886C17.3246 8.87198 17.2713 7.87041 17.4177 6.9114C17.5687 5.92194 17.9252 5.00429 18.6603 4L19.492 4.61671C18.8666 5.47151 18.5642 6.24356 18.4381 7.06909C18.3077 7.92506 18.3587 8.86612 18.4389 10.0141C18.5187 11.1534 18.5934 12.2533 18.4323 13.3189C18.2645 14.4254 17.8477 15.4692 16.9374 16.4294C15.966 17.4539 14.9265 17.9902 13.8504 18.2588C12.796 18.5219 11.732 18.5226 10.6672 18.477C10.415 18.466 10.2079 18.4555 10.0013 18.4446C8.87536 18.3864 7.75061 18.3283 6.68229 18.5546ZM21.2274 9.46409L18.995 7.22521L19.19 6.29469L22.1058 9.21897C22.5421 9.05621 22.9663 8.8306 23.3738 8.52069L24 9.34387C22.4436 10.5269 20.7935 10.6819 19.1231 10.6409C19.1091 10.4176 19.0935 10.1936 19.0779 9.9676C19.069 9.84309 19.0608 9.72131 19.053 9.60148C19.7909 9.62178 20.521 9.60304 21.2274 9.46409Z" fill="#50C587"/>
|
|
3
|
+
<path d="M16.5076 31.3837C17.1334 30.5289 17.4358 29.7568 17.5615 28.9309C17.6487 28.3603 17.6549 27.7521 17.6257 27.0695L17.9674 27.087V27.0851C18.1897 27.1011 18.4173 27.1081 18.6403 27.1194L18.661 27.1202C18.6882 27.8255 18.6773 28.466 18.5823 29.0886C18.4313 30.0785 18.0748 30.9957 17.3397 32L16.5076 31.3837ZM14.6823 26.5546L16.9941 28.8731L16.7991 29.8037L13.8156 26.8115C13.4065 26.9715 13.0092 27.1881 12.6262 27.4793L12 26.6565C13.921 25.1955 15.9865 25.3025 18.0554 25.4094C18.2889 25.4215 18.5224 25.4336 18.71 25.4418C19.5292 25.477 20.3423 25.4836 21.1226 25.3536L19.061 23.2861L19.2556 22.3552L22.0235 25.1308C22.5731 24.9454 23.1098 24.6628 23.6289 24.2389L19.7495 20.3486C19.0494 21.1128 18.7232 21.9496 18.5886 22.8392C18.4948 23.4578 18.4917 24.112 18.5212 24.7892L18.1239 24.7689C18.1013 24.7666 18.0787 24.7654 18.0554 24.7654C17.8655 24.7557 17.6759 24.7459 17.486 24.7373C17.458 24.0375 17.4662 23.3525 17.5677 22.6815C17.7351 21.5749 18.1523 20.5308 19.0626 19.571C20.034 18.5464 21.0735 18.0101 22.1496 17.7416C23.0047 17.5281 23.8664 17.4875 24.7296 17.5039C24.7416 17.7084 24.7556 17.9184 24.7708 18.1351C24.7806 18.2713 24.7899 18.4067 24.7988 18.5418C24.1423 18.5262 23.4931 18.5425 22.8654 18.6487L24.9713 20.7607L24.7763 21.6913L21.9659 18.8728C21.404 19.064 20.8548 19.3571 20.3247 19.7994L24.2096 23.6956C24.9378 22.9192 25.274 22.0675 25.4114 21.1612C25.5562 20.2065 25.4854 19.1663 25.4099 18.0886C25.3246 16.872 25.2713 15.8704 25.4177 14.9114C25.5687 13.9219 25.9252 13.0043 26.6603 12L27.492 12.6167C26.8666 13.4715 26.5642 14.2436 26.4381 15.0691C26.3077 15.9251 26.3587 16.8661 26.4389 18.0141C26.5187 19.1534 26.5934 20.2533 26.4323 21.3189C26.2645 22.4254 25.8477 23.4692 24.9374 24.4294C23.966 25.4539 22.9265 25.9902 21.8504 26.2588C20.796 26.5219 19.732 26.5226 18.6672 26.477C18.415 26.466 18.2079 26.4555 18.0013 26.4446C16.8754 26.3864 15.7506 26.3283 14.6823 26.5546ZM29.2274 17.4641L26.995 15.2252L27.19 14.2947L30.1058 17.219C30.5421 17.0562 30.9663 16.8306 31.3738 16.5207L32 17.3439C30.4436 18.5269 28.7935 18.6819 27.1231 18.6409C27.1091 18.4176 27.0935 18.1936 27.0779 17.9676C27.069 17.8431 27.0608 17.7213 27.053 17.6015C27.7909 17.6218 28.521 17.603 29.2274 17.4641Z" fill="#50C587" fill-opacity="0.5"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M10 10.3527V13.7615C9.92731 13.9259 9.81261 14.1042 9.65588 14.2966C9.50142 14.489 9.29926 14.6553 9.0494 14.7956C8.79955 14.9319 8.4929 15 8.12947 15C7.81374 15 7.52527 14.9078 7.26405 14.7234C7.00284 14.5351 6.77797 14.2605 6.58944 13.8998C6.40091 13.5391 6.25554 13.0982 6.15332 12.5772C6.05111 12.0561 6 11.4609 6 10.7916V10.2144C6 9.54509 6.0477 8.9499 6.1431 8.42886C6.24077 7.90782 6.37933 7.46693 6.55877 7.10621C6.74049 6.74549 6.95741 6.47094 7.20954 6.28257C7.46394 6.09419 7.74787 6 8.06133 6C8.48154 6 8.8268 6.12224 9.0971 6.36673C9.36968 6.61122 9.57865 6.9479 9.72402 7.37675C9.86939 7.8016 9.96025 8.29058 9.99659 8.84369H9.08348C9.05849 8.53908 9.00852 8.27255 8.93356 8.04409C8.8586 7.81162 8.75185 7.63126 8.61329 7.50301C8.477 7.37074 8.29983 7.30461 8.08177 7.30461C7.89779 7.30461 7.73538 7.36874 7.59455 7.49699C7.45372 7.62525 7.3356 7.81162 7.2402 8.05611C7.1448 8.3006 7.07212 8.60321 7.02215 8.96393C6.97445 9.32465 6.9506 9.73747 6.9506 10.2024V10.7916C6.9506 11.2605 6.97785 11.6774 7.03237 12.0421C7.08688 12.4028 7.16525 12.7074 7.26746 12.9559C7.37195 13.2004 7.50028 13.3868 7.65247 13.515C7.80693 13.6393 7.98183 13.7014 8.17717 13.7014C8.35434 13.7014 8.50085 13.6754 8.61669 13.6232C8.73481 13.5671 8.82907 13.501 8.89949 13.4248C8.9699 13.3487 9.02442 13.2745 9.06303 13.2024V11.5611H8.07836V10.3527H10Z" fill="#48A7F3"/>
|
|
3
|
+
<path d="M14.3486 11V15H12.6332V11H14.3486ZM16 11V12.2628H11V11H16Z" fill="#50C587"/>
|
|
4
|
+
<path d="M24.688 8V15H23.2864V8H24.688ZM27 8V9.20994H21V8H27Z" fill="#50C587"/>
|
|
5
|
+
<path d="M12.324 9.42514L13.1661 7H13.622L13.651 7.51099L12.7509 10H12.2689L12.324 9.42514ZM11.7927 7L12.4837 9.4169V10H11.9582L11 7H11.7927ZM14.525 9.40659L15.2044 7H16L15.0418 10H14.5163L14.525 9.40659ZM13.8397 7L14.6818 9.43338L14.7311 10H14.2491L13.3519 7.50893L13.3868 7H13.8397Z" fill="#A2AEBA"/>
|
|
6
|
+
<path d="M17.0592 29.6168L17.7329 28H18.0976L18.1208 28.3407L17.4007 30H17.0151L17.0592 29.6168ZM16.6341 28L17.187 29.6113V30H16.7666L16 28H16.6341ZM18.82 29.6044L19.3635 28H20L19.2334 30H18.813L18.82 29.6044ZM18.2718 28L18.9454 29.6223L18.9849 30H18.5993L17.8815 28.3393L17.9094 28H18.2718Z" fill="#A2AEBA" stroke="#A2AEBA" stroke-width="0.25"/>
|
|
7
|
+
<path d="M16.8787 9L17.5 11.6044L18.1236 9H19L17.915 12.8448V15H17.0873V12.8448L16 9H16.8787Z" fill="#A2AEBA"/>
|
|
8
|
+
<path d="M27.1716 24L28 26.6044L28.8315 24H30L28.5533 27.8448V30H27.4498V27.8448L26 24H27.1716Z" fill="#50C587"/>
|
|
9
|
+
<path d="M21.1396 13.7275C21.1396 13.6637 21.118 13.609 21.0747 13.5635C21.0337 13.5156 20.9608 13.4723 20.856 13.4336C20.7511 13.3926 20.6042 13.3516 20.415 13.3105C20.235 13.2718 20.0653 13.2205 19.9058 13.1567C19.7485 13.0929 19.6107 13.0155 19.4922 12.9243C19.3737 12.8332 19.2803 12.7249 19.2119 12.5996C19.1458 12.4743 19.1128 12.3307 19.1128 12.1689C19.1128 12.0117 19.1458 11.8636 19.2119 11.7246C19.2803 11.5833 19.3794 11.4591 19.5093 11.3521C19.6414 11.2427 19.8021 11.1572 19.9912 11.0957C20.1803 11.0319 20.3957 11 20.6372 11C20.9699 11 21.257 11.0513 21.4985 11.1538C21.7401 11.2541 21.9258 11.3953 22.0557 11.5776C22.1878 11.7576 22.2539 11.9661 22.2539 12.2031H21.1021C21.1021 12.1097 21.0861 12.0299 21.0542 11.9639C21.0246 11.8978 20.9756 11.8477 20.9072 11.8135C20.8389 11.777 20.7477 11.7588 20.6338 11.7588C20.554 11.7588 20.4811 11.7736 20.415 11.8032C20.3512 11.8328 20.3 11.8739 20.2612 11.9263C20.2225 11.9787 20.2031 12.0402 20.2031 12.1108C20.2031 12.161 20.2145 12.2065 20.2373 12.2476C20.2624 12.2863 20.3 12.3228 20.3501 12.3569C20.4002 12.3888 20.464 12.4185 20.5415 12.4458C20.619 12.4709 20.7124 12.4937 20.8218 12.5142C21.0701 12.5597 21.3026 12.6247 21.519 12.709C21.7355 12.7933 21.911 12.9129 22.0454 13.0679C22.1821 13.2228 22.2505 13.4313 22.2505 13.6934C22.2505 13.8574 22.2129 14.009 22.1377 14.1479C22.0625 14.2847 21.9543 14.4054 21.813 14.5103C21.6717 14.6128 21.502 14.6925 21.3037 14.7495C21.1055 14.8065 20.8822 14.835 20.6338 14.835C20.2806 14.835 19.9821 14.7723 19.7383 14.647C19.4945 14.5194 19.3099 14.3599 19.1846 14.1685C19.0615 13.9748 19 13.7788 19 13.5806H20.0732C20.0778 13.6945 20.1051 13.7879 20.1553 13.8608C20.2077 13.9338 20.2772 13.9873 20.3638 14.0215C20.4504 14.0557 20.5506 14.0728 20.6646 14.0728C20.7694 14.0728 20.856 14.0579 20.9243 14.0283C20.995 13.9987 21.0485 13.9588 21.085 13.9087C21.1214 13.8563 21.1396 13.7959 21.1396 13.7275Z" fill="#A2AEBA"/>
|
|
10
|
+
<path d="M29.3151 10.1337C29.3151 10.0838 29.3018 10.041 29.2752 10.0053C29.25 9.96791 29.2052 9.93405 29.1408 9.90374C29.0763 9.87166 28.986 9.83957 28.8697 9.80749C28.7591 9.77718 28.6548 9.73708 28.5567 9.68717C28.4601 9.63725 28.3754 9.57665 28.3025 9.50535C28.2297 9.43405 28.1723 9.34938 28.1303 9.25134C28.0896 9.1533 28.0693 9.041 28.0693 8.91444C28.0693 8.79144 28.0896 8.67558 28.1303 8.56684C28.1723 8.45633 28.2332 8.35918 28.313 8.2754C28.3943 8.18984 28.493 8.12299 28.6092 8.07487C28.7255 8.02496 28.8578 8 29.0063 8C29.2108 8 29.3873 8.04011 29.5357 8.12032C29.6842 8.19875 29.7983 8.30927 29.8782 8.45187C29.9594 8.59269 30 8.75579 30 8.94118H29.292C29.292 8.86809 29.2822 8.8057 29.2626 8.75401C29.2444 8.70232 29.2143 8.6631 29.1723 8.63636C29.1303 8.60784 29.0742 8.59358 29.0042 8.59358C28.9552 8.59358 28.9104 8.60517 28.8697 8.62834C28.8305 8.65152 28.799 8.6836 28.7752 8.7246C28.7514 8.7656 28.7395 8.81373 28.7395 8.86898C28.7395 8.9082 28.7465 8.94385 28.7605 8.97594C28.7759 9.00624 28.799 9.03476 28.8298 9.0615C28.8606 9.08645 28.8999 9.10963 28.9475 9.13102C28.9951 9.15062 29.0525 9.16845 29.1197 9.18449C29.2724 9.22014 29.4153 9.27094 29.5483 9.3369C29.6814 9.40285 29.7892 9.49643 29.8718 9.61765C29.9559 9.73886 29.9979 9.90196 29.9979 10.107C29.9979 10.2353 29.9748 10.3538 29.9286 10.4626C29.8824 10.5695 29.8158 10.664 29.729 10.746C29.6422 10.8262 29.5378 10.8886 29.416 10.9332C29.2941 10.9777 29.1569 11 29.0042 11C28.7871 11 28.6036 10.951 28.4538 10.8529C28.3039 10.7531 28.1905 10.6283 28.1134 10.4786C28.0378 10.3271 28 10.1738 28 10.0187H28.6597C28.6625 10.1078 28.6793 10.1809 28.7101 10.238C28.7423 10.295 28.785 10.3369 28.8382 10.3636C28.8915 10.3904 28.9531 10.4037 29.0231 10.4037C29.0875 10.4037 29.1408 10.3922 29.1828 10.369C29.2262 10.3458 29.2591 10.3146 29.2815 10.2754C29.3039 10.2344 29.3151 10.1872 29.3151 10.1337Z" fill="#A2AEBA"/>
|
|
11
|
+
<path d="M29.2694 12.784V15H28.5V12.0544H29.2192L29.2694 12.784ZM30 12.0327L29.9863 12.8848C29.9559 12.8811 29.9148 12.8766 29.863 12.8711C29.8113 12.8657 29.7679 12.863 29.7329 12.863C29.6431 12.863 29.5654 12.8757 29.5 12.9011C29.4361 12.9247 29.3828 12.961 29.3402 13.01C29.2991 13.0572 29.2686 13.1171 29.2489 13.1897C29.2306 13.2623 29.2222 13.3466 29.2237 13.4428L29.0845 13.3339C29.0845 13.1361 29.1005 12.9564 29.1324 12.7949C29.1659 12.6316 29.2131 12.4909 29.274 12.373C29.3349 12.2532 29.4087 12.1615 29.4954 12.098C29.5822 12.0327 29.6796 12 29.7877 12C29.8257 12 29.863 12.0027 29.8995 12.0082C29.9376 12.0136 29.9711 12.0218 30 12.0327Z" fill="#A2AEBA"/>
|
|
12
|
+
<path d="M25.2694 22.784V25H24.5V22.0544H25.2192L25.2694 22.784ZM26 22.0327L25.9863 22.8848C25.9559 22.8811 25.9148 22.8766 25.863 22.8711C25.8113 22.8657 25.7679 22.863 25.7329 22.863C25.6431 22.863 25.5654 22.8757 25.5 22.9011C25.4361 22.9247 25.3828 22.961 25.3402 23.01C25.2991 23.0572 25.2686 23.1171 25.2489 23.1897C25.2306 23.2623 25.2222 23.3466 25.2237 23.4428L25.0845 23.3339C25.0845 23.1361 25.1005 22.9564 25.1324 22.7949C25.1659 22.6316 25.2131 22.4909 25.274 22.373C25.3349 22.2532 25.4087 22.1615 25.4954 22.098C25.5822 22.0327 25.6796 22 25.7877 22C25.8257 22 25.863 22.0027 25.8995 22.0082C25.9376 22.0136 25.9711 22.0218 26 22.0327Z" fill="#48A7F3"/>
|
|
13
|
+
<path d="M26.9727 13.8449C26.9727 13.7784 26.9527 13.7213 26.9128 13.6738C26.875 13.6239 26.8078 13.5787 26.7111 13.5383C26.6145 13.4955 26.479 13.4528 26.3046 13.41C26.1387 13.3696 25.9821 13.3161 25.8351 13.2496C25.6901 13.183 25.563 13.1022 25.4538 13.0071C25.3445 12.9121 25.2584 12.7992 25.1954 12.6684C25.1345 12.5377 25.104 12.388 25.104 12.2193C25.104 12.0553 25.1345 11.9008 25.1954 11.7558C25.2584 11.6084 25.3498 11.4789 25.4695 11.3672C25.5914 11.2531 25.7395 11.164 25.9139 11.0998C26.0882 11.0333 26.2868 11 26.5095 11C26.8162 11 27.0809 11.0535 27.3036 11.1604C27.5263 11.265 27.6975 11.4124 27.8172 11.6025C27.9391 11.7903 28 12.0077 28 12.2549H26.938C26.938 12.1575 26.9233 12.0743 26.8939 12.0053C26.8666 11.9364 26.8214 11.8841 26.7584 11.8485C26.6954 11.8105 26.6113 11.7914 26.5063 11.7914C26.4328 11.7914 26.3655 11.8069 26.3046 11.8378C26.2458 11.8687 26.1985 11.9115 26.1628 11.9661C26.1271 12.0208 26.1092 12.085 26.1092 12.1586C26.1092 12.2109 26.1197 12.2585 26.1408 12.3012C26.1639 12.3417 26.1985 12.3797 26.2447 12.4153C26.291 12.4486 26.3498 12.4795 26.4212 12.508C26.4926 12.5342 26.5788 12.5579 26.6796 12.5793C26.9086 12.6269 27.1229 12.6946 27.3225 12.7825C27.5221 12.8705 27.6838 12.9952 27.8078 13.1569C27.9338 13.3185 27.9968 13.5359 27.9968 13.8093C27.9968 13.9804 27.9622 14.1384 27.8929 14.2834C27.8235 14.426 27.7237 14.552 27.5935 14.6613C27.4632 14.7683 27.3067 14.8515 27.1239 14.9109C26.9412 14.9703 26.7353 15 26.5063 15C26.1807 15 25.9055 14.9346 25.6807 14.8039C25.4559 14.6708 25.2857 14.5045 25.1702 14.3048C25.0567 14.1028 25 13.8984 25 13.6916H25.9895C25.9937 13.8105 26.0189 13.9079 26.0651 13.984C26.1134 14.06 26.1775 14.1159 26.2574 14.1515C26.3372 14.1872 26.4296 14.205 26.5347 14.205C26.6313 14.205 26.7111 14.1895 26.7742 14.1586C26.8393 14.1277 26.8887 14.0862 26.9223 14.0339C26.9559 13.9792 26.9727 13.9162 26.9727 13.8449Z" fill="#48A7F3"/>
|
|
14
|
+
<path d="M7 21H8.46547C8.75192 21 9.00085 21.0458 9.21228 21.1374C9.4237 21.2289 9.58653 21.3645 9.70077 21.544C9.81671 21.7234 9.87468 21.9451 9.87468 22.2088C9.87468 22.4377 9.84143 22.6291 9.77494 22.783C9.70844 22.9368 9.61552 23.0641 9.49616 23.1648C9.37852 23.2637 9.24126 23.3452 9.0844 23.4093L8.79028 23.5879H7.5601L7.55499 22.8434H8.46547C8.57971 22.8434 8.67434 22.8214 8.74936 22.7775C8.82438 22.7335 8.88065 22.6712 8.91816 22.5907C8.95737 22.5082 8.97698 22.4103 8.97698 22.2967C8.97698 22.1813 8.95737 22.0824 8.91816 22C8.87894 21.9176 8.82097 21.8544 8.74425 21.8104C8.66922 21.7665 8.5763 21.7445 8.46547 21.7445H7.8977V25H7V21ZM9.03836 25L8.21483 23.2308L9.16624 23.2253L10 24.9588V25H9.03836Z" fill="#A2AEBA"/>
|
|
15
|
+
<path d="M12.6245 22.2143L11.0818 29H10L12.0223 21H12.7138L12.6245 22.2143ZM13.9145 29L12.3643 22.2143L12.2714 21H12.9665L15 29H13.9145ZM13.8439 26.0275V27.2198H10.9405V26.0275H13.8439Z" fill="#48A7F3"/>
|
|
16
|
+
<path d="M16.9727 25.2674C16.9727 25.1676 16.9527 25.082 16.9128 25.0107C16.875 24.9358 16.8078 24.8681 16.7111 24.8075C16.6145 24.7433 16.479 24.6791 16.3046 24.615C16.1387 24.5544 15.9821 24.4742 15.8351 24.3743C15.6901 24.2745 15.563 24.1533 15.4538 24.0107C15.3445 23.8681 15.2584 23.6988 15.1954 23.5027C15.1345 23.3066 15.104 23.082 15.104 22.8289C15.104 22.5829 15.1345 22.3512 15.1954 22.1337C15.2584 21.9127 15.3498 21.7184 15.4695 21.5508C15.5914 21.3797 15.7395 21.246 15.9139 21.1497C16.0882 21.0499 16.2868 21 16.5095 21C16.8162 21 17.0809 21.0802 17.3036 21.2406C17.5263 21.3975 17.6975 21.6185 17.8172 21.9037C17.9391 22.1854 18 22.5116 18 22.8824H16.938C16.938 22.7362 16.9233 22.6114 16.8939 22.508C16.8666 22.4046 16.8214 22.3262 16.7584 22.2727C16.6954 22.2157 16.6113 22.1872 16.5063 22.1872C16.4328 22.1872 16.3655 22.2103 16.3046 22.2567C16.2458 22.303 16.1985 22.3672 16.1628 22.4492C16.1271 22.5312 16.1092 22.6275 16.1092 22.738C16.1092 22.8164 16.1197 22.8877 16.1408 22.9519C16.1639 23.0125 16.1985 23.0695 16.2447 23.123C16.291 23.1729 16.3498 23.2193 16.4212 23.262C16.4926 23.3012 16.5788 23.3369 16.6796 23.369C16.9086 23.4403 17.1229 23.5419 17.3225 23.6738C17.5221 23.8057 17.6838 23.9929 17.8078 24.2353C17.9338 24.4777 17.9968 24.8039 17.9968 25.2139C17.9968 25.4706 17.9622 25.7077 17.8929 25.9251C17.8235 26.139 17.7237 26.328 17.5935 26.492C17.4632 26.6524 17.3067 26.7772 17.1239 26.8663C16.9412 26.9554 16.7353 27 16.5063 27C16.1807 27 15.9055 26.902 15.6807 26.7059C15.4559 26.5062 15.2857 26.2567 15.1702 25.9572C15.0567 25.6542 15 25.3476 15 25.0374H15.9895C15.9937 25.2157 16.0189 25.3619 16.0651 25.4759C16.1134 25.59 16.1775 25.6738 16.2574 25.7273C16.3372 25.7807 16.4296 25.8075 16.5347 25.8075C16.6313 25.8075 16.7111 25.7843 16.7742 25.738C16.8393 25.6916 16.8887 25.6292 16.9223 25.5508C16.9559 25.4688 16.9727 25.3743 16.9727 25.2674Z" fill="#A2AEBA"/>
|
|
17
|
+
<path d="M25.3151 28.8449C25.3151 28.7784 25.3018 28.7213 25.2752 28.6738C25.25 28.6239 25.2052 28.5787 25.1408 28.5383C25.0763 28.4955 24.986 28.4528 24.8697 28.41C24.7591 28.3696 24.6548 28.3161 24.5567 28.2496C24.4601 28.183 24.3754 28.1022 24.3025 28.0071C24.2297 27.9121 24.1723 27.7992 24.1303 27.6684C24.0896 27.5377 24.0693 27.388 24.0693 27.2193C24.0693 27.0553 24.0896 26.9008 24.1303 26.7558C24.1723 26.6084 24.2332 26.4789 24.313 26.3672C24.3943 26.2531 24.493 26.164 24.6092 26.0998C24.7255 26.0333 24.8578 26 25.0063 26C25.2108 26 25.3873 26.0535 25.5357 26.1604C25.6842 26.265 25.7983 26.4124 25.8782 26.6025C25.9594 26.7903 26 27.0077 26 27.2549H25.292C25.292 27.1575 25.2822 27.0743 25.2626 27.0053C25.2444 26.9364 25.2143 26.8841 25.1723 26.8485C25.1303 26.8105 25.0742 26.7914 25.0042 26.7914C24.9552 26.7914 24.9104 26.8069 24.8697 26.8378C24.8305 26.8687 24.799 26.9115 24.7752 26.9661C24.7514 27.0208 24.7395 27.085 24.7395 27.1586C24.7395 27.2109 24.7465 27.2585 24.7605 27.3012C24.7759 27.3417 24.799 27.3797 24.8298 27.4153C24.8606 27.4486 24.8999 27.4795 24.9475 27.508C24.9951 27.5342 25.0525 27.5579 25.1197 27.5793C25.2724 27.6269 25.4153 27.6946 25.5483 27.7825C25.6814 27.8705 25.7892 27.9952 25.8718 28.1569C25.9559 28.3185 25.9979 28.5359 25.9979 28.8093C25.9979 28.9804 25.9748 29.1384 25.9286 29.2834C25.8824 29.426 25.8158 29.552 25.729 29.6613C25.6422 29.7683 25.5378 29.8515 25.416 29.9109C25.2941 29.9703 25.1569 30 25.0042 30C24.7871 30 24.6036 29.9346 24.4538 29.8039C24.3039 29.6708 24.1905 29.5045 24.1134 29.3048C24.0378 29.1028 24 28.8984 24 28.6916H24.6597C24.6625 28.8105 24.6793 28.9079 24.7101 28.984C24.7423 29.06 24.785 29.1159 24.8382 29.1515C24.8915 29.1872 24.9531 29.205 25.0231 29.205C25.0875 29.205 25.1408 29.1895 25.1828 29.1586C25.2262 29.1277 25.2591 29.0862 25.2815 29.0339C25.3039 28.9792 25.3151 28.9162 25.3151 28.8449Z" fill="#A2AEBA"/>
|
|
18
|
+
<path d="M22.3878 26.8707L23.9714 28.2933L23.2531 29L21.6939 27.5866L22.3878 26.8707ZM24 24.2841V24.6305C24 25.1386 23.9401 25.5958 23.8204 26.0023C23.7007 26.4057 23.5293 26.749 23.3061 27.0323C23.0857 27.3156 22.8231 27.5327 22.5184 27.6836C22.2136 27.8345 21.8762 27.9099 21.5061 27.9099C21.1388 27.9099 20.8014 27.8345 20.4939 27.6836C20.1891 27.5327 19.9252 27.3156 19.702 27.0323C19.4789 26.749 19.3061 26.4057 19.1837 26.0023C19.0612 25.5958 19 25.1386 19 24.6305V24.2841C19 23.7729 19.0599 23.3156 19.1796 22.9122C19.302 22.5089 19.4735 22.1655 19.6939 21.8822C19.917 21.5958 20.181 21.3772 20.4857 21.2263C20.7932 21.0754 21.1306 21 21.498 21C21.868 21 22.2054 21.0754 22.5102 21.2263C22.8177 21.3772 23.0816 21.5958 23.302 21.8822C23.5252 22.1655 23.6966 22.5089 23.8163 22.9122C23.9388 23.3156 24 23.7729 24 24.2841ZM22.8653 24.6305V24.2748C22.8653 23.9084 22.8354 23.5866 22.7755 23.3095C22.7156 23.0293 22.6259 22.7937 22.5061 22.6028C22.3891 22.4119 22.2463 22.2687 22.0776 22.1732C21.9088 22.0747 21.7156 22.0254 21.498 22.0254C21.283 22.0254 21.0912 22.0747 20.9224 22.1732C20.7537 22.2687 20.6109 22.4119 20.4939 22.6028C20.3769 22.7937 20.2871 23.0293 20.2245 23.3095C20.1646 23.5866 20.1347 23.9084 20.1347 24.2748V24.6305C20.1347 24.9938 20.1646 25.3156 20.2245 25.5958C20.2871 25.8761 20.3769 26.1132 20.4939 26.3072C20.6136 26.4981 20.7578 26.6428 20.9265 26.7413C21.098 26.8399 21.2912 26.8891 21.5061 26.8891C21.7238 26.8891 21.917 26.8399 22.0857 26.7413C22.2544 26.6428 22.3959 26.4981 22.5102 26.3072C22.6272 26.1132 22.7156 25.8761 22.7755 25.5958C22.8354 25.3156 22.8653 24.9938 22.8653 24.6305Z" fill="#50C587"/>
|
|
19
|
+
<path d="M7.86311 26V30H7V26H7.86311ZM10 26L8.61311 28.0275L7.80164 29.0192L7.64426 28.1346L8.16311 27.2555L8.93525 26H10ZM8.97951 30L8.05492 28.1978L8.72623 27.6456L10 30H8.97951Z" fill="#50C587"/>
|
|
20
|
+
<path d="M32 17H4V4H32V17ZM5.07692 15.7H30.9231V5.3H5.07692V15.7Z" fill="#CAD6E2"/>
|
|
21
|
+
<path d="M32 32H4V19H32V32ZM5.07692 30.7H30.9231V20.3H5.07692V30.7Z" fill="#CAD6E2"/>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M30.3738 29.2175V25.6595C30.3738 25.3981 30.3404 25.1723 30.2735 24.9822C30.2066 24.792 30.1045 24.6447 29.9673 24.5401C29.83 24.4355 29.6558 24.3832 29.4446 24.3832C29.258 24.3832 29.0943 24.426 28.9535 24.5116C28.8163 24.5971 28.7107 24.7184 28.6367 24.8752C28.5628 25.0273 28.5259 25.2032 28.5259 25.4029H27.1267C27.1267 25.0844 27.183 24.7825 27.2957 24.4973C27.4083 24.2074 27.5685 23.9507 27.7761 23.7273C27.9873 23.4991 28.239 23.3209 28.5312 23.1925C28.8268 23.0642 29.1577 23 29.5238 23C29.9567 23 30.3421 23.0998 30.68 23.2995C31.0215 23.4944 31.289 23.7891 31.4826 24.1836C31.6797 24.5781 31.7782 25.0749 31.7782 25.6738V29.0392C31.7782 29.4242 31.7958 29.7546 31.831 30.0303C31.8698 30.3012 31.9261 30.5365 32 30.7362V30.8574H30.5797C30.5128 30.6625 30.4618 30.4153 30.4266 30.1159C30.3914 29.8116 30.3738 29.5122 30.3738 29.2175ZM30.5692 26.1586L30.5797 27.2781H29.698C29.4798 27.2781 29.2879 27.309 29.1225 27.3708C28.9571 27.4278 28.8215 27.5134 28.7159 27.6275C28.6103 27.7368 28.5312 27.8699 28.4784 28.0267C28.4256 28.1788 28.3992 28.3523 28.3992 28.5472C28.3992 28.7374 28.4308 28.9085 28.4942 29.0606C28.5611 29.2127 28.6561 29.3339 28.7793 29.4242C28.906 29.5098 29.0539 29.5526 29.2228 29.5526C29.4692 29.5526 29.6839 29.486 29.8669 29.3529C30.05 29.2151 30.1925 29.0487 30.2946 28.8538C30.3967 28.6589 30.4512 28.4736 30.4583 28.2977L30.8596 29.1105C30.8103 29.3054 30.7364 29.5122 30.6378 29.7308C30.5392 29.9495 30.4125 30.1539 30.2577 30.344C30.1028 30.5342 29.9162 30.691 29.698 30.8146C29.4798 30.9382 29.2263 31 28.9377 31C28.5681 31 28.2372 30.9002 27.9451 30.7005C27.6529 30.5009 27.4224 30.2276 27.2534 29.8806C27.0845 29.5336 27 29.139 27 28.697C27 28.2882 27.0563 27.9269 27.169 27.6132C27.2816 27.2995 27.4488 27.0357 27.6705 26.8217C27.8923 26.6031 28.1668 26.4391 28.4942 26.3298C28.8251 26.2157 29.2034 26.1586 29.6294 26.1586H30.5692Z" fill="#CAD6E2"/>
|
|
3
|
+
<path d="M8.26982 19.1571H10V27.3953C10 28.1649 9.84621 28.8168 9.53862 29.3508C9.23584 29.8901 8.8105 30.2984 8.26262 30.5759C7.71473 30.8586 7.07793 31 6.35221 31C6.03982 31 5.701 30.9529 5.33574 30.8586C4.97528 30.7644 4.62685 30.6152 4.29042 30.411C3.95881 30.212 3.68246 29.9529 3.46138 29.6335L4.31926 28.4084C4.57878 28.7382 4.87195 28.9869 5.19876 29.1545C5.52558 29.3272 5.87882 29.4136 6.2585 29.4136C6.64298 29.4136 6.96979 29.3351 7.23893 29.178C7.51287 29.0262 7.72194 28.801 7.86612 28.5026C8.0151 28.2094 8.0896 27.8482 8.0896 27.4188V21.0969L8.26982 19.1571ZM3 23.5079V23.3429C3 22.6937 3.07209 22.1047 3.21627 21.5759C3.36045 21.0419 3.56711 20.5838 3.83625 20.2016C4.1102 19.8194 4.43941 19.5236 4.82389 19.3141C5.21318 19.1047 5.65053 19 6.13594 19C6.65019 19 7.08273 19.1021 7.43357 19.3063C7.78922 19.5105 8.08239 19.801 8.31308 20.178C8.54858 20.555 8.7312 21.0026 8.86097 21.5209C8.99554 22.034 9.09887 22.5995 9.17096 23.2173V23.6649C9.10367 24.267 8.99554 24.8194 8.84655 25.322C8.70237 25.8246 8.51013 26.2644 8.26982 26.6414C8.02952 27.0131 7.73155 27.301 7.3759 27.5052C7.02025 27.7094 6.60213 27.8115 6.12152 27.8115C5.64092 27.8115 5.20838 27.7042 4.82389 27.4895C4.43941 27.2749 4.1102 26.9738 3.83625 26.5864C3.56711 26.199 3.36045 25.7435 3.21627 25.2199C3.07209 24.6963 3 24.1257 3 23.5079ZM4.90319 23.3429V23.5079C4.90319 23.8743 4.93683 24.2173 5.00412 24.5366C5.0714 24.856 5.17473 25.1387 5.31411 25.3848C5.45348 25.6257 5.62891 25.8141 5.84037 25.9503C6.05184 26.0864 6.30415 26.1544 6.59732 26.1544C6.99142 26.1544 7.31342 26.0654 7.56334 25.8874C7.81806 25.7042 8.0103 25.4555 8.14006 25.1414C8.27463 24.822 8.36114 24.4634 8.39959 24.0654V22.8325C8.37556 22.5183 8.32269 22.2277 8.24099 21.9607C8.16409 21.6937 8.05596 21.4634 7.91658 21.2696C7.77721 21.0759 7.59938 20.9241 7.38311 20.8141C7.16684 20.7042 6.90972 20.6492 6.61174 20.6492C6.32338 20.6492 6.07106 20.7199 5.85479 20.8613C5.63852 20.9974 5.46069 21.1885 5.32132 21.4346C5.18194 21.6806 5.07621 21.966 5.00412 22.2906C4.93683 22.6152 4.90319 22.966 4.90319 23.3429Z" fill="#A2AEBA"/>
|
|
4
|
+
<path d="M30.7642 13.1178H32V19.2965C32 19.8737 31.8901 20.3626 31.6704 20.7631C31.4542 21.1675 31.1504 21.4738 30.759 21.6819C30.3677 21.894 29.9128 22 29.3944 22C29.1713 22 28.9293 21.9647 28.6684 21.894C28.4109 21.8233 28.162 21.7114 27.9217 21.5582C27.6849 21.409 27.4875 21.2147 27.3296 20.9751L27.9423 20.0563C28.1277 20.3037 28.3371 20.4902 28.5705 20.6158C28.804 20.7454 29.0563 20.8102 29.3275 20.8102C29.6021 20.8102 29.8356 20.7513 30.0278 20.6335C30.2235 20.5196 30.3728 20.3508 30.4758 20.127C30.5822 19.9071 30.6354 19.6361 30.6354 19.3141V14.5726L30.7642 13.1178ZM27 16.3809V16.2572C27 15.7703 27.0515 15.3285 27.1545 14.9319C27.2575 14.5314 27.4051 14.1878 27.5973 13.9012C27.793 13.6145 28.0281 13.3927 28.3028 13.2356C28.5808 13.0785 28.8932 13 29.24 13C29.6073 13 29.9162 13.0766 30.1668 13.2297C30.4209 13.3829 30.6303 13.6008 30.7951 13.8835C30.9633 14.1662 31.0937 14.502 31.1864 14.8907C31.2825 15.2755 31.3563 15.6996 31.4078 16.163V16.4987C31.3598 16.9503 31.2825 17.3645 31.1761 17.7415C31.0731 18.1185 30.9358 18.4483 30.7642 18.731C30.5925 19.0098 30.3797 19.2258 30.1256 19.3789C29.8716 19.5321 29.5729 19.6086 29.2297 19.6086C28.8864 19.6086 28.5774 19.5281 28.3028 19.3671C28.0281 19.2062 27.793 18.9804 27.5973 18.6898C27.4051 18.3992 27.2575 18.0576 27.1545 17.6649C27.0515 17.2723 27 16.8442 27 16.3809ZM28.3594 16.2572V16.3809C28.3594 16.6558 28.3835 16.913 28.4315 17.1525C28.4796 17.392 28.5534 17.6041 28.6529 17.7886C28.7525 17.9692 28.8778 18.1106 29.0288 18.2127C29.1799 18.3148 29.3601 18.3658 29.5695 18.3658C29.851 18.3658 30.081 18.2991 30.2595 18.1656C30.4415 18.0281 30.5788 17.8416 30.6715 17.606C30.7676 17.3665 30.8294 17.0975 30.8568 16.7991V15.8743C30.8397 15.6387 30.8019 15.4208 30.7436 15.2205C30.6886 15.0203 30.6114 14.8475 30.5118 14.7022C30.4123 14.5569 30.2853 14.4431 30.1308 14.3606C29.9763 14.2781 29.7927 14.2369 29.5798 14.2369C29.3738 14.2369 29.1936 14.2899 29.0391 14.3959C28.8847 14.498 28.7576 14.6414 28.6581 14.8259C28.5585 15.0105 28.483 15.2245 28.4315 15.4679C28.3835 15.7114 28.3594 15.9745 28.3594 16.2572Z" fill="#48A7F3"/>
|
|
5
|
+
<path d="M21.7559 5H25V22.0339C25 23.995 24.7169 25.645 24.1506 26.9837C23.5844 28.3107 22.8137 29.3148 21.8385 29.9959C20.8633 30.6653 19.7544 31 18.5118 31C17.2535 31 16.1328 30.6653 15.1497 29.9959C14.1667 29.3148 13.3959 28.3107 12.8376 26.9837C12.2792 25.645 12 23.995 12 22.0339V5H15.2441V22.0339C15.2441 23.2317 15.3778 24.2123 15.6452 24.9756C15.9126 25.7272 16.2901 26.285 16.7777 26.649C17.2653 27.0131 17.8433 27.1951 18.5118 27.1951C19.1881 27.1951 19.7662 27.0131 20.2459 26.649C20.7335 26.285 21.1071 25.7272 21.3666 24.9756C21.6261 24.2123 21.7559 23.2317 21.7559 22.0339V5Z" fill="#50C587"/>
|
|
6
|
+
<path d="M6.66028 15.59C6.93859 15.59 7.18708 15.505 7.40575 15.3351C7.62442 15.1652 7.79837 14.9257 7.92758 14.6168C8.06177 14.3078 8.13383 13.9486 8.14377 13.5392H10C9.99006 14.3889 9.836 15.1497 9.53781 15.8217C9.23962 16.4938 8.84203 17.0267 8.34505 17.4207C7.85303 17.8069 7.30138 18 6.6901 18C6.06887 18 5.52716 17.8378 5.06496 17.5134C4.60277 17.1889 4.21761 16.7371 3.90948 16.1578C3.60632 15.5784 3.37771 14.9064 3.22364 14.1417C3.07455 13.377 3 12.5582 3 11.6854V11.3146C3 10.4418 3.07455 9.62299 3.22364 8.85829C3.37771 8.09358 3.60632 7.42157 3.90948 6.84225C4.21761 6.26292 4.60277 5.81105 5.06496 5.48663C5.52716 5.16221 6.06638 5 6.68264 5C7.33369 5 7.90522 5.19697 8.39723 5.59091C8.89421 5.98485 9.28186 6.541 9.56017 7.25936C9.84345 7.97772 9.99006 8.82353 10 9.79679H8.14377C8.13383 9.34878 8.06922 8.94712 7.94995 8.5918C7.83067 8.23648 7.6617 7.95068 7.44302 7.7344C7.22435 7.51812 6.95847 7.40998 6.64537 7.40998C6.31239 7.40998 6.03408 7.51812 5.81044 7.7344C5.59176 7.95068 5.42031 8.24807 5.29606 8.62656C5.17678 8.99733 5.0923 9.41444 5.0426 9.8779C4.99787 10.3336 4.97551 10.8125 4.97551 11.3146V11.6854C4.97551 12.1952 4.99787 12.6818 5.0426 13.1453C5.0923 13.6087 5.17678 14.0258 5.29606 14.3966C5.42031 14.7597 5.59176 15.0493 5.81044 15.2656C6.03408 15.4819 6.31736 15.59 6.66028 15.59Z" fill="#48A7F3"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
url
|
|
2
|
+
/help/access/data-query-view.md
|
|
3
|
+
/help/access/data-query-view.md
|
|
4
|
+
/help/access/data-query-view.md
|
|
5
|
+
https://datagrok.ai/help/domains/chem/functions/us.md
|
|
6
|
+
https://datagrok.ai/help/domains/chem/functions/si.md
|
|
7
|
+
https://datagrok.ai/help/domains/chem/functions/ga-pt.md
|
|
8
|
+
https://datagrok.ai/help/domains/chem/functions/m12.md
|
|
9
|
+
https://datagrok.ai/help/domains/chem/functions/mu1-15.html
|
|
10
|
+
https://datagrok.ai/help/domains/chem/functions/re.ts
|
|
11
|
+
https://datagrok.ai/help/domains/chem/functions/ts.html
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"name": "Leonid Stolbov",
|
|
6
6
|
"email": "lstolbov@datagrok.ai"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.
|
|
9
|
-
"description": "
|
|
8
|
+
"version": "2.4.3",
|
|
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",
|
|
12
12
|
"url": "https://github.com/datagrok-ai/public.git",
|
|
@@ -14,38 +14,34 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@biowasm/aioli": "^3.1.0",
|
|
17
|
-
"@datagrok-libraries/bio": "^5.
|
|
17
|
+
"@datagrok-libraries/bio": "^5.27.0",
|
|
18
18
|
"@datagrok-libraries/chem-meta": "^1.0.1",
|
|
19
|
-
"@datagrok-libraries/ml": "^6.3.
|
|
20
|
-
"@datagrok-libraries/utils": "^1.
|
|
19
|
+
"@datagrok-libraries/ml": "^6.3.13",
|
|
20
|
+
"@datagrok-libraries/utils": "^2.1.3",
|
|
21
21
|
"cash-dom": "^8.0.0",
|
|
22
|
-
"
|
|
22
|
+
"css-loader": "^6.7.3",
|
|
23
|
+
"datagrok-api": "^1.13.3",
|
|
23
24
|
"dayjs": "^1.11.4",
|
|
24
25
|
"openchemlib": "6.0.1",
|
|
25
26
|
"rxjs": "^6.5.5",
|
|
27
|
+
"source-map-loader": "^4.0.1",
|
|
28
|
+
"style-loader": "^3.3.1",
|
|
26
29
|
"wu": "latest"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
29
|
-
"@types/js-yaml": "^4.0.5",
|
|
30
32
|
"@types/node": "^17.0.24",
|
|
31
|
-
"@types/node-fetch": "^2.6.2",
|
|
32
33
|
"@types/wu": "latest",
|
|
33
34
|
"@typescript-eslint/eslint-plugin": "^4.20.0",
|
|
34
35
|
"@typescript-eslint/parser": "^4.20.0",
|
|
35
36
|
"eslint": "^7.23.0",
|
|
36
37
|
"eslint-config-google": "latest",
|
|
37
|
-
"js-yaml": "^4.1.0",
|
|
38
|
-
"node-fetch": "^2.6.7",
|
|
39
|
-
"puppeteer": "^13.7.0",
|
|
40
38
|
"ts-loader": "^9.2.5",
|
|
41
39
|
"typescript": "^4.2.3",
|
|
42
|
-
"webpack": "^5.
|
|
40
|
+
"webpack": "^5.76.0",
|
|
43
41
|
"webpack-bundle-analyzer": "latest",
|
|
44
|
-
"webpack-cli": "^4.6.0"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"@datagrok/chem": "latest",
|
|
48
|
-
"@datagrok/helm": "latest"
|
|
42
|
+
"webpack-cli": "^4.6.0",
|
|
43
|
+
"@datagrok/chem": "1.4.21",
|
|
44
|
+
"@datagrok/helm": "2.1.7"
|
|
49
45
|
},
|
|
50
46
|
"scripts": {
|
|
51
47
|
"link-api": "npm link datagrok-api",
|
|
@@ -53,16 +49,16 @@
|
|
|
53
49
|
"link-ml": "npm link @datagrok-libraries/ml",
|
|
54
50
|
"link-utils": "npm link @datagrok-libraries/utils",
|
|
55
51
|
"link-all": "npm link datagrok-api @datagrok-libraries/utils @datagrok-libraries/bio @datagrok-libraries/ml",
|
|
56
|
-
"debug-sequences1": "grok publish",
|
|
57
|
-
"release-sequences1": "grok publish --release",
|
|
52
|
+
"debug-sequences1": "webpack && grok publish",
|
|
53
|
+
"release-sequences1": "webpack && grok publish --release",
|
|
58
54
|
"build-sequences1": "webpack",
|
|
59
|
-
"debug-local": "grok publish local",
|
|
60
|
-
"release-local": "grok publish local --release",
|
|
61
55
|
"build": "webpack",
|
|
62
|
-
"debug-sequences1-
|
|
63
|
-
"release-sequences1-
|
|
64
|
-
"debug-sequences1-
|
|
65
|
-
"release-sequences1-
|
|
56
|
+
"debug-sequences1-local": "webpack && grok publish local",
|
|
57
|
+
"release-sequences1-local": "webpack && grok publish local --release",
|
|
58
|
+
"debug-sequences1-dev": "webpack && grok publish dev",
|
|
59
|
+
"release-sequences1-dev": "webpack && grok publish dev --release",
|
|
60
|
+
"debug-sequences1-public": "webpack && grok publish public",
|
|
61
|
+
"release-sequences1-public": "webpack && grok publish public --release",
|
|
66
62
|
"lint": "eslint \"./src/**/*.ts\"",
|
|
67
63
|
"lint-fix": "eslint \"./src/**/*.ts\" --fix",
|
|
68
64
|
"test": "grok test",
|
|
@@ -73,6 +69,9 @@
|
|
|
73
69
|
"canEdit": [
|
|
74
70
|
"Developers"
|
|
75
71
|
],
|
|
72
|
+
"canView": [
|
|
73
|
+
"All users"
|
|
74
|
+
],
|
|
76
75
|
"sources": [
|
|
77
76
|
"css/helm.css"
|
|
78
77
|
],
|
|
@@ -4,26 +4,28 @@ import * as DG from 'datagrok-api/dg';
|
|
|
4
4
|
|
|
5
5
|
import {ITooltipAndPanelParams} from '@datagrok-libraries/ml/src/viewers/activity-cliffs';
|
|
6
6
|
import {getSimilarityFromDistance} from '@datagrok-libraries/ml/src/distance-metrics-methods';
|
|
7
|
-
import {AvailableMetrics} from '@datagrok-libraries/ml/src/typed-metrics';
|
|
8
|
-
import {TAGS} from '../utils/constants';
|
|
7
|
+
import {AvailableMetrics, AvailableMetricsTypes, StringMetricsNames} from '@datagrok-libraries/ml/src/typed-metrics';
|
|
9
8
|
import {drawMoleculeDifferenceOnCanvas} from '../utils/cell-renderer';
|
|
10
9
|
import * as C from '../utils/constants';
|
|
11
10
|
import {GridColumn} from 'datagrok-api/dg';
|
|
12
11
|
import {invalidateMols, MONOMERIC_COL_TAGS} from '../substructure-search/substructure-search';
|
|
13
|
-
import {getSplitter} from '@datagrok-libraries/bio';
|
|
12
|
+
import {getSplitter, TAGS as bioTAGS} from '@datagrok-libraries/bio/src/utils/macromolecule';
|
|
14
13
|
|
|
15
14
|
export async function getDistances(col: DG.Column, seq: string): Promise<Array<number>> {
|
|
16
15
|
const stringArray = col.toList();
|
|
17
16
|
const distances = new Array(stringArray.length).fill(0);
|
|
17
|
+
const distanceMethod: (x: string, y: string) => number =
|
|
18
|
+
AvailableMetrics[AvailableMetricsTypes.String][StringMetricsNames.Levenshtein];
|
|
18
19
|
for (let i = 0; i < stringArray.length; ++i) {
|
|
19
|
-
const distance = stringArray[i] ?
|
|
20
|
+
const distance = stringArray[i] ? distanceMethod(stringArray[i], seq) : null;
|
|
20
21
|
distances[i] = distance ? distance / Math.max((stringArray[i] as string).length, seq.length) : null;
|
|
21
22
|
}
|
|
22
23
|
return distances;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
|
-
export async function
|
|
26
|
-
:
|
|
26
|
+
export async function getSimilaritiesMatrix(
|
|
27
|
+
dim: number, seqCol: DG.Column, df: DG.DataFrame, colName: string, simArr: DG.Column[]
|
|
28
|
+
): Promise<DG.Column[]> {
|
|
27
29
|
const distances = new Array(simArr.length).fill(null);
|
|
28
30
|
for (let i = 0; i != dim - 1; ++i) {
|
|
29
31
|
const seq: string = seqCol.get(i);
|
|
@@ -40,7 +42,7 @@ export async function getSimilaritiesMarix(dim: number, seqCol: DG.Column, df: D
|
|
|
40
42
|
return simArr;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
|
-
export async function
|
|
45
|
+
export async function getChemSimilaritiesMatrix(dim: number, seqCol: DG.Column,
|
|
44
46
|
df: DG.DataFrame, colName: string, simArr: DG.Column[])
|
|
45
47
|
: Promise<DG.Column[]> {
|
|
46
48
|
if (seqCol.version !== seqCol.temp[MONOMERIC_COL_TAGS.LAST_INVALIDATED_VERSION])
|
|
@@ -104,7 +106,7 @@ export function createPropPanelElement(params: ITooltipAndPanelParams): HTMLDivE
|
|
|
104
106
|
|
|
105
107
|
const molDifferences: { [key: number]: HTMLCanvasElement } = {};
|
|
106
108
|
const units = params.seqCol.getTag(DG.TAGS.UNITS);
|
|
107
|
-
const separator = params.seqCol.getTag(
|
|
109
|
+
const separator = params.seqCol.getTag(bioTAGS.separator);
|
|
108
110
|
const splitter = getSplitter(units, separator);
|
|
109
111
|
const subParts1 = splitter(sequencesArray[0]);
|
|
110
112
|
const subParts2 = splitter(sequencesArray[1]);
|
|
@@ -164,7 +166,7 @@ export function createLinesGrid(df: DG.DataFrame, colNames: string[]): DG.Grid {
|
|
|
164
166
|
.init((i) => `${df.get(colNames[0], i)}#${df.get(colNames[1], i)}`);
|
|
165
167
|
seqDiffCol.semType = 'MacromoleculeDifference';
|
|
166
168
|
seqDiffCol.setTag(DG.TAGS.UNITS, df.col(colNames[0])!.getTag(DG.TAGS.UNITS));
|
|
167
|
-
seqDiffCol.setTag(
|
|
169
|
+
seqDiffCol.setTag(bioTAGS.separator, df.col(colNames[0])!.getTag(bioTAGS.separator));
|
|
168
170
|
df.columns.add(seqDiffCol);
|
|
169
171
|
const grid = df.plot.grid();
|
|
170
172
|
grid.col(colNames[0])!.visible = false;
|
|
@@ -3,6 +3,7 @@ import * as DG from 'datagrok-api/dg';
|
|
|
3
3
|
import * as grok from 'datagrok-api/grok';
|
|
4
4
|
|
|
5
5
|
import {CHEM_SIMILARITY_METRICS} from '@datagrok-libraries/ml/src/distance-metrics-methods';
|
|
6
|
+
import {TAGS as bioTAGS} from '@datagrok-libraries/bio/src/utils/macromolecule';
|
|
6
7
|
import * as C from '../utils/constants';
|
|
7
8
|
|
|
8
9
|
export class SequenceSearchBaseViewer extends DG.JsViewer {
|
|
@@ -15,7 +16,7 @@ export class SequenceSearchBaseViewer extends DG.JsViewer {
|
|
|
15
16
|
moleculeColumn?: DG.Column|null;
|
|
16
17
|
moleculeColumnName: string;
|
|
17
18
|
initialized: boolean = false;
|
|
18
|
-
tags = [DG.TAGS.UNITS,
|
|
19
|
+
tags = [DG.TAGS.UNITS, bioTAGS.aligned, bioTAGS.separator, bioTAGS.alphabet];
|
|
19
20
|
|
|
20
21
|
constructor(name: string) {
|
|
21
22
|
super();
|
|
@@ -8,7 +8,7 @@ import * as C from '../utils/constants';
|
|
|
8
8
|
import {createDifferenceCanvas, createDifferencesWithPositions} from './sequence-activity-cliffs';
|
|
9
9
|
import {updateDivInnerHTML} from '../utils/ui-utils';
|
|
10
10
|
import {Subject} from 'rxjs';
|
|
11
|
-
import {getSplitter} from '@datagrok-libraries/bio';
|
|
11
|
+
import {TAGS as bioTAGS, getSplitter} from '@datagrok-libraries/bio/src/utils/macromolecule';
|
|
12
12
|
|
|
13
13
|
export class SequenceSimilarityViewer extends SequenceSearchBaseViewer {
|
|
14
14
|
hotSearch: boolean;
|
|
@@ -83,7 +83,7 @@ export class SequenceSimilarityViewer extends SequenceSearchBaseViewer {
|
|
|
83
83
|
const propPanel = ui.div();
|
|
84
84
|
const molDifferences: { [key: number]: HTMLCanvasElement } = {};
|
|
85
85
|
const units = resDf.col('sequence')!.getTag(DG.TAGS.UNITS);
|
|
86
|
-
const separator = resDf.col('sequence')!.getTag(
|
|
86
|
+
const separator = resDf.col('sequence')!.getTag(bioTAGS.separator);
|
|
87
87
|
const splitter = getSplitter(units, separator);
|
|
88
88
|
const subParts1 = splitter(this.moleculeColumn!.get(this.targetMoleculeIdx));
|
|
89
89
|
const subParts2 = splitter(resDf.get('sequence', resDf.currentRowIdx));
|
|
@@ -101,7 +101,7 @@ export class SequenceSimilarityViewer extends SequenceSearchBaseViewer {
|
|
|
101
101
|
const accIcon = ui.element('i');
|
|
102
102
|
accIcon.className = 'grok-icon svg-icon svg-view-layout';
|
|
103
103
|
acc.addTitle(ui.span([accIcon, ui.label(`Similarity search`)]));
|
|
104
|
-
acc.addPane('
|
|
104
|
+
acc.addPane('Differences', () => propPanel, true);
|
|
105
105
|
grok.shell.o = acc.root;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -47,7 +47,8 @@ export async function sequenceSpaceByFingerprints(spaceParams: ISequenceSpacePar
|
|
|
47
47
|
methodName: spaceParams.methodName,
|
|
48
48
|
similarityMetric: spaceParams.similarityMetric,
|
|
49
49
|
xAxis: spaceParams.embedAxesNames[0],
|
|
50
|
-
yAxis: spaceParams.embedAxesNames[1]
|
|
50
|
+
yAxis: spaceParams.embedAxesNames[1],
|
|
51
|
+
options: spaceParams.options
|
|
51
52
|
});
|
|
52
53
|
return result;
|
|
53
54
|
}
|
|
@@ -4,13 +4,13 @@ import * as DG from 'datagrok-api/dg';
|
|
|
4
4
|
|
|
5
5
|
import * as C from '../utils/constants';
|
|
6
6
|
import {getHelmMonomers} from '../package';
|
|
7
|
-
import {getSplitter, getStats} from '@datagrok-libraries/bio';
|
|
7
|
+
import {TAGS as bioTAGS, getSplitter, getStats} from '@datagrok-libraries/bio/src/utils/macromolecule';
|
|
8
8
|
|
|
9
9
|
const V2000_ATOM_NAME_POS = 31;
|
|
10
10
|
|
|
11
|
-
export async function getMonomericMols(mcol: DG.Column
|
|
11
|
+
export async function getMonomericMols(mcol: DG.Column<string>,
|
|
12
12
|
pattern: boolean = false, monomersDict?: Map<string, string>): Promise<DG.Column> {
|
|
13
|
-
const separator: string = mcol.tags[
|
|
13
|
+
const separator: string = mcol.tags[bioTAGS.separator];
|
|
14
14
|
const units: string = mcol.tags[DG.TAGS.UNITS];
|
|
15
15
|
const splitter = getSplitter(units, separator);
|
|
16
16
|
let molV3000Array;
|
|
@@ -29,7 +29,7 @@ export async function getMonomericMols(mcol: DG.Column,
|
|
|
29
29
|
} else {
|
|
30
30
|
molV3000Array = new Array<string>(mcol.length);
|
|
31
31
|
for (let i = 0; i < mcol.length; i++) {
|
|
32
|
-
const sequenceMonomers = splitter(mcol.get(i)).filter((it) => it !== '');
|
|
32
|
+
const sequenceMonomers = splitter(mcol.get(i)!).filter((it) => it !== '');
|
|
33
33
|
const molV3000 = molV3000FromNonHelmSequence(sequenceMonomers, monomersDict, pattern);
|
|
34
34
|
molV3000Array[i] = molV3000;
|
|
35
35
|
}
|
package/src/package-test.ts
CHANGED
|
@@ -2,13 +2,14 @@ import * as DG from 'datagrok-api/dg';
|
|
|
2
2
|
|
|
3
3
|
import {runTests, TestContext, tests} from '@datagrok-libraries/utils/src/test';
|
|
4
4
|
|
|
5
|
+
import './tests/_first-tests';
|
|
5
6
|
import './tests/Palettes-test';
|
|
6
7
|
import './tests/detectors-tests';
|
|
8
|
+
import './tests/detectors-weak-and-likely-tests';
|
|
7
9
|
import './tests/detectors-benchmark-tests';
|
|
8
10
|
import './tests/msa-tests';
|
|
9
|
-
import './tests/sequence-space-test';
|
|
10
|
-
import './tests/activity-cliffs-tests';
|
|
11
11
|
import './tests/splitters-test';
|
|
12
|
+
import './tests/monomer-libraries-tests';
|
|
12
13
|
import './tests/renderers-test';
|
|
13
14
|
import './tests/converters-test';
|
|
14
15
|
import './tests/fasta-handler-test';
|
|
@@ -18,6 +19,13 @@ import './tests/WebLogo-positions-test';
|
|
|
18
19
|
import './tests/checkInputColumn-tests';
|
|
19
20
|
import './tests/similarity-diversity-tests';
|
|
20
21
|
import './tests/substructure-filters-tests';
|
|
22
|
+
import './tests/pepsea-tests';
|
|
23
|
+
import './tests/viewers';
|
|
24
|
+
|
|
25
|
+
// Tests hanging github CI
|
|
26
|
+
import './tests/activity-cliffs-tests';
|
|
27
|
+
import './tests/sequence-space-test';
|
|
28
|
+
|
|
21
29
|
|
|
22
30
|
export const _package = new DG.Package();
|
|
23
31
|
export {tests};
|