Skip to main content

Feature extraction and analysis toolkit for antisense oligonucleotide design.

Project description

ASODesigner

Python Status License

Feature extraction and analysis utilities for antisense oligonucleotide (ASO) design, built for the TAU-Israel 2025 iGEM project.

Features

  • MOE and LNA candidate ranking pipeline with optional feature breakdowns and off-target scoring.
  • Modular feature calculators covering GC metrics, hybridization, RNA accessibility, folding, and toxicity heuristics.
  • One-step asset bootstrap that downloads the human GFF database and Bowtie index structure required by the pipeline.
  • Ready to embed in FastAPI backends or standalone discovery notebooks.

Installation

From PyPI

pip install asodesigner

Required Assets

The generator expects the human annotation database and Bowtie index structure to exist under src/data/human/human_v34/. Download them once via:

from pathlib import Path

from asodesigner.download_assets import ensure_assets

# Defaults to src/data/human/human_v34 when no destination is supplied
ensure_assets()

# Or specify a custom target directory
ensure_assets(Path("~/aso_assets/human_v34"))

The helper skips files that already exist and only downloads missing assets.

Quick Start

Generate top ASO candidates for a human gene, complete with feature annotations:

from asodesigner.aso_generator import design_asos

# Retrieve the top 3 MOE + LNA designs for MALAT1
candidates = design_asos(
    organismName="human",
    geneName="MALAT1",
    geneData=None,
    top_k=3,
    includeFeatureBreakdown=True,
)

print(candidates[["Sequence", "mod_pattern"]])
  • Set geneData to a custom transcript sequence to work outside the reference genome.
  • With includeFeatureBreakdown=True, additional columns (e.g., exp_ps_hybr, gc_content, at_skew, off_target, on_target) are attached to each row.
  • For lower-level feature utilities, explore modules under src/asodesigner/.

Development Workflow

  1. Update or add functionality under src/asodesigner/.
  2. Keep imports relative within the package (for example, from .util import helper).
  3. Run pytest (or python -m pytest) to execute the available unit tests.
  4. Optionally run python -m compileall src/asodesigner to double-check importability before packaging.

Extending the Project

  • Feature metrics – Implement additional sequence, structural, or accessibility metrics under src/asodesigner/features/. Many modules (e.g., seq_features.py, hybridization.py) expose template-style functions you can mirror.
  • Pipeline enrichment – The cross-chemistry ASO pipeline lives in src/asodesigner/aso_generator.py. Add new feature columns inside add_features_for_output or extend the returned DataFrame schema to expose your metrics downstream.
  • Constants and configuration – Global paths and dataset references live in src/asodesigner/consts.py. Update these when introducing new organism builds or experimental assets so the rest of the codebase can locate them.
  • Utility helpers – Shared logic (reverse complement, translation tables, etc.) sits under src/asodesigner/util.py and related utilities. Enhance these modules when new workflows require additional helpers.
  • Data workflows – Reference datasets and caches under src/data/ pair with the code in src/asodesigner. When extending to other organisms or assemblies, follow the existing directory layout so asset downloaders and consts remain consistent.

Have improvements to share? Open an issue or PR—we welcome new metrics, pipeline enrichments, and broader organism support.

License

Released under an MIT-style license tailored for academic and research use. See LICENSE for the complete terms and instructions for commercial enquiries.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asodesigner-1.0.0.tar.gz (79.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asodesigner-1.0.0-py3-none-any.whl (92.0 kB view details)

Uploaded Python 3

File details

Details for the file asodesigner-1.0.0.tar.gz.

File metadata

  • Download URL: asodesigner-1.0.0.tar.gz
  • Upload date:
  • Size: 79.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for asodesigner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f8e5b087eb29d34aa0057dbb8e4bcd4163d491ec626f41ad79a6a1ec42037981
MD5 c9dcdef63a5873b8db26c2f5bf9107cf
BLAKE2b-256 287867a37bd4323bb8c2452b3a5b75bf405f2ae06d1390a92db62f9b856b86da

See more details on using hashes here.

File details

Details for the file asodesigner-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: asodesigner-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 92.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for asodesigner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 197356586bf38b8adae11b0ec6ed3dc6208ac4ba9bff6d5f2ffad3db913265ee
MD5 126825209a1d341d6b056453bf22f32c
BLAKE2b-256 c2d2e50d4b597415ebedbae1663231a2b9711e94f4ab8354fae1506737ebdd02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page