Mercurial > repos > iuc > sra_tools
comparison sra_macros.xml @ 18:c8d04fc889f2 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/sra-tools commit 2646cabeb93bb9780c5c31839ea3189391b9a266"
| author | iuc |
|---|---|
| date | Mon, 06 Jul 2020 22:18:55 +0000 |
| parents | 37f09413ddbf |
| children | adc510b2288d |
comparison
equal
deleted
inserted
replaced
| 17:37f09413ddbf | 18:c8d04fc889f2 |
|---|---|
| 17 vdb-config -s "/repository/user/main/public/root=\$PWD" && | 17 vdb-config -s "/repository/user/main/public/root=\$PWD" && |
| 18 vdb-config -s /http/timeout/read=10000 && | 18 vdb-config -s /http/timeout/read=10000 && |
| 19 ]]></token> | 19 ]]></token> |
| 20 <token name="@SET_ACCESSIONS@"><![CDATA[ | 20 <token name="@SET_ACCESSIONS@"><![CDATA[ |
| 21 #if $input.input_select=="file_list": | 21 #if $input.input_select=="file_list": |
| 22 for acc in `@ACCESSIONS_FROM_FILE@ '$input.file_list'` ; | 22 #if $input.file_list.is_of_type('sra_manifest.tabular'): |
| 23 #set $column = $input.file_list.unsanitized.metadata.column_names.index('Run') + 1 | |
| 24 cut -f $column '$input.file_list'| tail -n +2 > "manifest" && | |
| 25 #else | |
| 26 ln -s '$input.file_list' manifest && | |
| 27 #end if | |
| 28 for acc in `@ACCESSIONS_FROM_FILE@ manifest` ; | |
| 23 do ( | 29 do ( |
| 24 #elif $input.input_select=="accession_number": | 30 #elif $input.input_select=="accession_number": |
| 25 acc='${input.accession}' && [ ""\$acc" =~ ^[E|S|D]RR[0-9]{1,}$" ] && ( | 31 acc='${input.accession}' && [ ""\$acc" =~ ^[E|S|D]RR[0-9]{1,}$" ] && ( |
| 26 #end if | 32 #end if |
| 27 ]]></token> | 33 ]]></token> |
