Mercurial > repos > simon-gladman > snippy
comparison snippy-core.xml @ 18:bcb74072d3a6 draft
Added snippy-core tool
| author | simon-gladman |
|---|---|
| date | Thu, 09 Jun 2016 03:55:50 -0400 |
| parents | 259aa64b2c99 |
| children | d1719f16caa3 |
comparison
equal
deleted
inserted
replaced
| 17:2fbf00cd46ca | 18:bcb74072d3a6 |
|---|---|
| 1 <tool id="snippy-core" name="snippy-core" version="0.1.0"> | 1 <tool id="snippy-core" name="snippy-core" version="0.1.0"> |
| 2 <macros> | 2 |
| 3 <import>macros.xml</import> | 3 <requirements> |
| 4 </macros> | 4 <requirement type="package" version="3.0">snippy</requirement> |
| 5 <expand macro="requirements" /> | 5 </requirements> |
| 6 <expand macro="stdio" /> | 6 <stdio> |
| 7 <command><![CDATA[ | 7 <exit_code range="1:" /> |
| 8 TODO: Fill in command template. | 8 </stdio> |
| 9 | |
| 10 <command interpreter=perl><![CDATA[ | |
| 11 | |
| 12 snippy_core_wrapper.pl | |
| 13 $is_reference | |
| 14 --mincov $mincov | |
| 15 --indirs '${" ".join(map(str, $indirs))}' | |
| 16 | |
| 9 ]]></command> | 17 ]]></command> |
| 18 | |
| 10 <inputs> | 19 <inputs> |
| 20 <param name="indirs" type="data" multiple="true" format="bgzip" label="Snippy input zipped dirs" help="Select all the snippy inputs for alignment" /> | |
| 21 <param name="is_reference" type="boolean" checked="true" truevalue="--noref" falsevalue="" label="Exclude reference" help="Don't include the reference file in the alignment." /> | |
| 22 <param name="mincov" type="float" value="10.0" min="1" label="Minimum coverage" help="Minimum depth of coverage to consider core (default '10')" /> | |
| 11 </inputs> | 23 </inputs> |
| 24 | |
| 12 <outputs> | 25 <outputs> |
| 26 <data format="fasta" name="alignment_fasta" label="${tool.name} on ${on_string} core alignment fasta" from_work_dir="core.aln" /> | |
| 27 <data format="tabular" name="alignment_table" label="${tool.name} on ${on_string} core alignment table" from_work_dir="core.tab" /> | |
| 28 <data format="txt" name="alignment_summary" label="${tool.name} on ${on_string} core alignment summary" from_work_dir="core.txt" /> | |
| 13 </outputs> | 29 </outputs> |
| 30 | |
| 14 <help><![CDATA[ | 31 <help><![CDATA[ |
| 15 Synopsis: | 32 Synopsis: |
| 16 Combine multiple Snippy folders into a core SNP alignment | 33 Combine multiple Snippy folders into a core SNP alignment |
| 34 | |
| 17 Usage: | 35 Usage: |
| 18 ../../snippy/bin/snippy-core [options] [--noref] snippyDir1/ snippyDir2/ snippyDir3/ ... | 36 ../../snippy/bin/snippy-core [options] [--noref] snippyDir1/ snippyDir2/ snippyDir3/ ... |
| 37 | |
| 19 Options: | 38 Options: |
| 39 | |
| 20 --help! This help. | 40 --help! This help. |
| 41 | |
| 21 --quiet! No output to stderr (default '0'). | 42 --quiet! No output to stderr (default '0'). |
| 43 | |
| 22 --verbose! Verbose output (default '0'). | 44 --verbose! Verbose output (default '0'). |
| 45 | |
| 23 --inprefix=s Preferred input prefix of Snippy files (default 'snps'). | 46 --inprefix=s Preferred input prefix of Snippy files (default 'snps'). |
| 47 | |
| 24 --prefix=s Output file prefix (default 'core'). | 48 --prefix=s Output file prefix (default 'core'). |
| 49 | |
| 25 --noref! Exclude reference (default '0'). | 50 --noref! Exclude reference (default '0'). |
| 51 | |
| 26 --mincov=i Minimum depth of coverage to consider core (default '10'). | 52 --mincov=i Minimum depth of coverage to consider core (default '10'). |
| 53 | |
| 27 --aformat=s Output alignment format: nexus fasta phylip maf clustalw ... (default 'fasta'). | 54 --aformat=s Output alignment format: nexus fasta phylip maf clustalw ... (default 'fasta'). |
| 28 | 55 |
| 29 ]]></help> | 56 ]]></help> |
| 30 <expand macro="citations" /> | 57 |
| 58 <citations> | |
| 59 <citation type="bibtex">@UNPUBLISHED{Seemann2013, | |
| 60 author = "Seemann T", | |
| 61 title = "snippy: fast bacterial variant calling from NGS reads", | |
| 62 year = "2015", | |
| 63 note = "https://github.com/tseemann/snippy"}</citation> | |
| 64 </citations> | |
| 65 | |
| 31 </tool> | 66 </tool> |
