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.0.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.0-py3-none-any.whl (62.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sadie_antibody-2.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0bd60089d64dd8745163c26be9d1d8e0486c3383d378327c6c8dd9c284422d61
MD5 484dada3611172e045555031b650da0e
BLAKE2b-256 eee332b2bb18bf98a71878a2d6f9f2bdad9a494f29de857f5e43c6abb392e00e

See more details on using hashes here.

Provenance

The following attestation bundles were made for sadie_antibody-2.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: sadie_antibody-2.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2db11265089380c5e3f5eed3f17e130fd5211d9646a946e122eafc7f47adc566
MD5 6c62a78caa33fae6dd8f9741fd2f9532
BLAKE2b-256 5afb3a7d700f7ef416b035494796718fd88502ac3dbdcaa92ecf3ad959f9a9a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sadie_antibody-2.1.0-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