changeset 22:b01c73cb290a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_acc_download commit 92e900f2e63812885018aeaede2e67fbb5fcdddc-dirty"
author dfornika
date Fri, 29 Nov 2019 22:58:34 +0000
parents d78b129b98c7
children 26a2a420f842
files ncbi_acc_download.xml
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ncbi_acc_download.xml	Fri Nov 29 22:54:53 2019 +0000
+++ b/ncbi_acc_download.xml	Fri Nov 29 22:58:34 2019 +0000
@@ -16,14 +16,13 @@
         cd outdir &&
         for accession in \$(cat accessions); do
         echo "Downloading accession number: " \$accession &&
-        sleep 2;
         ncbi-acc-download
             --molecule '${molecule.select}'
             --format '${molecule.format}'
             #if $molecule.format != 'featuretable' and $molecule.format != 'gff3':
                 --extended-validation all
             #end if
-            \${accession}
+            \${accession} && sleep 2;
         done || exit 1 2> >(tee -a ../error.log >&2)
     ]]></command>
     <inputs>