Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yaml='
- name: sra_to_fastq
- description: Run fastq_dump file to generate fastq files from SRA files
- inputParameters:
- - name: INPUT
- defaultValue: SRR1575914
- outputParameters:
- - name: OUTPUT
- localCopy:
- disk: datadisk
- path: output/*
- resources:
- minimumCpuCores: 1
- minimumRamGb: 1
- zones:
- - us-central1-a
- - us-central1-b
- - us-central1-c
- - us-central1-f
- disks:
- - name: datadisk
- type: PERSISTENT_HDD
- sizeGb: 100
- mountPoint: /mnt/data
- docker:
- imageName: actor0/bam2go'
- sra_to_fastq(){
- local input=$1
- local output=$2
- echo "$yaml" > ./$FUNCNAME.yaml
- local cmd="
- gcloud alpha genomics pipelines run \
- --pipeline-file ./$FUNCNAME.yaml \
- --logging $output/logs \
- --inputs INPUT=$input \
- --outputs OUTPUT=$output"
- echo "$cmd"
- }
Add Comment
Please, Sign In to add comment