Mercurial > repos > morinlab > merge_seg_collection
annotate merge_seg_collection.xml @ 0:83219468e161 draft default tip
Uploaded
| author | morinlab |
|---|---|
| date | Mon, 05 Dec 2016 00:01:47 -0500 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 <tool id="merge_seg_collection" name="Merge SEG Collection" version="1.0.0"> |
| 2 <description> | |
| 3 Merge a collection of SEG files | |
| 4 </description> | |
| 5 <command> | |
| 6 <![CDATA[ | |
| 7 | |
| 8 #for $i, $f in enumerate($seg_collection) | |
| 9 #if $i == 0 | |
| 10 cat $f >> $output; | |
| 11 #else | |
| 12 tail -n+1 $f >> $output; | |
| 13 #end if | |
| 14 #end for | |
| 15 | |
| 16 ]]> | |
| 17 </command> | |
| 18 <inputs> | |
| 19 <param type="data_collection" format="tabular" collection_type="list" name="seg_collection"/> | |
| 20 </inputs> | |
| 21 <outputs> | |
| 22 <data format="tabular" name="output"/> | |
| 23 </outputs> | |
| 24 </tool> |
