Mercurial > repos > nml > wade
diff wade.xml @ 0:92e72350a3c5 draft
"planemo upload for repository https://github.com/phac-nml/wade commit b3536a15ff4e6295722ec4794ea5b840b5d19276"
author | nml |
---|---|
date | Fri, 29 Nov 2019 14:57:47 -0500 |
parents | |
children | 631e8eb3371e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wade.xml Fri Nov 29 14:57:47 2019 -0500 @@ -0,0 +1,122 @@ +<tool id="wade" name="Wade" version="0.2.4+galaxy0"> + <description>identify regions of interest</description> + <requirements> + <requirement type="package" version="0.2.4">wade</requirement> + </requirements> + <command detect_errors="exit_code"><![CDATA[ + + #for $i in $input# + cp '$i' '$i.element_identifier' && + #end for + + #set $samples = ','.join([$i.element_identifier for $i in ( $input )]) + + Rscript --vanilla -e 'library(wade); source(file = system.file("exec/wade_cmd.R", package = "wade"))' + + -d 'output' + -o '$mode.type' + -t '$mode.subtype' + + -s '$samples' + + ]]></command> + <inputs> + <param name="input" + type="data" format="fasta" + optional="false" + multiple="true" + label="Contig Fasta file(s)"/> + <conditional name="mode"> + <param name="type" type="select" label="Analysis Group"> + <option value="GAS">GAS</option> + <option value="GONO">GONO</option> + <option value="PNEUMO">PNEUMO</option> + </param> + <when value="GAS"> + <param name="subtype" type="select" label="Select specific analysis"> + <option value="AMR">ARG-ANNOT/Resfinder/CARD</option> + <option value="EMM">EMM Typing</option> + <option value="MLST">MLST Type</option> + <option value="VFDB">VFDB (Virulence Factor Database)</option> + <option value="MASTER">Master blaster</option> + </param> + </when> + <when value="GONO"> + <param name="subtype" type="select" label="Select specific analysis"> + <option value="MLST">MLST Type</option> + <option value="NGMAST">NG-MAST Type</option> + <option value="NGSTAR">NG-STAR Type</option> + <option value="rRNA23S">23S rRNA Alleles</option> + <option value="MASTER">Master blaster</option> + </param> + </when> + <when value="PNEUMO"> + <param name="subtype" type="select" label="Select specific analysis"> + <option value="AMR">ARG-ANNOT/Resfinder/CARD</option> + <option value="MLST">MLST Type</option> + <option value="VFDB">VFDB (Virulence Factor Database)</option> + <option value="rRNA23S">23S rRNA Alleles</option> + <option value="MASTER">Master blaster</option> + </param> + </when> + </conditional> + </inputs> + <outputs> + <data name="report" format="csv"> + <discover_datasets pattern="__designation_and_ext__" directory="output" visible="true" /> + </data> + </outputs> + <tests> + <test> + <param name="input" value="SC19-2806-A.fasta"/> + <output name='report'> + <discovered_dataset designation="GAS_dbpipeline_WADE"> + <assert_contents> + <has_text text="SampleNo" /> + </assert_contents> + </discovered_dataset> + </output> + </test> + </tests> + <help><![CDATA[ +============== +Wade +============== + +R Script to generate results + +===== +Legal +===== + +Copyright Government of Canada 2019 + +Written by: National Microbiology Laboratory, Public Health Agency of Canada + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this work except in compliance with the License. You may obtain a copy of the +License at: + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed +under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +CONDITIONS OF ANY KIND, either express or implied. See the License for the +specific language governing permissions and limitations under the License. + +======= +Contact +======= + +**Gary van Domselaar**: gary.vandomselaar@canada.ca + + ]]></help> + <citations> + <citation type="bibtex">@ARTICLE{a1, + title = {R Script to generate results.}, + author = {Adrian Zetner}, + url = {https://github.com/phac-nml/wade} + } + }</citation> + </citations> +</tool>