@datagrok/sequence-translator 0.0.9 → 1.0.1
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/README.md +19 -11
- package/css/style.css +18 -0
- package/dist/package-test.js +2454 -0
- package/dist/package.js +5234 -0
- package/package.json +19 -10
- package/src/defineAxolabsPattern.ts +58 -55
- package/src/package-test.ts +1 -1
- package/src/package.ts +53 -50
- package/src/salts.ts +2 -2
- package/src/structures-works/from-monomers.ts +20 -12
- package/src/structures-works/mol-transformations.ts +34 -18
- package/src/structures-works/save-sense-antisense.ts +5 -2
- package/src/structures-works/sequence-codes-tools.ts +192 -93
- package/src/tests/smiles-tests.ts +31 -27
- package/{test-SequenceTranslator-2e08c8e54bde-1367d435.html → test-SequenceTranslator-089b6516ed77-2280593f.html} +2 -2
package/README.md
CHANGED
|
@@ -3,19 +3,25 @@
|
|
|
3
3
|

|
|
4
4
|
|
|
5
5
|
SequenceTranslator is a [package](https://datagrok.ai/help/develop/develop#packages) for
|
|
6
|
-
the [Datagrok](https://datagrok.ai) platform, used to
|
|
7
|
-
|
|
6
|
+
the [Datagrok](https://datagrok.ai) platform, used to
|
|
7
|
+
translate [oligonucleotide](https://en.wikipedia.org/wiki/Oligonucleotide)
|
|
8
|
+
sequences
|
|
9
|
+
between [different representations](https://github.com/datagrok-ai/public/tree/master/packages/SequenceTranslator#sequence-representations)
|
|
10
|
+
.
|
|
8
11
|
|
|
9
12
|
Presentation: https://www.youtube.com/watch?v=2xuxJjpjXi4&t=3783s
|
|
10
13
|
|
|
11
|
-
Oligonucleotides are characterized by the sequence
|
|
12
|
-
|
|
14
|
+
Oligonucleotides are characterized by the sequence
|
|
15
|
+
of [nucleotide modifications](https://github.com/datagrok-ai/public/tree/master/packages/SequenceTranslator#axolabs-nucleotide-modifications)
|
|
16
|
+
that make up the entire molecule. The length of the oligonucleotide is usually 13-25 nucleotides long (denoted by "
|
|
17
|
+
-mer").
|
|
13
18
|
|
|
14
19
|
Oligonucleotides are chemically synthesized. Chain assembly proceeds in the 3' to 5' direction by following a routine
|
|
15
|
-
procedure referred to as a "synthetic cycle".
|
|
16
|
-
|
|
20
|
+
procedure referred to as a "synthetic cycle". Completion of a single synthetic cycle results in the addition of one
|
|
21
|
+
nucleotide residue to the growing chain.
|
|
17
22
|
|
|
18
23
|
# Use cases
|
|
24
|
+
|
|
19
25
|
| Name | Steps |
|
|
20
26
|
|---|---|
|
|
21
27
|
| Translate one sequence of types list | Paste sequence into the text field in `MAIN` tab of App |
|
|
@@ -23,12 +29,13 @@ Completion of a single synthetic cycle results in the addition of one nucleotide
|
|
|
23
29
|
| Translate sequences using new Axolabs pattern | 1. Go to `AXOLABS` tab <br/>2. Drag & drop an Excel or CSV file with sequences into Datagrok <br/>3. Choose your table in the `Table` field <br/>4. Choose `SS Column`, and, if needed, `AS Column` and `ID Column`(needed to add column with concatenated ID and pattern name) <br/>5. Press `Convert Sequences` button <br/>This will add the result column(s) to the right of the table. Save pattern, if needed|
|
|
24
30
|
| Translate sequences using existing Axolabs pattern | 1. Go to `AXOLABS` tab <br/>2. Select your pattern in `Load Pattern` field <br/>3. Do steps #2-5 from previous use case |
|
|
25
31
|
|
|
26
|
-
# Sequence representations
|
|
32
|
+
# Sequence representations
|
|
27
33
|
|
|
28
|
-
In the modification section on the right side of the screen you can select modification for each base in your input
|
|
29
|
-
and check if PTO after the base is required.
|
|
34
|
+
In the modification section on the right side of the screen you can select modification for each base in your input
|
|
35
|
+
sequence and check if PTO after the base is required.
|
|
30
36
|
|
|
31
|
-
Representations are splitted into categories by synthesizer's sequence format(BioSpring/Axolabs/MerMade) and type of
|
|
37
|
+
Representations are splitted into categories by synthesizer's sequence format(BioSpring/Axolabs/MerMade) and type of
|
|
38
|
+
molecule (Gapmers / siRNA).
|
|
32
39
|
|
|
33
40
|
| Name | Example | Regular expression |
|
|
34
41
|
|---|---|---|
|
|
@@ -44,6 +51,7 @@ Representations are splitted into categories by synthesizer's sequence format(Bi
|
|
|
44
51
|
| Applied Biosystems Inc. (ABI) | `58877TTTACCACGT56788` | `^[5678ATGC]{10,}$` |
|
|
45
52
|
|
|
46
53
|
# Axolabs nucleotide modifications
|
|
54
|
+
|
|
47
55
|
| Name | Description | Symbols |
|
|
48
56
|
|---|---|---|
|
|
49
57
|
| `RNA` | RNA nucleotides | `A, C, G, U` |
|
|
@@ -73,4 +81,4 @@ Representations are splitted into categories by synthesizer's sequence format(Bi
|
|
|
73
81
|
| Pattern | Defines translation rules. Contains: pattern name, modifications and PTO linkages for both strands, and comment, displayed on image |
|
|
74
82
|
| PTO linkage | Indicates whether oligonucleotide has phosphorothioated bond (ps linkage) after the base |
|
|
75
83
|
| Sense strand (SS) | Contains the exact nucleotide sequence to the mRNA which encodes for a functional protein. Has the information that would be readable on the RNA, and that's called the coding side.|
|
|
76
|
-
| Antisense strand (AS) | Non-coding DNA strand of a gene. A cell uses antisense DNA strand as a template for producing messenger RNA (mRNA) that directs the synthesis of a protein. |
|
|
84
|
+
| Antisense strand (AS) | Non-coding DNA strand of a gene. A cell uses antisense DNA strand as a template for producing messenger RNA (mRNA) that directs the synthesis of a protein. |
|
package/css/style.css
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.inputSequence textarea {
|
|
2
|
+
resize: none;
|
|
3
|
+
min-height: 70px;
|
|
4
|
+
width: 100%;
|
|
5
|
+
font-family: monospace;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.inputSequence .input-base {
|
|
9
|
+
margin: '0';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.inputSequence select {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sequence .children {
|
|
17
|
+
padding: '5px 0';
|
|
18
|
+
}
|