ansible_role_alpha29_fasttree

ansible-role-alpha29-fasttree

Build Status

Installs FastTree, a tool to infer approximately-maximum-likelihood phylogenetic trees from alignments of nucleotide or protein sequences.

This role builds FastTree in (roughly) the same way as nextstrain/docker-base.

Requirements

This role requires root access, so either run it in a playbook with a global become: yes, or invoke the role in your playbook like:

- hosts: localhost
  roles:
    - role: alpha29.fasttree
      become: yes

Role Variables

None at this time.

Dependencies

See requirements.yml for third-party role dependencies.

Example Playbook

---
- name: install FastTree
  hosts: localhost
  roles:
    - role: ansible-role-alpha29-fasttree
      become: yes

Development

# Setup:
git clone [email protected]:alpha29/ansible-role-alpha29-fasttree.git alpha29.fasttree
python3.7 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
molecule test

# Usage:
# Do this to monitor timing, show Ansible debug logging, and tell Molecule to keep the Docker container on completion
time molecule --debug test --destroy=never

# Faster iterative development:
# Verify that you don't have a running container.
docker ps -a
# Create one.
time molecule create
# Run some tests, which should fail.
time molecule verify
# Just run the playbook - skip linting, tests, et cetera
time molecule converge
# Make some changes, lather, rinse, repeat.
...
time molecule converge
time molecule verify
...
# When finished, tear it down.
time molecule destroy

# By default, all of the above runs against a Centos 7 Docker image.  
# Use the MOLECULE_DISTRO environment variable to swap in other distros, e.g.: 
time MOLECULE_DISTRO=ubuntu1804 molecule test

# NOTE:  If you update requirements.yml, ***MAKE SURE*** you update meta/main.yml as well!

License

MIT

Author Information

info@alpha29.com

About

Installs FastTree.

Install
ansible-galaxy install alpha29/ansible-role-alpha29-fasttree
GitHub repository
License
Unknown
Downloads
30
Owner