# HG changeset patch # User galaxytrakr # Date 1774303746 0 # Node ID 2b4efa539c71f88219635964b3c7adeacfd7bf7b # Parent a4186132e1c46d323fb8e8e1afa1aa5141139e34 planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit fd13e80a4e6b713b4b7a90ab45dd38ff0889cb3c diff -r a4186132e1c4 -r 2b4efa539c71 aws_sra.xml --- a/aws_sra.xml Mon Mar 23 22:01:24 2026 +0000 +++ b/aws_sra.xml Mon Mar 23 22:09:06 2026 +0000 @@ -1,4 +1,4 @@ - + Fetches SRA runs from AWS and converts them to FASTQ awscli @@ -33,17 +33,15 @@ aws s3 cp --no-sign-request 's3://sra-pub-run-odp/sra/${acc}/${acc}' ./sra_cache_${acc}/ && fasterq-dump --outdir ./fastq_out_${acc} --temp . --threads \${GALAXY_SLOTS:-4} --split-files ./sra_cache_${acc}/${acc} && pigz -p \${GALAXY_SLOTS:-4} ./fastq_out_${acc}/*.fastq && - ( - #if str($layout) == 'paired' - mv ./fastq_out_${acc}/${acc}_1.fastq.gz '$output_r1_batch.files_path/${acc}_1.fastq.gz' && - mv ./fastq_out_${acc}/${acc}_2.fastq.gz '$output_r2_batch.files_path/${acc}_2.fastq.gz' - #else - mv ./fastq_out_${acc}/*.fastq.gz '$output_r1_batch.files_path/${acc}.fastq.gz' - #end if - ) && + #if str($layout) == 'paired' + mv ./fastq_out_${acc}/${acc}_1.fastq.gz '$output_r1_batch.files_path/${acc}_1.fastq.gz' && + mv ./fastq_out_${acc}/${acc}_2.fastq.gz '$output_r2_batch.files_path/${acc}_2.fastq.gz' + #else + mv ./fastq_out_${acc}/${acc}.fastq.gz '$output_r1_batch.files_path/${acc}.fastq.gz' + #end if && rm -rf sra_cache_${acc} fastq_out_${acc} #end if - #end for + # end for #end if ]]>