Skip to main content

"The Complete Antibody Library"

Project description

Sequencing Analysis and Data Library for Immunoinformatics Exploration

SADIE

About


Documentation: https://sadie.jordanrwillis.com

Source Code: https://github.com/jwillis0720/sadie

Colab: https://colab.research.google.com/github/jwillis0720/sadie


SADIE is the Sequencing Analysis and Data library for Immunoinformatics Exploration. The key feautures include:

  • Provide pre-built command line applications for popular immunoinformatics applications.

  • Provide a low-level API framework for immunoinformatics developers to build higher level tools.

  • Provide a testable and reusable library that WORKS!

  • Provide a bundled, customizable, and verified germline reference library.

  • Maintain data formats consistent with standards governed by the AIRR community

  • Portability ready to use out the box.

SADIE ships germline gene data in the package. The retired live G3 API is no longer required for reference, AIRR, or renumbering workflows.

SADIE is billed as a "complete antibody library", not because it aims to do everything, but because it aims to meet the needs of all immunoinformatics users. SADIE contains both low, mid and high level functionality for immunoinformatics tools and workflows. You can use SADIE as a framework to develop your own tools, use many of the prebuilt contributed tools, or run it in a notebook to enable data exploration. In addition, SADIE aims to port all code to python because relies heavily on the Pandas library, the workhorse of the data science/machine learning age.

Installation


Installation is handled using the python package installer pip

$ pip install sadie-antibody

No G3 API setup is required for the bundled germline references after installation.

Development installation.

Pull requests are highly encouraged here. The development installation uses pre-commit, flake8 linting and black style formatting to maintain code readability and reausability.

$ git clone git@github.com/jwillis0720/sadie.git
$ cd sadie
$ pip install -e .

Offline test run

Run the frozen suite with HTTP proxies pointed at a dead local port:

$ https_proxy=http://127.0.0.1:9 http_proxy=http://127.0.0.1:9 all_proxy=http://127.0.0.1:9 \
  HTTPS_PROXY=http://127.0.0.1:9 HTTP_PROXY=http://127.0.0.1:9 ALL_PROXY=http://127.0.0.1:9 \
  pytest tests -o addopts= -p no:cacheprovider

Quick Usage

Consult the documentation for complete usage. Or checkout our Colab notebook

The packaged germline references are used by default; no live G3 lookup is made.

Command Line Usage

Annotate antibody sequences only from functional human imgt antibodies to a gzip output

$ sadie airr my_sequence.fasta

API

from sadie.airr import Airr
# define a single sequence
pg9_seq = """
    CAGCGATTAGTGGAGTCTGGGGGAGGCGTGGTCCAGCCTGGGTCGTCCCTGAGACTCTCCTGTGCAGCGT
    CCGGATTCGACTTCAGTAGACAAGGCATGCACTGGGTCCGCCAGGCTCCAGGCCAGGGGCTGGAGTGGGT
    GGCATTTATTAAATATGATGGAAGTGAGAAATATCATGCTGACTCCGTATGGGGCCGACTCAGCATCTCC
    AGAGACAATTCCAAGGATACGCTTTATCTCCAAATGAATAGCCTGAGAGTCGAGGACACGGCTACATATT
    TTTGTGTGAGAGAGGCTGGTGGGCCCGACTACCGTAATGGGTACAACTATTACGATTTCTATGATGGTTA
    TTATAACTACCACTATATGGACGTCTGGGGCAAAGGGACCACGGTCACCGTCTCGAGC""".replace(
    "\n", ""
)

# initialize the api
air_api = Airr("human")

# run single sequence string
airr_table = air_api.run_single("PG9", pg9_seq)

License

License

  • Copyright © Jordan R. Willis, Troy M. Sincomb & Caleb K. Kibet

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

sadie_antibody-2.1.1.tar.gz (62.1 MB view details)

Uploaded Source

Built Distribution

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

sadie_antibody-2.1.1-py3-none-any.whl (62.4 MB view details)

Uploaded Python 3

File details

Details for the file sadie_antibody-2.1.1.tar.gz.

File metadata

  • Download URL: sadie_antibody-2.1.1.tar.gz
  • Upload date:
  • Size: 62.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sadie_antibody-2.1.1.tar.gz
Algorithm Hash digest
SHA256 385836d84b96aee391f3f2b7e64d8446e480067a0dea7ae465e9a2223a0a793d
MD5 528073adffa0e48ef38c64eee555b345
BLAKE2b-256 05e8d5414931e1cf2e1771bbc8464e3ad4ddace13c11259ffe2aba6864f0c1f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for sadie_antibody-2.1.1.tar.gz:

Publisher: publish-pypi.yml on jwillis0720/sadie

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sadie_antibody-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: sadie_antibody-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 62.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sadie_antibody-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc235df85e9c3edc4368266c982f2e75a2b1ecefc42107b78680559481632b9
MD5 a0330cbb626ad1b7ca2822fa1a128a9e
BLAKE2b-256 26b29e4a87c863d7f83be4fa6e3b9de1f6c40fd04bc6d4b2dae04d92fdf164bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for sadie_antibody-2.1.1-py3-none-any.whl:

Publisher: publish-pypi.yml on jwillis0720/sadie

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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