Created
July 24, 2023 12:33
-
-
Save GJSissons/594e7f149638ed96ca975a990cec89a9 to your computer and use it in GitHub Desktop.
Automating Tower workflows 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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