Skip to content

Instantly share code, notes, and snippets.

@allenday
Created February 6, 2017 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save allenday/4c17e09de02e57984fcab0d91e042a34 to your computer and use it in GitHub Desktop.
Save allenday/4c17e09de02e57984fcab0d91e042a34 to your computer and use it in GitHub Desktop.
# Set according to your working enviroment
BUCKET=gs://your-bucket-name
WORKSPACE=$BUCKET/some/subdirectory
BASE_FASTA=some.fa
INPUT_FASTA=$BUCKET/$BASE_FASTA
# probably you want this to be the same as input.fasta.
# this is the default behavior for BWA.
OUTPUT_INDEX_PREFIX=$BASE_FASTA
OUTPUT_PATH=$WORKSPACE/out
gcloud alpha genomics pipelines run \
--pipeline-file pipeline-bwa.yaml \
--logging $WORKSPACE/log \
--inputs INPUT_FILE=$INPUT_FASTA,OUTPUT_INDEX_PREFIX=$OUTPUT_PREFIX \
--outputs OUTPUT_PATH=$OUTPUT_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment