Mercurial > repos > sanbi-uwc > summarize_poliovirus_alignment
comparison summarize_poliovirus_alignment.xml @ 0:7e49c6b19f5e draft
planemo upload commit a99e10fec2fac5aae70974c977eb3b362a1a8429
author | sanbi-uwc |
---|---|
date | Tue, 19 Jul 2022 11:47:08 +0000 |
parents | |
children | f2a7aaf93a1d |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7e49c6b19f5e |
---|---|
1 <tool id="summarize_poliovirus_alignment" name="Summarize poliovirus alignment" version="0.1.0+galaxy0" profile="21.05"> | |
2 <requirements> | |
3 <requirement type="package" version="3.9">python</requirement> | |
4 </requirements> | |
5 <command detect_errors="exit_code"><![CDATA[ | |
6 python $__tool_directory__/summarize_alignment.py | |
7 --summary_output_filename '$output1' | |
8 --variant_list_outputs | |
9 #for $key in $variant_list.keys() | |
10 '$variant_list[$key]' | |
11 #end for | |
12 --datasets | |
13 #for $dataset in $alignment_assessments | |
14 '$dataset' | |
15 #end for | |
16 | |
17 ]]></command> | |
18 <inputs> | |
19 <!-- input is list of reports for poliovirus sabin 1, 2 and 3 --> | |
20 <param name="alignment_assessments" format="json" type="data_collection" collection_type="list" label="Poliovius alignment assessments" help="Input is a list of JSON reports from the assess_poliovirus_alignment tool" /> | |
21 </inputs> | |
22 <outputs> | |
23 <data name="output1" format="tabular" label="Poliovirus variant summary on ${on_string}" /> | |
24 <collection name="variant_list" type="list" label="Poliovirus variant lists on ${on_string}" structured_like="alignment_assessments" format="tabular"> | |
25 <!-- todo - find a way to set the metadata columns for the tabular datasets --> | |
26 </collection> | |
27 </outputs> | |
28 <tests> | |
29 <test expect_num_outputs="3"> | |
30 <param name="alignment_assessments" ftype="json"> | |
31 <collection type="list"> | |
32 <element name="sample1" value="sample1_output.json" /> | |
33 </collection> | |
34 </param> | |
35 <output name="output1" ftype="tabular"> | |
36 <assert_contents> | |
37 <has_text text="23:G:A;26:G:A;38:A:G;40:T:C;59:C:T;65:T:C;72:A:G;" /> | |
38 </assert_contents> | |
39 </output> | |
40 <output_collection name="variant_list"> | |
41 <element name="sample1" file="sample1_variants.tabular" ftype="tabular" /> | |
42 </output_collection> | |
43 </test> | |
44 </tests> | |
45 <help><![CDATA[ | |
46 Given a list of outputs of the assess_poliovirus_alignment tool, make a final summary. | |
47 ]]></help> | |
48 <citations> | |
49 <citation type="bibtex"><![CDATA[ | |
50 @software{van_Heusden_Poliovirus_variation_reporting_2022, | |
51 author = {van Heusden, Peter}, | |
52 month = {7}, | |
53 title = {{Poliovirus variation reporting scripts}}, | |
54 url = {https://github.com/pvanheus/polio_report}, | |
55 version = {0.1.0}, | |
56 year = {2022} | |
57 } | |
58 ]]></citation> | |
59 </citations> | |
60 </tool> |