Mercurial > repos > iuc > sonneityping
annotate parse_mykrobe_predict.xml @ 0:3a328b3aeb65 draft default tip
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
| author | iuc |
|---|---|
| date | Thu, 16 Sep 2021 06:51:49 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
1 <tool id="sonneityping" name="parse mykrobe predict" version="@TOOL_VERSION@" profile="20.05"> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
2 <description>for Shigella sonnei and tabulate results into a single tab-delimited file</description> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
3 <macros> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
5 </macros> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
8 parse_mykrobe_predict --jsons |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
9 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
10 #for $i in $json |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
11 '$i' |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
12 #end for |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
13 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
14 #if $optional.alleles: |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
15 --alleles '$optional.alleles' |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
16 #end if |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
17 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
18 --prefix results |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
19 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
20 ]]></command> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
21 <inputs> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
22 <param name="json" type="data" format="json" multiple="true" optional="false" label="Mykrobe results to parse." help="Mykrobe predict results in JSON format." /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
23 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
24 <section name="optional" title="Optional Parameters" expanded="false"> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
25 <param name="alleles" type="data" format="txt,tabular" optional="true" label="Alleles" help="Links each lineage name to its human-readable counterpart." /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
26 </section> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
27 </inputs> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
28 <outputs> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
29 <data format="tabular" label="parsed output" name="parsed_output" from_work_dir="results_predictResults.tsv" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
30 </outputs> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
31 <tests> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
32 <test> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
33 <param name="json" ftype="json" value="SRR6114360.json"/> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
34 <param name="optional.alleles" ftype="txt" value="alleles.txt" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
35 <output name="parsed_output"> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
36 <assert_contents> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
37 <has_text text="3.7.30.4" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
38 <has_text text="S. sonnei" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
39 </assert_contents> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
40 </output> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
41 </test> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
42 <test> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
43 <param name="json" ftype="json" value="SRR6114360.json"/> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
44 <output name="parsed_output"> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
45 <assert_contents> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
46 <has_text text="3.7.30.4" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
47 <has_text text="S. sonnei" /> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
48 </assert_contents> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
49 </output> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
50 </test> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
51 </tests> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
52 <help><![CDATA[ |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
53 Parse Mykrobe Predict |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
54 ===================== |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
55 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
56 Parses Mykrobe predict results for Shigella sonnei. |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
57 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
58 Mykrobe v0.9.0+ can identify input genomes as S. sonnei, assign those identified as S. sonnei to hierarchical genotypes based on detection of single nucleotide variants (SNVs; defined in the file alleles.txt), and report known mutations in the quinolone-resistance determining region (QRDR) of genes gyrA (S83L, D87G, D87Y) and parC (S80I). |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
59 |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
60 Details of the genotyping scheme are available in the paper Hawkey et al, 2021, Nature Communications. Proposals for new genotype definitions to be added to the scheme can be submitted as an Issue in this repository.]]></help> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
61 <citations> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
62 <citation type="bibtex"> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
63 @misc{GitHubsonneityping, |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
64 title = {sonneityping}, |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
65 journal = {GitHub Repository}, |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
66 url = {https://github.com/katholt/sonneityping}, |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
67 } |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
68 </citation> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
69 </citations> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
70 </tool> |
|
3a328b3aeb65
"planemo upload for repository https://github.com/katholt/sonneityping commit 1b4231e8f98a234c29f57fef400f58f14645dc95"
iuc
parents:
diff
changeset
|
71 |
