# HG changeset patch # User galaxytrakr # Date 1774439809 0 # Node ID d91855b2a8134096c13440c5d91e91b128286ba2 # Parent 04632fbfb7525e732ebfea0aaf5959357f75808f planemo upload for repository https://github.com/CFSAN-Biostatistics/galaxytrakr-tools commit 936065a7ceffa42a7c2f1b8b752a62b419575bd4 diff -r 04632fbfb752 -r d91855b2a813 aws_sra.xml --- a/aws_sra.xml Wed Mar 25 11:02:25 2026 +0000 +++ b/aws_sra.xml Wed Mar 25 11:56:49 2026 +0000 @@ -1,4 +1,4 @@ - + Fetches one or more SRA runs from AWS S3 and converts them to FASTQ @@ -35,10 +35,10 @@ pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_1.fastq > output/"\${acc}"_forward.fastqsanger.gz && pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_2.fastq > output/"\${acc}"_reverse.fastqsanger.gz && rm "\${acc}"*.fastq; - elif [ -e "\${acc}".fastq ]; then + elif [ "\$count" -eq 3 ]; then pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}".fastq > outputSingle/"\${acc}"__single.fastqsanger.gz && - pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_forward.fastq > output/"\${acc}"_forward.fastqsanger.gz && - pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_reverse.fastq > output/"\${acc}"_reverse.fastqsanger.gz && + pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_1.fastq > output/"\${acc}"_forward.fastqsanger.gz && + pigz -cqp \${GALAXY_SLOTS:-4} "\${acc}"_2.fastq > output/"\${acc}"_reverse.fastqsanger.gz && rm "\${acc}"*.fastq; else for file in \${data[*]}; do @@ -80,13 +80,13 @@