omnigenome 0.3.20a0__py3-none-any.whl → 0.3.22a0__py3-none-any.whl
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.
Potentially problematic release.
This version of omnigenome might be problematic. Click here for more details.
- {omnigenome-0.3.20a0.dist-info → omnigenome-0.3.22a0.dist-info}/METADATA +33 -5
- omnigenome-0.3.22a0.dist-info/RECORD +7 -0
- omnigenome-0.3.20a0.dist-info/RECORD +0 -7
- {omnigenome-0.3.20a0.dist-info → omnigenome-0.3.22a0.dist-info}/WHEEL +0 -0
- {omnigenome-0.3.20a0.dist-info → omnigenome-0.3.22a0.dist-info}/entry_points.txt +0 -0
- {omnigenome-0.3.20a0.dist-info → omnigenome-0.3.22a0.dist-info}/licenses/LICENSE +0 -0
- {omnigenome-0.3.20a0.dist-info → omnigenome-0.3.22a0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: omnigenome
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.22a0
|
|
4
4
|
Summary: OmniGenome: A comprehensive toolkit for genome analysis.
|
|
5
5
|
Home-page: https://github.com/yangheng95/OmniGenBench
|
|
6
6
|
Author: Yang, Heng
|
|
@@ -52,9 +52,9 @@ Dynamic: requires-dist
|
|
|
52
52
|
Dynamic: requires-python
|
|
53
53
|
Dynamic: summary
|
|
54
54
|
|
|
55
|
-
![favicon.png]
|
|
55
|
+
[//]: # ()
|
|
56
56
|
|
|
57
|
-
<h3 align="center">OmniGenBench provides an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>
|
|
57
|
+
[//]: # (<h3 align="center">OmniGenBench provides an all-in-one solution for genomic foundation model finetuning, inference, deployment and automated benchmarking, designed for research and applications in genomics.</h3>)
|
|
58
58
|
|
|
59
59
|
<div align="center">
|
|
60
60
|
|
|
@@ -124,15 +124,43 @@ pip install -e .
|
|
|
124
124
|
```
|
|
125
125
|
|
|
126
126
|
## Quick Start
|
|
127
|
-
`OmniGenBench is available for diverse models and benchmark suites, please refer to the
|
|
127
|
+
`OmniGenBench is available for diverse models and benchmark suites, please refer to the following sections for more details.`
|
|
128
|
+
|
|
129
|
+
### Auto-inference via CLI
|
|
130
|
+
Run inference with fine-tuned models on genomic sequences:
|
|
131
|
+
```bash
|
|
132
|
+
# Single sequence inference
|
|
133
|
+
ogb autoinfer --model yangheng/ogb_tfb_finetuned --sequence "ATCGATCGATCGATCG" --output-file predictions.json
|
|
134
|
+
|
|
135
|
+
# Batch inference from file
|
|
136
|
+
ogb autoinfer --model yangheng/ogb_te_finetuned --input-file sequences.json --batch-size 64 --output-file results.json
|
|
137
|
+
|
|
138
|
+
# Legacy command (still supported)
|
|
139
|
+
autoinfer --model yangheng/ogb_tfb_finetuned --sequence "ATCGATCGATCG"
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Auto-inference via Python API
|
|
143
|
+
Or use the Python API for programmatic inference:
|
|
144
|
+
```python
|
|
145
|
+
from omnigenbench import ModelHub
|
|
146
|
+
|
|
147
|
+
model = ModelHub.load("yangheng/ogb_tfb_finetuned")
|
|
148
|
+
outputs = model.inference("ATCGATCGATCGATCGATCGATCGATCGATCG")
|
|
149
|
+
print(outputs) # {'predictions': array([1, 0, 1, ...]), 'probabilities': array([0.92, 0.15, ...])}
|
|
150
|
+
```
|
|
151
|
+
You can find more examples in the [Getting Started Guide](docs/GETTING_STARTED.md) and [AutoInfer Examples](examples/autoinfer_examples/).
|
|
152
|
+
|
|
128
153
|
### Auto-benchmark via CLI
|
|
129
154
|
The following command will download the model from the Hugging Face model hub and run the benchmark on the RGB benchmark:
|
|
130
155
|
```bash
|
|
156
|
+
# New unified command
|
|
157
|
+
ogb autobench --model yangheng/OmniGenome-186M --benchmark RGB --trainer accelerate
|
|
158
|
+
|
|
159
|
+
# Legacy command (still supported)
|
|
131
160
|
autobench --model_name_or_path "yangheng/OmniGenome-186M" --benchmark "RGB" --trainer accelerate
|
|
132
161
|
```
|
|
133
162
|
You can find a visualization of AutoBench [here](asset/AutoBench.gif).
|
|
134
163
|
|
|
135
|
-
|
|
136
164
|
### Auto-benchmark via Python API
|
|
137
165
|
Or you can use the following python code to run the auto-benchmark:
|
|
138
166
|
```python
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
omnigenome/__init__.py,sha256=2JNoPrnv-1lYXkBiuHBYVXp1OJiRD8c9j65qFeXJtQY,9436
|
|
2
|
+
omnigenome-0.3.22a0.dist-info/licenses/LICENSE,sha256=oQoefBV6siHctF0ET-OO3EaSZgtqGtf-wdIAmokS8iY,11560
|
|
3
|
+
omnigenome-0.3.22a0.dist-info/METADATA,sha256=Z8pqBMfX0aGOuCZ-SmPGPHBJtgjZQNafPwUsOB6mIHs,11520
|
|
4
|
+
omnigenome-0.3.22a0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
5
|
+
omnigenome-0.3.22a0.dist-info/entry_points.txt,sha256=uu40UgMPxY65ASdRbrhkwH94r7CIYgyG_iDBmqFQbD8,84
|
|
6
|
+
omnigenome-0.3.22a0.dist-info/top_level.txt,sha256=LVFxm_WPaxjj9KnAqdW94W4D4lbOk30gdsaKlJiSzTo,11
|
|
7
|
+
omnigenome-0.3.22a0.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
omnigenome/__init__.py,sha256=2JNoPrnv-1lYXkBiuHBYVXp1OJiRD8c9j65qFeXJtQY,9436
|
|
2
|
-
omnigenome-0.3.20a0.dist-info/licenses/LICENSE,sha256=oQoefBV6siHctF0ET-OO3EaSZgtqGtf-wdIAmokS8iY,11560
|
|
3
|
-
omnigenome-0.3.20a0.dist-info/METADATA,sha256=V3BwmtiALsj06c7qVDo5eE93HMxhh2HyCqv0k5861uk,10344
|
|
4
|
-
omnigenome-0.3.20a0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
|
5
|
-
omnigenome-0.3.20a0.dist-info/entry_points.txt,sha256=uu40UgMPxY65ASdRbrhkwH94r7CIYgyG_iDBmqFQbD8,84
|
|
6
|
-
omnigenome-0.3.20a0.dist-info/top_level.txt,sha256=LVFxm_WPaxjj9KnAqdW94W4D4lbOk30gdsaKlJiSzTo,11
|
|
7
|
-
omnigenome-0.3.20a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|