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

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.6
File Size Uploaded Provenance Actions
argile-0.0.6.tar.gz 407.6 kB Without provenance Details for argile-0.0.6.tar.gz

Built distribution (wheel)

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

Total release size: 423.3 kB

Release files / argile-0.0.6.tar.gz

Download URL argile-0.0.6.tar.gz
Size 407.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b6c20d619c7d4f34dda26439a5a6cf05c1d7adfe607053a8e382060d6a1fd566
BLAKE2b-256 checksum
How to use checksums
e80af3e37665fb86d6cc4dc8973c1fced868bb39f26d3fe7f4c6946a6147c09e
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.6-py3-none-any.whl

Download URL argile-0.0.6-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3baa220d1572bc5142930e1b4938753ef61562917eb85ad7979fbd43ea91522b
BLAKE2b-256 checksum
How to use checksums
0ec8878a62f171c150ed50b2b86069b59f3e540ebd2bc0521a2e876cd558163f
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.6

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