Skip to main content

Numerical model for life history evolution of age-structured populations

Project description

PyPI version Python 3.6+

AEGIS

Aging of Evolving Genomes In Silico (AY-jis, /eɪd͡ʒɪs/)

Numerical model for life history evolution of age-structured populations under customizable ecological scenarios.

How to install

We recommend that you install aegis-sim from PyPI into a virtual environment.

$ pip install aegis-sim
Cheat sheet
# Unix/macOS
python3 -m venv aegis-venv
. aegis-venv/bin/activate
python3 -m pip install aegis-sim
# Windows
python -m venv aegis-venv
.\aegis-venv\Scripts\activate
python -m pip install aegis-sim
For developers
# Unix/macOS
git clone git@github.com:valenzano-lab/aegis.git
cd aegis
make install_dev

How to run

  1. Create a configuration file

    Before running a custom AEGIS simulation, you must create a configuration file (in YAML format) which will contain your custom parameter values. List of modifiable parameters, and all relevant details can be found in the wiki. Default parameter values are set in the file default.yml.

    An example of a YAML file:

    # custom.yml
    
    RANDOM_SEED_: 42
    STAGES_PER_SIMULATION_: 10000
    MAX_LIFESPAN: 50
    
  2. Start the simulation

    $ aegis {path/to/file}.yml # In this case, `aegis custom.yml`
    
  3. Inspect the output

    Output files will be created in the {path/to/file} directory (in this case, in the custom directory) which will have the following structure:

    {path/to/file}/
        progress.log
        {ecosystem-number}/
            output-summary.json
            snapshots/
                demography/
                    {stage}.feather
                    ...
                genotypes/
                    {stage}.feather
                    ...
                phenotypes/
                    {stage}.feather
            visor/
                genotypes.csv
                phenotypes.csv
                spectra/
                    age_at_birth.csv
                    age_at_end_of_sim.csv
                    age_at_genetic.csv
                    age_at_overshoot.csv
                    age_at_season_shift.csv
                    cumulative_ages.csv
    

    Detailed description of the content and format of output files can be found in the wiki.

Related articles

Authors

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

aegis-sim-2.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

aegis_sim-2.0-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file aegis-sim-2.0.tar.gz.

File metadata

  • Download URL: aegis-sim-2.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for aegis-sim-2.0.tar.gz
Algorithm Hash digest
SHA256 1f71da269817f8f9380a7abfb277c5f6385eb12888c0a94758736169d3eb8572
MD5 53ae788edd9b66f90303da189177d6e8
BLAKE2b-256 e72997a0de43d10714b00ab03ac35c10ecea49a3e49fbe8b5ed78216f9c98dea

See more details on using hashes here.

Provenance

File details

Details for the file aegis_sim-2.0-py3-none-any.whl.

File metadata

  • Download URL: aegis_sim-2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

File hashes

Hashes for aegis_sim-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91167a6d92fbb05b568531a7572958cefbf70f64f00e2f7b18759ac8e40a6059
MD5 4a39df3626ce7e4beb970bf9f33c5e60
BLAKE2b-256 e41b7c02baf9dffea7c2f800c61adca8771119b576999a4a74bb45888719266e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page