Commit ·
7acb72a
1
Parent(s): 3d6a80c
Fix: Use only RNA_SEQ output type to prevent API errors
Browse files
app.py
CHANGED
|
@@ -320,23 +320,13 @@ else:
|
|
| 320 |
alternate_bases=alt_base
|
| 321 |
)
|
| 322 |
|
| 323 |
-
#
|
| 324 |
-
|
| 325 |
-
if "RNA Expression" in output_modalities:
|
| 326 |
-
requested.append(dna_client.OutputType.RNA_SEQ)
|
| 327 |
-
if "Splicing" in output_modalities:
|
| 328 |
-
requested.append(dna_client.OutputType.SPLICE_SITE)
|
| 329 |
-
if "Chromatin Accessibility" in output_modalities:
|
| 330 |
-
requested.append(dna_client.OutputType.ATAC_SEQ)
|
| 331 |
-
|
| 332 |
-
if not requested:
|
| 333 |
-
requested = [dna_client.OutputType.RNA_SEQ]
|
| 334 |
-
|
| 335 |
outputs = model.predict_variant(
|
| 336 |
interval=interval,
|
| 337 |
variant=variant,
|
| 338 |
ontology_terms=[ontology_term],
|
| 339 |
-
requested_outputs=
|
| 340 |
)
|
| 341 |
|
| 342 |
# Display Results
|
|
|
|
| 320 |
alternate_bases=alt_base
|
| 321 |
)
|
| 322 |
|
| 323 |
+
# AlphaGenome API - use RNA_SEQ (verified working output type)
|
| 324 |
+
# Note: Other modalities like splicing use different API methods
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
outputs = model.predict_variant(
|
| 326 |
interval=interval,
|
| 327 |
variant=variant,
|
| 328 |
ontology_terms=[ontology_term],
|
| 329 |
+
requested_outputs=[dna_client.OutputType.RNA_SEQ],
|
| 330 |
)
|
| 331 |
|
| 332 |
# Display Results
|