The following walkthrough begins from a base install of Ubuntu 18.04 LTS (Bionic Beaver) as the root user. The walkthrough will have the users install dependencies, retrieve the most recent workflow, and test the workflow.
apt-get update && apt-get -y upgrade
apt-get install -y python3 python3-pip
python3 --version
# Check the version
python3 -m pip --version
# Upgrade pip
python3 -m pip install -U pip
# Check for the upgraded version
python3 -m pip --version
While not absolutely necessary, it is best practice to use a virtual environment when installing python packages.
python3 -m pip install --user virtualenv
virtualenv -p python3 venv
source venv/bin/activate
Within the virtualenv, we can safely install the cwltool package.
pip install cwlref-runner
cwltool --version
apt-get install \\
apt-transport-https \\
ca-certificates \\
curl \\
gnupg-agent \\
software-properties-common
curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \\
"deb [arch=amd64] <https://download.docker.com/linux/ubuntu> \\
$(lsb_release -cs) \\
stable"
docker --version
The link below is to the latest release for the KFDRC Alignment Workflow:
Release KFDRC Unified Alignment Production Workflow ยท kids-first/kf-alignment-workflow
Within this link, copy the download URL of the tarball for the next step.
curl -OL <https://github.com/kids-first/kf-alignment-workflow/archive/v2.1.0.tar.gz>
tar xf v2.1.0.tar.gz
cd kf-alignment-workflow-2.1.0/