Git Product home page Git Product logo

ansible-cwl's Introduction

Ansible scripts for installing CWL engines

Caution, these are currently setup for CentOS7 only and insome cases use a specific username.

Introduction

A series of playbooks to install and test various implementations of CWL

Installation

CWL Runner

ansible-playbook cwl.yml

Toil

ansible-playbook toil.yml

Reana

ansible-playbook reana.yml

Airflow

ansible-playbook airflow.yml

Cromwell

ansible-playbook cromwell.yml

Galaxy

ansible-playbook -i inventory galaxy.yml -k -K --extra-vars 'my_pass=<your_hashed_root_password>'

Running an implementation

CWL

cd ~/cwl_test
source bin/actvate 
cwl-runner example.cwl example-job.yaml

Toil

cd ~/toil_test
source bin/actvate 
toil-cwl-runner example.cwl example-job.yaml

Reana

? To do ? Not working. Install seems fine, but does not start.

helm init
# deploy new cluster and check progress
reana-cluster init --traefik
reana-cluster status
# set environment variables for reana-client
eval $(reana-cluster env --include-admin-token) # since you are admin
cd ~/reana_test
source bin/actvate
reana-client create -n my-analysis
export REANA_WORKON=my-analysis
# upload input code and data to the workspace
reana-client upload
# start computational workflow
reana-client start
# check its progress
reana-client status
# list workspace files
reana-client ls
# download output results
reana-client download

Airflow

cd ~/airflow_test
source bin/activate
cwltool example.cwl example-job.yaml

Cromwell

cd ~/cromwell_test
conda activate cromwell_test
cromwell run example.cwl -i example-job.yaml

... #cwl-airflow init ... #(airflow scheduler &> /dev/null &) && (airflow webserver&> /dev/null &) && cwl-airflow submit example.cwl example-job.yaml

ansible-cwl's People

Contributors

longr avatar stain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.