# HG changeset patch
# User iuc
# Date 1612209822 0
# Node ID e08a7ad4378b4337782f4912289985aebdf0617b
# Parent 653e89d73fc40523060fdb42802ab5dcc21e16bd
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 52d835f027b052a0a887be14a55faf9fa9e456ae"
diff -r 653e89d73fc4 -r e08a7ad4378b fasterq_dump.xml
--- a/fasterq_dump.xml Thu Aug 20 05:06:27 2020 -0400
+++ b/fasterq_dump.xml Mon Feb 01 20:03:42 2021 +0000
@@ -14,13 +14,16 @@
ln -s '${input.file}' "\$acc" &&
#end if
@CONFIGURE_RETRY@
+ ## fetch from public s3 bucket if we can
+ export acc_or_path="\$acc" &&
+ aws s3 cp --no-sign-request "s3://sra-pub-sars-cov2/run/\$acc/\$acc" "\$acc.sra" 2>&1 | tee '$log' && export acc_or_path="\$acc.sra"|| true &&
while [ \$SRA_PREFETCH_ATTEMPT -le \$SRA_PREFETCH_RETRIES ] ; do
- fasterq-dump "\$acc" -e \${GALAXY_SLOTS:-1}
+ fasterq-dump "\$acc_or_path" -e \${GALAXY_SLOTS:-1}
$adv.split
#if str( $adv.minlen ) != "":
--min-read-len "$adv.minlen"
#end if
- $adv.skip_technical 2>&1 | tee $log;
+ $adv.skip_technical 2>&1 | tee -a '$log';
if [ \$? == 0 ] && [ \$(ls *.fastq | wc -l) -ge 1 ]; then
break ;
else
@@ -192,6 +195,19 @@
+
+
+
+
+
+
+
+
+
- 2.10.8
+ 2.10.9
grep '^[[:space:]]*[E|S|D]RR[0-9]\{1,\}[[:space:]]*$'
@@ -35,7 +35,8 @@
sra-tools
- pigz
+ awscli
+ pigz
diff -r 653e89d73fc4 -r e08a7ad4378b test-data/SRR11859153.fastq.gz
Binary file test-data/SRR11859153.fastq.gz has changed