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.3

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.3
File Size Uploaded Provenance Actions
argile-0.0.3.tar.gz 406.4 kB Without provenance Details for argile-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 421.2 kB

Release files / argile-0.0.3.tar.gz

Download URL argile-0.0.3.tar.gz
Size 406.4 kB
Tags Source
SHA-256 checksum
How to use checksums
55563f1919e605522f373dd2a31d0154f048110def41efeea9fa14e3ede0f765
BLAKE2b-256 checksum
How to use checksums
9f689634c0a87b844ba253a2c70acca86c0cdb709d368b42afe34b5d3d4f8eef
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.3-py3-none-any.whl

Download URL argile-0.0.3-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c70d7b25dffe9fa0d3b7a6cee09b254bc86cbda079a59345e88af9070d3a2c5f
BLAKE2b-256 checksum
How to use checksums
4b5d50f6d2abb3444b227ee1c89bcc1f4fa66d2716baa7124057f75c594bcaa7
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.3

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