Skip to main content

argile logo

argile (formerly terracotta) is a Python package for estimating migration surfaces and the locations of genetic ancestors from gene trees. The latest release is available either here on GitHub or through PyPI. See example_dataset/ for details about file formats.

Estimate the most likely migration surface

import argile

result, loglikelihood = argile.run(
    demes_path="example_dataset/demes.tsv",
    connections_path="example_dataset/connections.tsv",
    samples_path="example_dataset/samples.tsv",
    trees_dir_path="example_dataset/trees",
    output_file="output.tsv"
)

argile.run() estimates the most likely migration surface using the L-BFGS-B algorithm. It estimates values for the coefficient (the default migration rate) and any migration rate modifier variables (here r0, r1, and r2). These variables will be automatically included in this search if present in connections.tsv. This function takes the paths to the files as input rather than loading the world map prior.

Loading the world map

import pandas as pd
import argile

demes = pd.read_csv("example_dataset/demes.tsv", sep="\t")
connections = pd.read_csv("example_dataset/connections.tsv", sep="\t")
samples = pd.read_csv("example_dataset/samples.tsv", sep="\t")
world_map = argile.WorldMap(demes, connections, samples)

Metadata

Release files for argile 0.0.5

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

Source distribution (sdist)

Source distribution for argile 0.0.5
File Size Uploaded Provenance Actions
argile-0.0.5.tar.gz 407.2 kB Without provenance Details for argile-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 422.6 kB

Release files / argile-0.0.5.tar.gz

Download URL argile-0.0.5.tar.gz
Size 407.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c0cb60d26b0149466723a77b87e401a3f1942659b15abf2df4800caa5c99cb96
BLAKE2b-256 checksum
How to use checksums
f11a864badd05d2c9c767a525e56fd62432083840bf6ffb7fa5bd1e002b24f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Release files / argile-0.0.5-py3-none-any.whl

Download URL argile-0.0.5-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e800e1f2c87142bb54bcf32310c058c6c14974719579616e93b72469ea9f4a7
BLAKE2b-256 checksum
How to use checksums
51ec1e31038244cbbc2872c2a092b2098f80b17695b1503c9874255ce9044442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.0

Security for argile 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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