omnigenome 0.3.21a0__py3-none-any.whl → 0.3.23a0__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.

@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: omnigenome
3
- Version: 0.3.21a0
3
+ Version: 0.3.23a0
4
4
  Summary: OmniGenome: A comprehensive toolkit for genome analysis.
5
5
  Home-page: https://github.com/yangheng95/OmniGenBench
6
6
  Author: Yang, Heng
@@ -20,41 +20,28 @@ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
20
20
  Requires-Python: >=3.10
21
21
  Description-Content-Type: text/markdown
22
22
  License-File: LICENSE
23
- Requires-Dist: omnigenbench>=0.3.3
24
- Requires-Dist: findfile>=2.0.0
25
- Requires-Dist: autocuda>=0.16
26
- Requires-Dist: metric-visualizer>=0.9.6
23
+ Requires-Dist: omnigenbench >=0.3.3
24
+ Requires-Dist: findfile >=2.0.0
25
+ Requires-Dist: autocuda >=0.16
26
+ Requires-Dist: metric-visualizer >=0.9.6
27
27
  Requires-Dist: termcolor
28
28
  Requires-Dist: gitpython
29
- Requires-Dist: torch>=2.6.0
29
+ Requires-Dist: torch >=2.6.0
30
30
  Requires-Dist: pandas
31
31
  Requires-Dist: viennarna
32
32
  Requires-Dist: scikit-learn
33
33
  Requires-Dist: accelerate
34
- Requires-Dist: transformers>=4.46.0
34
+ Requires-Dist: transformers >=4.46.0
35
35
  Requires-Dist: packaging
36
36
  Requires-Dist: peft
37
37
  Requires-Dist: dill
38
38
  Provides-Extra: dev
39
- Requires-Dist: dill; extra == "dev"
40
- Requires-Dist: pytest; extra == "dev"
41
- Dynamic: author
42
- Dynamic: author-email
43
- Dynamic: classifier
44
- Dynamic: description
45
- Dynamic: description-content-type
46
- Dynamic: home-page
47
- Dynamic: license
48
- Dynamic: license-file
49
- Dynamic: platform
50
- Dynamic: provides-extra
51
- Dynamic: requires-dist
52
- Dynamic: requires-python
53
- Dynamic: summary
54
-
55
- ![favicon.png](asset/favicon.png)
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>
39
+ Requires-Dist: dill ; extra == 'dev'
40
+ Requires-Dist: pytest ; extra == 'dev'
41
+
42
+ [//]: # (![favicon.png]&#40;asset/favicon.png&#41;)
43
+
44
+ [//]: # (<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
45
 
59
46
  <div align="center">
60
47
 
@@ -124,15 +111,43 @@ pip install -e .
124
111
  ```
125
112
 
126
113
  ## Quick Start
127
- `OmniGenBench is available for diverse models and benchmark suites, please refer to the following sections for more details.`
114
+ `OmniGenBench is available for diverse models and benchmark suites, please refer to the following sections for more details.`
115
+
116
+ ### Auto-inference via CLI
117
+ Run inference with fine-tuned models on genomic sequences:
118
+ ```bash
119
+ # Single sequence inference
120
+ ogb autoinfer --model yangheng/ogb_tfb_finetuned --sequence "ATCGATCGATCGATCG" --output-file predictions.json
121
+
122
+ # Batch inference from file
123
+ ogb autoinfer --model yangheng/ogb_te_finetuned --input-file sequences.json --batch-size 64 --output-file results.json
124
+
125
+ # Legacy command (still supported)
126
+ autoinfer --model yangheng/ogb_tfb_finetuned --sequence "ATCGATCGATCG"
127
+ ```
128
+
129
+ ### Auto-inference via Python API
130
+ Or use the Python API for programmatic inference:
131
+ ```python
132
+ from omnigenbench import ModelHub
133
+
134
+ model = ModelHub.load("yangheng/ogb_tfb_finetuned")
135
+ outputs = model.inference("ATCGATCGATCGATCGATCGATCGATCGATCG")
136
+ print(outputs) # {'predictions': array([1, 0, 1, ...]), 'probabilities': array([0.92, 0.15, ...])}
137
+ ```
138
+ You can find more examples in the [Getting Started Guide](docs/GETTING_STARTED.md) and [AutoInfer Examples](examples/autoinfer_examples/).
139
+
128
140
  ### Auto-benchmark via CLI
129
141
  The following command will download the model from the Hugging Face model hub and run the benchmark on the RGB benchmark:
130
142
  ```bash
143
+ # New unified command
144
+ ogb autobench --model yangheng/OmniGenome-186M --benchmark RGB --trainer accelerate
145
+
146
+ # Legacy command (still supported)
131
147
  autobench --model_name_or_path "yangheng/OmniGenome-186M" --benchmark "RGB" --trainer accelerate
132
148
  ```
133
149
  You can find a visualization of AutoBench [here](asset/AutoBench.gif).
134
150
 
135
-
136
151
  ### Auto-benchmark via Python API
137
152
  Or you can use the following python code to run the auto-benchmark:
138
153
  ```python
@@ -0,0 +1,7 @@
1
+ omnigenome/__init__.py,sha256=2JNoPrnv-1lYXkBiuHBYVXp1OJiRD8c9j65qFeXJtQY,9436
2
+ omnigenome-0.3.23a0.dist-info/LICENSE,sha256=oQoefBV6siHctF0ET-OO3EaSZgtqGtf-wdIAmokS8iY,11560
3
+ omnigenome-0.3.23a0.dist-info/METADATA,sha256=uwuQsiXA-5tcYv4NXdAcpo1A21c_2c8btwQa-V1g9F0,11237
4
+ omnigenome-0.3.23a0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
5
+ omnigenome-0.3.23a0.dist-info/entry_points.txt,sha256=uu40UgMPxY65ASdRbrhkwH94r7CIYgyG_iDBmqFQbD8,84
6
+ omnigenome-0.3.23a0.dist-info/top_level.txt,sha256=LVFxm_WPaxjj9KnAqdW94W4D4lbOk30gdsaKlJiSzTo,11
7
+ omnigenome-0.3.23a0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (78.1.1)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,7 +0,0 @@
1
- omnigenome/__init__.py,sha256=2JNoPrnv-1lYXkBiuHBYVXp1OJiRD8c9j65qFeXJtQY,9436
2
- omnigenome-0.3.21a0.dist-info/licenses/LICENSE,sha256=oQoefBV6siHctF0ET-OO3EaSZgtqGtf-wdIAmokS8iY,11560
3
- omnigenome-0.3.21a0.dist-info/METADATA,sha256=Sg-y1-Ssly0eLLydxEB9ZdGTmGj6pMrY-6bujNRGu7Q,10344
4
- omnigenome-0.3.21a0.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
5
- omnigenome-0.3.21a0.dist-info/entry_points.txt,sha256=uu40UgMPxY65ASdRbrhkwH94r7CIYgyG_iDBmqFQbD8,84
6
- omnigenome-0.3.21a0.dist-info/top_level.txt,sha256=LVFxm_WPaxjj9KnAqdW94W4D4lbOk30gdsaKlJiSzTo,11
7
- omnigenome-0.3.21a0.dist-info/RECORD,,