Skip to main content

SpartaABC

A Python package for inferring indel (insertion-deletion) model parameters using Approximate Bayesian Computation (ABC).

Description

spartaabc implements ABC methods to estimate parameters of indel models from observed data. This approach is particularly useful when dealing with complex evolutionary models where traditional likelihood-based methods may be computationally intractable.

Installation

You can install spartaabc directly from PyPI:

pip install spartaabc

Quick Start

Here's a basic example of how to use spartaabc:

sparta -i /path/to/data/dir -t AA -n 10000 -nc 100 -s 42

Arguments:

  • -i: Input directory containing phylogenetic tree in newick format, and raxml ".bestModel" file.
  • -t: Sequence type (AA for amino acid or NT for nucleotide)
  • -n: Number of simulations (10000)
  • -nc: Number of corrective simulations (100)
  • -s: Random number seed (42)

License

This project is licensed under the Academic Free License v3.0.

Contact

Metadata

Release files for spartaabc 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spartaabc 0.9.0
File Size Uploaded Provenance Actions
spartaabc-0.9.0.tar.gz 19.1 kB With provenance Details for spartaabc-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spartaabc 0.9.0
File Interpreter ABI Platform Actions
spartaabc-0.9.0-py3-none-any.whl Python 3 none any Details for spartaabc-0.9.0-py3-none-any.whl

Total release size: 43.3 kB

Release files / spartaabc-0.9.0.tar.gz

Download URL spartaabc-0.9.0.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8b1592ee8334186ffa67a081bcb16f759d10122bfcf34ba648c424c6aeb24b17
BLAKE2b-256 checksum
How to use checksums
4c67282d3c1108e9138411bbc86d8c16c723527a7b2d8696ac4728676dca0025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / spartaabc-0.9.0-py3-none-any.whl

Download URL spartaabc-0.9.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53b15b8d3a3d64619e20709ed386c119eb8ccd0b56c5e32c56c9ed57ca6c18e3
BLAKE2b-256 checksum
How to use checksums
07cf8ea443c16e8cb267686672bfb6d29a30bd340d1ca49485693aaa5c7cdd3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for spartaabc 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for spartaabc-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page