Mercurial > repos > iuc > sra_tools
comparison fastq_dump.xml @ 3:62367c99119d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit f30369bef4e2cef17395cdd62ce81768c93f5edd
| author | iuc |
|---|---|
| date | Tue, 18 Oct 2016 14:54:14 -0400 |
| parents | 6aa2efbe5920 |
| children | de3b6a854c0a |
comparison
equal
deleted
inserted
replaced
| 2:6aa2efbe5920 | 3:62367c99119d |
|---|---|
| 1 <tool id="fastq_dump" name="Extract reads" version="2.6.2"> | 1 <tool id="fastq_dump" name="Extract reads" version="@VERSION@"> |
| 2 <description>in FASTQ/A format from NCBI SRA.</description> | 2 <description>in FASTQ/A format from NCBI SRA.</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>sra_macros.xml</import> | 4 <import>sra_macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
| 34 ## Do not use prefetch if region is specified, to avoid downloading | 34 ## Do not use prefetch if region is specified, to avoid downloading |
| 35 ## the complete sra file. | 35 ## the complete sra file. |
| 36 #if ( str( $adv.region ) == "" ) and ( str( $adv.minID ) == "" ) and ( str( $adv.maxID ) == "" ): | 36 #if ( str( $adv.region ) == "" ) and ( str( $adv.minID ) == "" ) and ( str( $adv.maxID ) == "" ): |
| 37 ASCP_PATH=`command -v ascp` && | 37 ASCP_PATH=`command -v ascp` && |
| 38 ASCP_KEY=`dirname \$ASCP_PATH`/asperaweb_id_dsa.openssh || true && | 38 ASCP_KEY=`dirname \$ASCP_PATH`/asperaweb_id_dsa.openssh || true && |
| 39 prefetch --ascp-path "\$ASCP_PATH|\$ASCP_KEY" "\$acc" && | 39 prefetch -X 200G --ascp-path "\$ASCP_PATH|\$ASCP_KEY" "\$acc" && |
| 40 ## Duplicate vdb-config, in case settings changed between prefetch and | 40 ## Duplicate vdb-config, in case settings changed between prefetch and |
| 41 ## dump command. | 41 ## dump command. |
| 42 vdb-config -s "/repository/user/main/public/root=\$PWD" && | 42 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
| 43 #end if | 43 #end if |
| 44 fastq-dump --accession "\$acc" | 44 fastq-dump --accession "\$acc" |
