# HG changeset patch # User galaxytrakr # Date 1774292111 0 # Node ID 40b61da6c6c5c8d17096d97c6fc2af19564c9038 # Parent ef51d44623c2f9883ee2de1b2edd342e70e2d25e planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 270f1465bed97ea0f5ee3e7bce08f2793011dbce diff -r ef51d44623c2 -r 40b61da6c6c5 aws_sra.xml --- a/aws_sra.xml Mon Mar 23 18:42:57 2026 +0000 +++ b/aws_sra.xml Mon Mar 23 18:55:11 2026 +0000 @@ -1,4 +1,4 @@ - + Fetch SRA data files from NCBI's public AWS S3 buckets @@ -49,14 +49,11 @@ #elif $action.mode == 'fastq_dump' #set $acc = $action.accession.strip() - ## 1. Download the file from S3 + ## 1. Download the file from S3 (CORRECTED: single line command) mkdir -p sra_cache && - aws s3 cp \ - --no-sign-request \ - '${s3_base}/sra/${acc}/${acc}' \ - ./sra_cache/${acc} && + aws s3 cp --no-sign-request '${s3_base}/sra/${acc}/${acc}' ./sra_cache/${acc} && - ## 2. Convert with fasterq-dump (CORRECTED: uses extensionless file) + ## 2. Convert with fasterq-dump mkdir -p fastq_out && fasterq-dump \ ./sra_cache/${acc} \ @@ -76,7 +73,6 @@ #else cp ./fastq_out/${acc}.fastq.gz '$output_r1' #end if - #end if ]]>