Mercurial > repos > iuc > chewbbaca_nsstats
annotate NSStats.xml @ 0:97a24534a0c0 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
| author | iuc |
|---|---|
| date | Wed, 25 Sep 2024 14:12:51 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
1 <tool id="chewbbaca_nsstats" name="chewBBACA NSStats" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
2 <description>Retrieve basic information about the species and schemas in Chewie-NS</description> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
3 <macros> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
5 </macros> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
8 chewBBACA.py NSStats |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
9 -m $mode |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
10 #if $species_id != "" |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
11 --sp $species_id |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
12 #end if |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
13 #if $schema_id != "" |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
14 --sc $schema_id |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
15 #end if |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
16 > 'NSStats.txt' |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
17 ]]></command> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
18 <inputs> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
19 <param argument="--mode" type="select" label="Mode" optional="false"> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
20 <option value="species">species</option> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
21 <option value="schemas">schemas</option> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
22 </param> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
23 <param argument="--species-id" type="select" label="Species ID" value="" optional="true"> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
24 <expand macro="species_id"/> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
25 </param> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
26 <!-- Currently,the schema id can only be set to 1. Maybe in the next versions other values possible --> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
27 <param argument="--schema-id" type="integer" min="1" value="" label="Schema ID" optional="true"/> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
28 </inputs> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
29 <outputs> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
30 <data format="txt" name="NSStats" from_work_dir="NSStats.txt" label="${tool.name}"/> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
31 </outputs> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
32 <tests> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
33 <test expect_exit_code="0"> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
34 <param name="mode" value="species" /> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
35 <output name="NSStats"> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
36 <assert_contents> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
37 <has_text_matching expression="Streptococcus pyogenes\s+1\s+1\s+3044\s+398511"/> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
38 <has_text_matching expression="Clostridium neonatale\s+16\s+1\s+2350\s+13115"/> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
39 </assert_contents> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
40 </output> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
41 </test> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
42 </tests> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
43 <help> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
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. |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
45 |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
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. |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
47 |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
48 </help> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
49 <expand macro="citations" /> |
|
97a24534a0c0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8bb518e20d68623904232ae28bb8a51ec05c1c4a
iuc
parents:
diff
changeset
|
50 </tool> |
