Mercurial > repos > simon-gladman > snippy
annotate snippy-core.xml @ 19:d1719f16caa3 draft
Added snippy-core tool
| author | simon-gladman |
|---|---|
| date | Thu, 09 Jun 2016 09:18:32 -0400 |
| parents | bcb74072d3a6 |
| children | d1a4cfe44743 |
| rev | line source |
|---|---|
| 19 | 1 <tool id="snippy-core" name="snippy-core" version="0.2.0"> |
| 18 | 2 |
| 3 <requirements> | |
| 4 <requirement type="package" version="3.0">snippy</requirement> | |
| 5 </requirements> | |
| 6 <stdio> | |
| 7 <exit_code range="1:" /> | |
| 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 | |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
17 ]]></command> |
| 18 | 18 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
19 <inputs> |
| 18 | 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')" /> | |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
23 </inputs> |
| 18 | 24 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
25 <outputs> |
| 18 | 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
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
29 </outputs> |
| 18 | 30 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
31 <help><![CDATA[ |
| 18 | 32 Synopsis: |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
33 Combine multiple Snippy folders into a core SNP alignment |
| 18 | 34 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
35 Usage: |
|
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
36 ../../snippy/bin/snippy-core [options] [--noref] snippyDir1/ snippyDir2/ snippyDir3/ ... |
| 18 | 37 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
38 Options: |
| 18 | 39 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
40 --help! This help. |
| 18 | 41 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
42 --quiet! No output to stderr (default '0'). |
| 18 | 43 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
44 --verbose! Verbose output (default '0'). |
| 18 | 45 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
46 --inprefix=s Preferred input prefix of Snippy files (default 'snps'). |
| 18 | 47 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
48 --prefix=s Output file prefix (default 'core'). |
| 18 | 49 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
50 --noref! Exclude reference (default '0'). |
| 18 | 51 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
52 --mincov=i Minimum depth of coverage to consider core (default '10'). |
| 18 | 53 |
|
13
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
54 --aformat=s Output alignment format: nexus fasta phylip maf clustalw ... (default 'fasta'). |
|
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
55 |
|
259aa64b2c99
Updated to new version of snippy with static binaries
simon-gladman
parents:
diff
changeset
|
56 ]]></help> |
| 18 | 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 | |
| 66 </tool> |
