Mercurial > repos > iuc > sra_tools
comparison fastq_dump.xml @ 13:74dd3d0a33d1 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 686710a7d313b828f1daed20c4055479727f2d91
| author | iuc |
|---|---|
| date | Wed, 17 Oct 2018 11:42:38 -0400 |
| parents | 4190f26dd5e6 |
| children | 54366e4d692a |
comparison
equal
deleted
inserted
replaced
| 12:34ca8f964219 | 13:74dd3d0a33d1 |
|---|---|
| 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"/> |
| 7 <version_command>fastq-dump --version</version_command> | 7 <version_command>fastq-dump --version</version_command> |
| 8 <command detect_errors="exit_code"> | 8 <command detect_errors="exit_code"><![CDATA[ |
| 9 <![CDATA[ | 9 |
| 10 | 10 @SET_ACCESSIONS@ |
| 11 #if $input.input_select=="file_list": | |
| 12 | |
| 13 for acc in `cat $input.file_list` ; | |
| 14 do | |
| 15 | |
| 16 #elif $input.input_select=="accession_number": | |
| 17 | |
| 18 ## Stripping leading and trailing spaces in case user typed them in | |
| 19 acc="${input.accession}" && | |
| 20 | |
| 21 #end if | |
| 22 | |
| 23 #if $input.input_select=="file_list" or $input.input_select=="accession_number": | |
| 24 | |
| 25 [ ""\$acc" =~ ^[E|S|D]RR[0-9]{1,}$" ] && ( | |
| 26 | |
| 27 #end if | |
| 28 | 11 |
| 29 ## Need to set the home directory to the current working directory, | 12 ## Need to set the home directory to the current working directory, |
| 30 ## else the tool tries to write to home/.ncbi and fails when used | 13 ## else the tool tries to write to home/.ncbi and fails when used |
| 31 ## with a cluster manager. | 14 ## with a cluster manager. |
| 32 export HOME=\$PWD && | 15 export HOME=\$PWD && |
