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.5.1.tar.gz (16.9 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.5.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for spartaabc-0.5.1.tar.gz
Algorithm Hash digest
SHA256 48d8ca69c317200e274c16a583333b19720eb22fd6f5fde3b2233c67743bd25c
MD5 b6f893f54ae76f65f54f32facb309dc7
BLAKE2b-256 08d2d7b6e0cfedc33c9bb018a6dd84e7280dfe229a1b51b25ecb4281436209ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for spartaabc-0.5.1.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.5.1-py3-none-any.whl.

File metadata

  • Download URL: spartaabc-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 21.5 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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c6bfddf0efeaf307ac6639f3d0be4be6391a8d87f2a42d49ddb565a95532e7b
MD5 1f97ac01e6576831b01dc77a1c6ea51c
BLAKE2b-256 770cabf26cf4842be3ad18d15f5ed163cfdc8419ac15cafde8572d46a979a811

See more details on using hashes here.

Provenance

The following attestation bundles were made for spartaabc-0.5.1-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