Skip to content

Instantly share code, notes, and snippets.

@GJSissons
Created July 24, 2023 12:33
Show Gist options
  • Save GJSissons/594e7f149638ed96ca975a990cec89a9 to your computer and use it in GitHub Desktop.
Save GJSissons/594e7f149638ed96ca975a990cec89a9 to your computer and use it in GitHub Desktop.
Automating Tower workflows 4
#!/bin/bash
export TOWER_API_ENDPOINT=https://api.tower.nf
export TOWER_ACCESS_TOKEN=eyJ0aWQiO********dkNzcxMzUz
export WORKSPACE=`tw workspaces list | grep showcase | awk '{print $1}'`
tw launch --wait=SUCCEEDED --workspace=$WORKSPACE nf-core-rnaseq
export RUN_ID=`tw runs list | grep rnaseq | grep <tower-user> | awk '{print $1}'`
tw runs view --id=$RUN_ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment