Mercurial > repos > bgruening > text_processing
comparison cat.xml @ 17:f46f0e4f75c4 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
author | bgruening |
---|---|
date | Tue, 22 Jun 2021 16:06:48 +0000 |
parents | ddf54b12c295 |
children | 12615d397df7 |
comparison
equal
deleted
inserted
replaced
16:ddf54b12c295 | 17:f46f0e4f75c4 |
---|---|
1 <tool id="tp_cat" name="Concatenate datasets" version="0.1.0"> | 1 <tool id="tp_cat" name="Concatenate datasets" version="0.1.1"> |
2 <description>tail-to-head (cat)</description> | 2 <description>tail-to-head (cat)</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements" /> | 6 <expand macro="requirements" /> |
9 cat --version | head -n 1 | 9 cat --version | head -n 1 |
10 ]]> | 10 ]]> |
11 </version_command> | 11 </version_command> |
12 <command> | 12 <command> |
13 <![CDATA[ | 13 <![CDATA[ |
14 cat | 14 #for $file in $inputs: |
15 #echo ' '.join(['"%s"' % $file for $file in $inputs])# | 15 cat '$file' >> '$out_file1' && |
16 #end for | |
16 #for $q in $queries: | 17 #for $q in $queries: |
17 #echo ' '.join(['"%s"' % $file for $file in $q.inputs2])# | 18 #for $file in $q.inputs2: |
19 cat '$file' >> '$out_file1' && | |
20 #end for | |
18 #end for | 21 #end for |
19 > $out_file1 | 22 exit 0 |
20 ]]></command> | 23 ]]></command> |
21 <inputs> | 24 <inputs> |
22 <param name="inputs" multiple="true" type="data" format="txt,fastq.gz,fasta.gz,genbank.gz,tabular.gz" label="Datasets to concatenate"/> | 25 <param name="inputs" multiple="true" type="data" format="txt,fastq.gz,fasta.gz,genbank.gz,tabular.gz" label="Datasets to concatenate"/> |
23 <repeat name="queries" title="Dataset"> | 26 <repeat name="queries" title="Dataset"> |
24 <param name="inputs2" type="data" format="txt,fastq.gz,fasta.gz,genbank.gz,tabular.gz" multiple="True" label="Select" /> | 27 <param name="inputs2" type="data" format="txt,fastq.gz,fasta.gz,genbank.gz,tabular.gz" multiple="True" label="Select" /> |