annotate NSStats.xml @ 2:73c54f755a31 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 501c1cb91f4b91ec93e6df6e555323bbe8e2b703
author iuc
date Fri, 07 Jun 2024 14:28:11 +0000
parents ebbbb3265867
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
1 <tool id="chewbbaca_nsstats" name="chewBBACA NSStats" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
2 <description>Retrieve basic information about the species and schemas in Chewie-NS</description>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
3 <macros>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
5 </macros>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
6 <expand macro="requirements" />
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
8 chewBBACA.py NSStats
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
9 -m $mode
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
10 #if $species_id != ""
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
11 --sp $species_id
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
12 #end if
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
13 #if $schema_id != ""
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
14 --sc $schema_id
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
15 #end if
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
16 > 'NSStats.txt'
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
17 ]]></command>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
18 <inputs>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
19 <param argument="--mode" type="select" label="Mode" optional="false">
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
20 <option value="species">species</option>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
21 <option value="schemas">schemas</option>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
22 </param>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
23 <param argument="--species-id" type="select" label="Species ID" value="" optional="true">
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
24 <expand macro="species_id"/>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
25 </param>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
26 <!-- Currently,the schema id can only be set to 1. Maybe in the next versions other values possible -->
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
27 <param argument="--schema-id" type="integer" min="1" value="" label="Schema ID" optional="true"/>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
28 </inputs>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
29 <outputs>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
30 <data format="txt" name="NSStats" from_work_dir="NSStats.txt" label="${tool.name}"/>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
31 </outputs>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
32 <tests>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
33 <test expect_exit_code="0">
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
34 <param name="mode" value="species" />
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
35 <output name="NSStats">
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
36 <assert_contents>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
37 <has_text_matching expression="Streptococcus pyogenes\s+1\s+1\s+3044\s+398511"/>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
38 <has_text_matching expression="Clostridium neonatale\s+16\s+1\s+2350\s+13115"/>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
39 </assert_contents>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
40 </output>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
41 </test>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
42 </tests>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
43 <help>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
44 chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results.
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
45
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
46 The NSStats module enables the retrieval of information from the Chewie-NS server. Its main objective is to provide information about the list of species and schemas in Chewie-NS, so that users can quickly identify a schema of interest and download it.
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
47
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
48 </help>
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
49 <expand macro="citations" />
ebbbb3265867 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
iuc
parents:
diff changeset
50 </tool>