# HG changeset patch # User galaxytrakr # Date 1774289867 0 # Node ID 8c60cd4c0ca778e069361697cf43f474984fa4d3 # Parent 313a1e088e09aafc55dbf83b8ec5cff4c8c7f4d6 planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 69bae7a0b8011217f6c61fbc62344bcd6a445160 diff -r 313a1e088e09 -r 8c60cd4c0ca7 aws_sra.xml --- a/aws_sra.xml Mon Mar 23 15:52:57 2026 +0000 +++ b/aws_sra.xml Mon Mar 23 18:17:47 2026 +0000 @@ -1,4 +1,4 @@ - + Fetch SRA data files from NCBI's public AWS S3 buckets @@ -23,16 +23,16 @@ ## ── LIST mode ──────────────────────────────────────────────────────────── #if $action.mode == 'list' - aws s3 ls - --no-sign-request - #if $source.prefix - '${s3_base}/${ $source.prefix.strip("/") }/' - #else - '${s3_base}/' - #end if + #set $s3_path = $s3_base + #if $source.prefix + #set $s3_path = $s3_path + '/' + $source.prefix.strip("/") + #end if + aws s3 ls \ + --no-sign-request \ #if $action.recursive --recursive - #end if + #end if \ + $s3_path/ \ > '$output_list' ## ── DOWNLOAD RAW mode ────────────────────────────────────────────────────