Skip to main content

Indel model parameter inference.

Project description

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

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

spartaabc-0.4.5.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

spartaabc-0.4.5-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file spartaabc-0.4.5.tar.gz.

File metadata

  • Download URL: spartaabc-0.4.5.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spartaabc-0.4.5.tar.gz
Algorithm Hash digest
SHA256 025c557dcf37f1e139d2d74f421d3c3a87e99f3356a7332c52742be26080c87d
MD5 e5afb7c63faee185fe004f21c15fb8b9
BLAKE2b-256 2c4706564383be4d7672a45d02e1e1c5383997bb3c11011d721aed881254e35a

See more details on using hashes here.

Provenance

The following attestation bundles were made for spartaabc-0.4.5.tar.gz:

Publisher: build_wheels.yml on elyawy/SpartaV2

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

File details

Details for the file spartaabc-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: spartaabc-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spartaabc-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 356e73efdd88978a5ff6fe94cf068a7a6f57866ed71208f35623af990887d14d
MD5 39fbb7acd8d8b86e851bee3c6b5faa5f
BLAKE2b-256 5180cf698d445b8ecd342a113db1092643570ccd500e8649fd700d6e5ab42e30

See more details on using hashes here.

Provenance

The following attestation bundles were made for spartaabc-0.4.5-py3-none-any.whl:

Publisher: build_wheels.yml on elyawy/SpartaV2

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