Mercurial > repos > iuc > snippy
comparison snippy-core.xml @ 10:a3f95a688c47 draft
"planemo upload commit 02413e02c9484cdb604bda2c09931599f9259792"
| author | iuc |
|---|---|
| date | Tue, 28 Jan 2020 02:50:09 +0000 |
| parents | 43791d945de1 |
| children | ac6e4444e3b8 |
comparison
equal
deleted
inserted
replaced
| 9:43791d945de1 | 10:a3f95a688c47 |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <tool id="snippy_core" name="snippy-core" version="@VERSION@+galaxy1"> | 2 <tool id="snippy_core" name="snippy-core" version="@VERSION@+galaxy2"> |
| 3 <description> | 3 <description> |
| 4 Combine multiple Snippy outputs into a core SNP alignment | 4 Combine multiple Snippy outputs into a core SNP alignment |
| 5 </description> | 5 </description> |
| 6 <macros> | 6 <macros> |
| 7 <import>macros.xml</import> | 7 <import>macros.xml</import> |
| 8 </macros> | 8 </macros> |
| 9 <expand macro="requirements" /> | 9 <expand macro="requirements" /> |
| 10 <command detect_errors="exit_code"><![CDATA[ | 10 <command detect_errors="exit_code"><![CDATA[ |
| 11 @REFERENCE_SOURCE_FILE@ | 11 @REFERENCE_SOURCE_FILE@ |
| 12 mkdir 'snippy_dirs' && cd 'snippy_dirs' && | |
| 12 #for $indir in $indirs | 13 #for $indir in $indirs |
| 13 #set $sample_name = os.path.splitext(os.path.basename(str($indir.name)))[0] | 14 tar -xf '$indir' -C . && |
| 14 mkdir '$sample_name' && tar -xf '$indir' -C '$sample_name' --strip-components=1 && | |
| 15 #end for | 15 #end for |
| 16 #set snippy_dirs = " ".join(["'{0}'".format(os.path.splitext(os.path.basename(str($indir.name)))[0]) for $indir in $indirs]) | 16 cd - && |
| 17 snippy-core | 17 snippy-core |
| 18 @REFERENCE_COMMAND@ | 18 @REFERENCE_COMMAND@ |
| 19 ${snippy_dirs} | 19 snippy_dirs/* |
| 20 ]]></command> | 20 ]]></command> |
| 21 | 21 |
| 22 <inputs> | 22 <inputs> |
| 23 <param name="indirs" type="data" multiple="true" format="zip" label="Snippy input zipped dirs" help="Select all the snippy inputs for alignment" /> | 23 <param name="indirs" type="data" multiple="true" format="zip" label="Snippy input zipped dirs" help="Select all the snippy inputs for alignment" /> |
| 24 <expand macro="reference_selector" /> | 24 <expand macro="reference_selector" /> |
