dna-parser 0.3.0__tar.gz → 0.5.0__tar.gz
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.
- {dna_parser-0.3.0 → dna_parser-0.5.0}/.github/workflows/CI.yml +20 -18
- {dna_parser-0.3.0 → dna_parser-0.5.0}/.github/workflows/release.yml +20 -18
- dna_parser-0.5.0/Cargo.lock +715 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/Cargo.toml +6 -3
- dna_parser-0.5.0/PKG-INFO +14 -0
- dna_parser-0.5.0/README.md +105 -0
- dna_parser-0.5.0/docs/encodings/atomic_number.md +58 -0
- dna_parser-0.5.0/docs/encodings/chaos_game.md +73 -0
- dna_parser-0.5.0/docs/encodings/cross.md +77 -0
- dna_parser-0.5.0/docs/encodings/dna_walk.md +79 -0
- dna_parser-0.5.0/docs/encodings/eiip.md +57 -0
- dna_parser-0.5.0/docs/encodings/encode.md +73 -0
- dna_parser-0.5.0/docs/encodings/fickett.md +45 -0
- dna_parser-0.5.0/docs/encodings/onehot.md +77 -0
- dna_parser-0.5.0/docs/encodings/real.md +55 -0
- dna_parser-0.5.0/docs/encodings/tfidf.md +311 -0
- dna_parser-0.5.0/docs/encodings/tokenizer.md +213 -0
- dna_parser-0.5.0/docs/encodings/z_curve.md +0 -0
- dna_parser-0.5.0/docs/index.md +103 -0
- dna_parser-0.5.0/docs/load_seq/SequenceReader.md +233 -0
- dna_parser-0.5.0/docs/load_seq/SequenceRecord.md +77 -0
- dna_parser-0.5.0/docs/others/insert_white.md +35 -0
- dna_parser-0.5.0/docs/others/kmers.md +43 -0
- dna_parser-0.5.0/docs/others/rand_seq.md +38 -0
- dna_parser-0.5.0/mkdocs.yml +88 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/pyproject.toml +3 -3
- dna_parser-0.5.0/python/dna_parser/call_functions.py +14 -0
- dna_parser-0.5.0/python/dna_parser/tfidf_class.py +163 -0
- dna_parser-0.5.0/src/atomic_number.rs +117 -0
- dna_parser-0.5.0/src/chaos_game.rs +164 -0
- dna_parser-0.5.0/src/cross.rs +122 -0
- dna_parser-0.5.0/src/eiip.rs +117 -0
- dna_parser-0.5.0/src/encoding.rs +239 -0
- dna_parser-0.5.0/src/fastx.rs +176 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/src/fickett.rs +42 -61
- dna_parser-0.5.0/src/kmers.rs +74 -0
- dna_parser-0.5.0/src/lib.rs +80 -0
- dna_parser-0.5.0/src/onehot.rs +125 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/src/random_sequence.rs +2 -1
- dna_parser-0.5.0/src/real.rs +117 -0
- dna_parser-0.5.0/src/tfidf.rs +142 -0
- dna_parser-0.5.0/src/token_maps.rs +273 -0
- dna_parser-0.5.0/src/tokenizer.rs +389 -0
- dna_parser-0.5.0/src/utils/mod.rs +200 -0
- dna_parser-0.5.0/src/walk.rs +148 -0
- dna_parser-0.5.0/src/zcurve.rs +271 -0
- dna_parser-0.5.0/tests/seq_test.fasta.xz +0 -0
- dna_parser-0.5.0/tests/test_encoding.py +146 -0
- dna_parser-0.5.0/tests/test_fasta.py +79 -0
- dna_parser-0.5.0/tests/test_kmers.py +61 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_onehot.py +5 -5
- dna_parser-0.5.0/tests/test_tokenize.py +181 -0
- dna_parser-0.5.0/tests/test_zcurve.py +121 -0
- dna_parser-0.3.0/Cargo.lock +0 -497
- dna_parser-0.3.0/PKG-INFO +0 -57
- dna_parser-0.3.0/README.md +0 -40
- dna_parser-0.3.0/docs/documentation.md +0 -657
- dna_parser-0.3.0/docs/index.md +0 -39
- dna_parser-0.3.0/mkdocs.yml +0 -17
- dna_parser-0.3.0/python/dna_parser/call_functions.py +0 -73
- dna_parser-0.3.0/python/dna_parser/tfidf_class.py +0 -114
- dna_parser-0.3.0/src/atomic_number.rs +0 -162
- dna_parser-0.3.0/src/chaos_game.rs +0 -245
- dna_parser-0.3.0/src/cross.rs +0 -166
- dna_parser-0.3.0/src/dna_walk.rs +0 -256
- dna_parser-0.3.0/src/eiip.rs +0 -162
- dna_parser-0.3.0/src/fasta_files.rs +0 -126
- dna_parser-0.3.0/src/kmers.rs +0 -25
- dna_parser-0.3.0/src/lib.rs +0 -74
- dna_parser-0.3.0/src/onehot.rs +0 -165
- dna_parser-0.3.0/src/real.rs +0 -164
- dna_parser-0.3.0/src/tfidf.rs +0 -124
- dna_parser-0.3.0/src/utils/mod.rs +0 -88
- dna_parser-0.3.0/src/zcurve.rs +0 -266
- dna_parser-0.3.0/tests/test_fasta.py +0 -54
- dna_parser-0.3.0/tests/test_zcurve.py +0 -67
- {dna_parser-0.3.0 → dna_parser-0.5.0}/.gitignore +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/LICENSE +0 -0
- {dna_parser-0.3.0/docs → dna_parser-0.5.0/docs/about}/about.md +0 -0
- {dna_parser-0.3.0/docs → dna_parser-0.5.0/docs/about}/license.md +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/python/dna_parser/__init__.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/seq_test.fasta +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_atomic.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_chaos.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_cross.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_dna_walk.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_eiip.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_fickett.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_real.py +0 -0
- {dna_parser-0.3.0 → dna_parser-0.5.0}/tests/test_tfidf.py +0 -0
|
@@ -41,16 +41,15 @@ jobs:
|
|
|
41
41
|
- uses: actions/setup-python@v5
|
|
42
42
|
with:
|
|
43
43
|
python-version: |
|
|
44
|
-
3.9
|
|
45
|
-
3.10
|
|
46
44
|
3.11
|
|
47
45
|
3.12
|
|
48
|
-
3.13
|
|
46
|
+
3.13
|
|
47
|
+
3.14
|
|
49
48
|
- name: Build wheels
|
|
50
49
|
uses: PyO3/maturin-action@v1
|
|
51
50
|
with:
|
|
52
51
|
target: ${{ matrix.platform.target }}
|
|
53
|
-
args: --release --out dist -i 3.
|
|
52
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
54
53
|
sccache: 'true'
|
|
55
54
|
manylinux: auto
|
|
56
55
|
- name: Upload wheels
|
|
@@ -77,16 +76,15 @@ jobs:
|
|
|
77
76
|
- uses: actions/setup-python@v5
|
|
78
77
|
with:
|
|
79
78
|
python-version: |
|
|
80
|
-
3.9
|
|
81
|
-
3.10
|
|
82
79
|
3.11
|
|
83
80
|
3.12
|
|
84
|
-
3.13
|
|
81
|
+
3.13
|
|
82
|
+
3.14
|
|
85
83
|
- name: Build wheels
|
|
86
84
|
uses: PyO3/maturin-action@v1
|
|
87
85
|
with:
|
|
88
86
|
target: ${{ matrix.platform.target }}
|
|
89
|
-
args: --release --out dist -i 3.
|
|
87
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
90
88
|
sccache: 'true'
|
|
91
89
|
manylinux: musllinux_1_2
|
|
92
90
|
- name: Upload wheels
|
|
@@ -102,24 +100,25 @@ jobs:
|
|
|
102
100
|
platform:
|
|
103
101
|
- runner: windows-latest
|
|
104
102
|
target: x64
|
|
103
|
+
python_arch: x64
|
|
105
104
|
- runner: windows-latest
|
|
106
105
|
target: x86
|
|
106
|
+
python_arch: x86
|
|
107
107
|
steps:
|
|
108
108
|
- uses: actions/checkout@v4
|
|
109
109
|
- uses: actions/setup-python@v5
|
|
110
110
|
with:
|
|
111
111
|
python-version: |
|
|
112
|
-
3.9
|
|
113
|
-
3.10
|
|
114
112
|
3.11
|
|
115
113
|
3.12
|
|
116
|
-
3.13
|
|
114
|
+
3.13
|
|
115
|
+
3.14
|
|
117
116
|
architecture: ${{ matrix.platform.target }}
|
|
118
117
|
- name: Build wheels
|
|
119
118
|
uses: PyO3/maturin-action@v1
|
|
120
119
|
with:
|
|
121
120
|
target: ${{ matrix.platform.target }}
|
|
122
|
-
args: --release --out dist -i 3.
|
|
121
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
123
122
|
sccache: 'true'
|
|
124
123
|
- name: Upload wheels
|
|
125
124
|
uses: actions/upload-artifact@v4
|
|
@@ -132,25 +131,28 @@ jobs:
|
|
|
132
131
|
strategy:
|
|
133
132
|
matrix:
|
|
134
133
|
platform:
|
|
135
|
-
- runner: macos-13
|
|
136
|
-
target: x86_64
|
|
137
134
|
- runner: macos-14
|
|
138
135
|
target: aarch64
|
|
136
|
+
- runner: macos-15
|
|
137
|
+
target: aarch64
|
|
138
|
+
- runner: macos-15-intel
|
|
139
|
+
target: x86_64
|
|
140
|
+
- runner: macos-26
|
|
141
|
+
target: aarch64
|
|
139
142
|
steps:
|
|
140
143
|
- uses: actions/checkout@v4
|
|
141
144
|
- uses: actions/setup-python@v5
|
|
142
145
|
with:
|
|
143
146
|
python-version: |
|
|
144
|
-
3.9
|
|
145
|
-
3.10
|
|
146
147
|
3.11
|
|
147
148
|
3.12
|
|
148
|
-
3.13
|
|
149
|
+
3.13
|
|
150
|
+
3.14
|
|
149
151
|
- name: Build wheels
|
|
150
152
|
uses: PyO3/maturin-action@v1
|
|
151
153
|
with:
|
|
152
154
|
target: ${{ matrix.platform.target }}
|
|
153
|
-
args: --release --out dist -i 3.
|
|
155
|
+
args: --release --strip --auditwheel=repair --out dist -i 3.11 3.12 3.13 3.14
|
|
154
156
|
sccache: 'true'
|
|
155
157
|
- name: Upload wheels
|
|
156
158
|
uses: actions/upload-artifact@v4
|
|
@@ -34,16 +34,15 @@ jobs:
|
|
|
34
34
|
- uses: actions/setup-python@v5
|
|
35
35
|
with:
|
|
36
36
|
python-version: |
|
|
37
|
-
3.9
|
|
38
|
-
3.10
|
|
39
37
|
3.11
|
|
40
38
|
3.12
|
|
41
|
-
3.13
|
|
39
|
+
3.13
|
|
40
|
+
3.14
|
|
42
41
|
- name: Build wheels
|
|
43
42
|
uses: PyO3/maturin-action@v1
|
|
44
43
|
with:
|
|
45
44
|
target: ${{ matrix.platform.target }}
|
|
46
|
-
args: --release --out dist -i 3.
|
|
45
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
47
46
|
sccache: 'true'
|
|
48
47
|
manylinux: auto
|
|
49
48
|
- name: Upload wheels
|
|
@@ -70,16 +69,15 @@ jobs:
|
|
|
70
69
|
- uses: actions/setup-python@v5
|
|
71
70
|
with:
|
|
72
71
|
python-version: |
|
|
73
|
-
3.9
|
|
74
|
-
3.10
|
|
75
72
|
3.11
|
|
76
73
|
3.12
|
|
77
|
-
3.13
|
|
74
|
+
3.13
|
|
75
|
+
3.14
|
|
78
76
|
- name: Build wheels
|
|
79
77
|
uses: PyO3/maturin-action@v1
|
|
80
78
|
with:
|
|
81
79
|
target: ${{ matrix.platform.target }}
|
|
82
|
-
args: --release --out dist -i 3.
|
|
80
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
83
81
|
sccache: 'true'
|
|
84
82
|
manylinux: musllinux_1_2
|
|
85
83
|
- name: Upload wheels
|
|
@@ -95,24 +93,25 @@ jobs:
|
|
|
95
93
|
platform:
|
|
96
94
|
- runner: windows-latest
|
|
97
95
|
target: x64
|
|
96
|
+
python_arch: x64
|
|
98
97
|
- runner: windows-latest
|
|
99
98
|
target: x86
|
|
99
|
+
python_arch: x86
|
|
100
100
|
steps:
|
|
101
101
|
- uses: actions/checkout@v4
|
|
102
102
|
- uses: actions/setup-python@v5
|
|
103
103
|
with:
|
|
104
104
|
python-version: |
|
|
105
|
-
3.9
|
|
106
|
-
3.10
|
|
107
105
|
3.11
|
|
108
106
|
3.12
|
|
109
|
-
3.13
|
|
107
|
+
3.13
|
|
108
|
+
3.14
|
|
110
109
|
architecture: ${{ matrix.platform.target }}
|
|
111
110
|
- name: Build wheels
|
|
112
111
|
uses: PyO3/maturin-action@v1
|
|
113
112
|
with:
|
|
114
113
|
target: ${{ matrix.platform.target }}
|
|
115
|
-
args: --release --out dist -i 3.
|
|
114
|
+
args: --release --strip --out dist -i 3.11 3.12 3.13 3.14
|
|
116
115
|
sccache: 'true'
|
|
117
116
|
- name: Upload wheels
|
|
118
117
|
uses: actions/upload-artifact@v4
|
|
@@ -125,25 +124,28 @@ jobs:
|
|
|
125
124
|
strategy:
|
|
126
125
|
matrix:
|
|
127
126
|
platform:
|
|
128
|
-
- runner: macos-13
|
|
129
|
-
target: x86_64
|
|
130
127
|
- runner: macos-14
|
|
131
128
|
target: aarch64
|
|
129
|
+
- runner: macos-15
|
|
130
|
+
target: aarch64
|
|
131
|
+
- runner: macos-15-intel
|
|
132
|
+
target: x86_64
|
|
133
|
+
- runner: macos-26
|
|
134
|
+
target: aarch64
|
|
132
135
|
steps:
|
|
133
136
|
- uses: actions/checkout@v4
|
|
134
137
|
- uses: actions/setup-python@v5
|
|
135
138
|
with:
|
|
136
139
|
python-version: |
|
|
137
|
-
3.9
|
|
138
|
-
3.10
|
|
139
140
|
3.11
|
|
140
141
|
3.12
|
|
141
|
-
3.13
|
|
142
|
+
3.13
|
|
143
|
+
3.14
|
|
142
144
|
- name: Build wheels
|
|
143
145
|
uses: PyO3/maturin-action@v1
|
|
144
146
|
with:
|
|
145
147
|
target: ${{ matrix.platform.target }}
|
|
146
|
-
args: --release --out dist -i 3.
|
|
148
|
+
args: --release --strip --auditwheel=repair --out dist -i 3.11 3.12 3.13 3.14
|
|
147
149
|
sccache: 'true'
|
|
148
150
|
- name: Upload wheels
|
|
149
151
|
uses: actions/upload-artifact@v4
|