comparison spatyper.xml @ 0:4ee5c28a3d1b draft

planemo upload for repository https://github.com/phac-nml/galaxy_tools/tree/master/tools/spatyper commit a211c27b9f7386f8e43419ec22b88403498da26e
author nml
date Mon, 20 Mar 2023 20:16:43 +0000
parents
children c2283a1d969c
comparison
equal deleted inserted replaced
-1:000000000000 0:4ee5c28a3d1b
1 <tool id="spatyper" name="Generate spa type identification" version="@VERSION@+galaxy0" profile="21.01">
2 <macros>
3 <token name="@VERSION@">0.3.3</token>
4 </macros>
5 <requirements>
6 <requirement type="package" version="@VERSION@">spatyper</requirement>
7 </requirements>
8 <command detect_errors="aggressive"> <![CDATA[
9 spaTyper -f '${input1}' -r '${input2}' > '${output1}'
10 ]]> </command>
11 <inputs>
12 <param type="data" name="input1" format="fasta" label="SPA Fasta file" help="Staphylococcus aureus - staphylococcal protein A fasta file. This will be assigned a type based on its repeat region."/>
13 <param type="data" name="input2" format="fasta" label="Repeats Library Multifasta" help="A multifasta representing a set of known repeat regions found in staphylococcal protein A. This can be downloaded at (http://spa.ridom.de/dynamic/sparepeats.fasta)"/>
14 </inputs>
15 <outputs>
16 <data name="output1" format="txt" />
17 </outputs>
18 <tests>
19 <test>
20 <param name="input1" value="input.fasta"/>
21 <param name="input2" value="sparepeats.fasta"/>
22 <output name="output1">
23 <assert_contents>
24 <has_text text = "t11215" />
25 </assert_contents>
26 </output>
27 </test>
28 </tests>
29 <help><![CDATA[
30 ::
31
32 USAGE: spaTyper [-h] [-r REPEAT_FILE] [-o REPEAT_ORDER_FILE] [-d FOLDER] [-f FASTA [FASTA ...]] [-g GLOB] [-e] [--output OUTPUT] [--version] [--debug] [--info]
33
34 spaTyper.py: Get spa types
35
36 Version: 0.3.3
37 License: GPLv3
38 Prints spa type to stdout
39
40 It will download sparepeats.fasta and spatypes.txt to repository directory
41 if files not provided or already in directory. It can be loaded as a python
42 module. Python 3 version only.
43
44 Options: -h show this help message and exit
45 -r REPEAT_FILE (http://spa.ridom.de/dynamic/sparepeats.fasta)
46 -o REPEAT_ORDER_FILE (http://spa.ridom.de/dynamic/spatypes.txt)
47 -d Folder to save downloaded files from Ridom/Spa server
48 -f List of one or more fasta files.
49 -g Uses unix style pathname expansion to run spa typing on all files. If your shell autoexpands wildcards use -f.
50 -e Do PCR product enrichment. [Default: False]
51
52 ]]></help>
53 <citations>
54 <citation type="bibtex">
55 @misc{githubseqtk,
56 author = {HCGB},
57 year = {2020},
58 title = {spaTyper},
59 publisher = {GitHub},
60 journal = {GitHub repository},
61 url = {https://github.com/HCGB-IGTP/spaTyper},
62 }</citation>
63 </citations>
64 </tool>