Mercurial > repos > iuc > snipit
annotate snipit.xml @ 2:9e12d66c47f4 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
| author | iuc |
|---|---|
| date | Sat, 16 Nov 2024 11:07:34 +0000 |
| parents | f0b0037669e9 |
| children |
| rev | line source |
|---|---|
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
1 <tool id="snipit" name="snipit" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.1"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
2 <description>Summarise snps relative to a reference sequence</description> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
3 <macros> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
4 <token name="@TOOL_VERSION@">1.6</token> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
6 <xml name="ref_select" token_help=""> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
7 <conditional name="ref"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
8 <param name="select" type="select" label="The reference sequence ..." |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
9 help="@HELP@"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
10 <option value="first">is the first sequence in the input</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
11 <option value="by_id">should be picked via its ID</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
12 </param> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
13 <when value="first" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
14 <when value="by_id"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
15 <param name="id" argument="--reference" type="text" label="ID of reference sequence" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
16 </when> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
17 </conditional> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
18 </xml> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
19 <xml name="handle_background" tokens="format"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
20 <when value="@FORMAT@"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
21 <param argument="--solid-background" name="transparent_background" type="boolean" truevalue="" falsevalue="--solid-background" label="Plot on transparent background?" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
22 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
23 </xml> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
24 </macros> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
25 <xrefs> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
26 <xref type="bio.tools">snipit</xref> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
27 </xrefs> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
28 <requirements> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
29 <requirement type="package" version="@TOOL_VERSION@">snipit</requirement> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
30 </requirements> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
31 <version_command>snipit -v</version_command> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
32 <command detect_errors="exit_code"><![CDATA[ |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
33 snipit '$alignment' |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
34 --sequence-type $mode.sequence_type |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
35 ## --cds-mode flag broken in this version of snipit |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
36 ## but this is how it'd be used. |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
37 ##if str($mode.sequence_type) == 'nt' |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
38 ## $mode.cds_mode |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
39 ##end if |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
40 #if str($mode.ref.select) == 'by_id' |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
41 -r '$ref.id' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
42 #end if |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
43 #if not str($mode.colouring.palette) |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
44 --recombi-mode --recombi-references '$mode.colouring.parent1,$mode.colouring.parent2' |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
45 #else |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
46 -c $mode.colouring.palette |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
47 #end if |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
48 $pos_restrict.show_indels |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
49 --ambig-mode $pos_restrict.ambig_mode |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
50 #if len($pos_restrict.include_positions) |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
51 --include-positions |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
52 #for $p in $pos_restrict.include_positions |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
53 '$p.pos' |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
54 #end for |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
55 #end if |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
56 #if len($pos_restrict.exclude_positions) |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
57 --exclude-positions |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
58 #for $p in $pos_restrict.exclude_positions |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
59 '$p.pos' |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
60 #end for |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
61 #end if |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
62 #if str($style.labels.choose) |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
63 -l '$style.labels.source' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
64 #if str($style.labels.choose) == 'custom_csv' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
65 --l-header '${style.labels.names_column},${style.labels.labels_column}' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
66 #end if |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
67 #end if |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
68 $style.position_labels |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
69 -f $plot.format |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
70 #if str($plot.format) in ['png', 'svg', 'tiff'] |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
71 $plot.transparent_background |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
72 #end if |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
73 $write_snps |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
74 #if $dims.height > 0 |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
75 --height $dims.height |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
76 #end if |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
77 #if $dims.width > 0 |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
78 --width $dims.width |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
79 #end if |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
80 $dims.size_option |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
81 $style.flip_vertical |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
82 $style.sort.order |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
83 #if str($style.sort.order) == '--sort-by-mutation-number' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
84 $style.sort.high_to_low |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
85 #else if str($style.sort.order) == '--sort-by-mutations' |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
86 #echo ','.join([str(p['pos']) for p in $style.sort.positions]) |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
87 $style.sort.high_to_low |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
88 #end if |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
89 ]]></command> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
90 <environment_variables> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
91 <environment_variable name="MPLCONFIGDIR">.matplotlib</environment_variable> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
92 </environment_variables> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
93 <inputs> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
94 <param name="alignment" format="fasta" type="data" label="Input alignment fasta file" /> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
95 <conditional name="mode"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
96 <param argument="--sequence-type" type="select" label="Type of input"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
97 <option value="nt">DNA sequence alignment</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
98 <option value="aa">Protein sequence alignment</option> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
99 </param> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
100 <when value="nt"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
101 <expand macro="ref_select" help="Please note that you will HAVE to specify the reference explicitly via its ID if you choose the 'recombinant mutations colouring' scheme and in this case the reference can NOT be one of the recombinant parents." /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
102 <!-- cds-mode flag is broken in this version of snipit |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
103 so not enabling the param for now. |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
104 When enabling remember to fix the double dashes! |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
105 <param argument="- -cds-mode" type="boolean" truevalue="- -cds-mode" falsevalue="" label="Perform coding sequence alignment check?" help="By selecting this option you are indicating that your input is an alignment of coding sequences. The tool will check that all sequence lengths are multiples of three and will fail if that is not the case." /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
106 --> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
107 <conditional name="colouring"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
108 <param name="palette" argument="--colour-palette" type="select" label="Plotted Mutations colouring scheme" help="Mutations can be coloured by base change or, alternatively, by their presence/absence in any of two parent sequences in the alignment (recombinant mode)."> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
109 <option value="primary">primary</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
110 <option value="classic" selected="true">classic</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
111 <option value="classic_extended">classic_extended (only scheme defining colours for ambiguous bases)</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
112 <option value="purine-pyrimidine">purine-pyrimidine</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
113 <option value="greyscale">greyscale</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
114 <option value="wes">wes</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
115 <option value="verity">verity</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
116 <option value="">recombinant mutations colouring</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
117 </param> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
118 <when value="primary" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
119 <when value="classic" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
120 <when value="classic_extended" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
121 <when value="purine-pyrimidine" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
122 <when value="greyscale" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
123 <when value="wes" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
124 <when value="verity" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
125 <when value=""> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
126 <param name="parent1" type="text" label="Sequence ID of first recombinant parent sequence in alignment" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
127 <param name="parent2" type="text" label="Sequence ID of second recombinant parent sequence in alignment" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
128 </when> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
129 </conditional> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
130 </when> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
131 <when value="aa"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
132 <expand macro="ref_select" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
133 <conditional name="colouring"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
134 <param name="palette" argument="--colour-palette" type="select" label="Plotted Mutations colouring scheme" help="The only currently available colour scheme for protein sequences is 'ugene', which defines colours for the 20 AAs and all AA ambiguity symbols."> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
135 <option value="ugene">ugene</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
136 </param> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
137 <when value="ugene" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
138 </conditional> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
139 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
140 </conditional> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
141 <section name="pos_restrict" title="Restrict alignment positions to be plotted" expanded="true"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
142 <param argument="--show-indels" type="boolean" truevalue="--show-indels" falsevalue="" label="Include insertion and deletion mutations" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
143 <param argument="--ambig-mode" type="select" label="Plotting of positions with ambiguity symbols"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
144 <option value="all">Treat ambiguity symbols like mutations; plot all such positions (all)</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
145 <option value="snps" selected="true">Show ambiguity symbols for positions with mutations in other sequences (snps)</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
146 <option value="exclude">Never plot positions that involve ambiguous symbols (exclude)</option> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
147 </param> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
148 <repeat name="include_positions" title="Restrict plot to specific regions/positions" min="0" default="0"> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
149 <param argument="--include-positions" name="pos" type="text" label="Include position/region" help="A range (closed, inclusive; one-indexed) or specific position to include in the output, e.g. '100-150' or '100'"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
150 <validator type="regex" message="Either a single position, e.g. 8347, or an interval like 8000-8500 is required">[0-9]+(-[0-9]+)*$</validator> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
151 </param> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
152 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
153 <repeat name='exclude_positions' title="Exclude specific regions/positions from plot" min="0" default="0"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
154 <param argument="--exclude-positions" name="pos" type="text" label="Exclude position/region" help="A range (closed, inclusive; one-indexed) or specific position to exclude from the output, e.g. '100-150' or '100'; considered after any '--include-positions'."> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
155 <validator type="regex" message="Either a single position, e.g. 8347, or an interval like 8000-8500 is required">[0-9]+(-[0-9]+)*$</validator> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
156 </param> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
157 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
158 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
159 <section name="style" title="Customize rendering of samples and mutations" expanded="true"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
160 <conditional name="labels"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
161 <param name="choose" argument="-l" type="select" label="Provide custom labels for sequences?"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
162 <option value="">No, just use the sequence identifiers as labels in the plot</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
163 <option value="simple_csv">Yes, via a simple CSV dataset mapping names to labels</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
164 <option value="custom_csv">Yes, via a custom CSV dataset with column specification</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
165 </param> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
166 <when value="" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
167 <when value="simple_csv"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
168 <param argument="--labels" name="source" type="data" format="csv" label="Labels mapping source" help="This expects a CSV dataset with two columns named 'name' and 'label' where the values in the 'name' column must have matches for all sequence IDs (including the reference) in the alignment input." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
169 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
170 <when value="custom_csv"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
171 <param argument="--labels" name="source" type="data" format="csv" label="Labels mapping source" help="Select a CSV dataset with an arbitrary number of named columns here and specify below which column contains the sequence IDs to be mapped and which one the labels to be used instead. The dataset must define mappings for all sequence IDs including the reference." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
172 <param name="names_column" type="text" label="Name of the sequence ID column" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
173 <param name="labels_column" type="text" label="Name of the column with desired labels" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
174 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
175 </conditional> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
176 <param name="position_labels" type="boolean" truevalue="" falsevalue="--remove-site-text" checked="true" label="Label plotted sites with position" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
177 <conditional name="sort"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
178 <param name="order" type="select" label="Order of samples in the plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
179 <option value="">Go with default</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
180 <option value="--sort-by-id">Sort by sequence ID/label</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
181 <option value="--sort-by-mutation-number">Sort by number of mutations</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
182 <option value="--sort-by-mutations">Sort by bases at specified positions</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
183 </param> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
184 <when value="" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
185 <when value="--sort-by-id" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
186 <when value="--sort-by-mutation-number"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
187 <param argument="--high-to-low" type="boolean" truevalue="--high-to-low" falsevalue="" label="Invert sort order" help="If selected sort sequences from highest to lowest number of mutations instead of from lowest to highest." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
188 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
189 <when value="--sort-by-mutations"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
190 <repeat name="positions" title="Sort on" min="1" default="1"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
191 <param name="pos" type="integer" min="1" value="1" label="Sort (alphabetically) by base at position" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
192 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
193 <param argument="--high-to-low" type="boolean" truevalue="--high-to-low" falsevalue="" label="Invert resulting sort order" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
194 </when> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
195 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
196 <param argument="--flip-vertical" type="boolean" truevalue="--flip-vertical" falsevalue="" label="Flip plot orientation?" help="Flip the orientation of the plot so sequences are below the reference rather than above it." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
197 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
198 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
199 <param argument="--format" type="select" value="png" label="Plot output file format"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
200 <option value="png" selected="true">png</option> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
201 <option value="jpg">jpg</option> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
202 <option value="pdf">pdf</option> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
203 <option value="svg">svg</option> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
204 <option value="tiff">tiff</option> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
205 </param> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
206 <when value="jpg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
207 <when value="pdf" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
208 <expand macro="handle_background" format="png" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
209 <expand macro="handle_background" format="svg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
210 <expand macro="handle_background" format="tiff" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
211 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
212 <section name="dims" title="Customize plot dimensions" expanded="false"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
213 <param argument="--width" type="float" value="0" min="0" label="Figure width" help="Set to 0 to keep default figure width." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
214 <param argument="--height" type="float" value="0" min="0" label="Figure height" help="Set to 0 to keep default figure height." /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
215 <param argument="--size-option" type="select" value="scale" label="Plot sizing options"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
216 <option value="--size-option expand">expand</option> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
217 <option value="" selected="true">scale</option> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
218 </param> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
219 </section> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
220 <param argument="--write-snps" type="boolean" truevalue="-s" falsevalue="" label="Write out SNPs?" help="Produces extra CSV output with lists of SNPs per sequence in the alignment if enabled." /> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
221 </inputs> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
222 <outputs> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
223 <data name="snp_plot" format="png" label="snipit on ${on_string}: Plot" from_work_dir="snp_plot.*"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
224 <change_format> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
225 <when input="plot.format" value="jpg" format="jpg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
226 <when input="plot.format" value="pdf" format="pdf" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
227 <when input="plot.format" value="svg" format="svg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
228 <when input="plot.format" value="tiff" format="tiff" /> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
229 </change_format> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
230 </data> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
231 <data name="snps" format="csv" label="snipit on ${on_string}: SNPs" from_work_dir="snps.csv"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
232 <filter>write_snps</filter> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
233 <actions> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
234 <action name="column_names" type="metadata" default="record,snps,num_snps" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
235 </actions> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
236 </data> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
237 </outputs> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
238 <tests> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
239 <test expect_num_outputs="2"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
240 <param name="alignment" value="input.fasta" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
241 <param name="write_snps" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
242 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
243 <param name="transparent_background" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
244 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
245 <output name="snp_plot" ftype="png" file="snp_plot.png" compare="sim_size" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
246 <output name="snps" ftype="csv" file="snps.csv" /> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
247 </test> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
248 <test expect_num_outputs="1"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
249 <param name="alignment" value="input.fasta" /> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
250 <conditional name="mode"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
251 <conditional name="ref"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
252 <param name="select" value="by_id" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
253 <param name="id" value="USA_2" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
254 </conditional> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
255 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
256 <section name="style"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
257 <param name="flip_vertical" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
258 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
259 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
260 <param name="format" value="pdf" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
261 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
262 <assert_command> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
263 <has_text text="-r 'USA_2'" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
264 <has_text text="--flip-vertical" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
265 </assert_command> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
266 <output name="snp_plot" ftype="pdf" file="snp_plot.pdf" compare="sim_size" /> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
267 </test> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
268 <test expect_num_outputs="1"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
269 <param name="alignment" value="input.fasta" /> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
270 <conditional name="mode"> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
271 <conditional name="colouring"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
272 <param name="palette" value="verity" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
273 </conditional> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
274 </conditional> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
275 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
276 <param name="format" value="jpg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
277 <param name="transparent_background" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
278 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
279 <output name="snp_plot" ftype="jpg" file="snp_plot.jpg" compare="sim_size" /> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
280 </test> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
281 <test expect_num_outputs="1"> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
282 <param name="alignment" value="input.fasta" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
283 <section name="pos_restrict"> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
284 <param name="ambig_mode" value="exclude" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
285 <repeat name="include_positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
286 <param name="pos" value="1-10000" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
287 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
288 <repeat name="include_positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
289 <param name="pos" value="10001-30000" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
290 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
291 <repeat name="exclude_positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
292 <param name="pos" value="1000-2000" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
293 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
294 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
295 <section name="style"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
296 <conditional name="sort"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
297 <param name="order" value="--sort-by-mutations" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
298 <repeat name="positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
299 <param name="pos" value="3" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
300 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
301 <repeat name="positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
302 <param name="pos" value="1" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
303 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
304 <repeat name="positions"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
305 <param name="pos" value="2" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
306 </repeat> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
307 <param name="high_to_low" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
308 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
309 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
310 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
311 <param name="format" value="svg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
312 <param name="transparent_background" value="true" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
313 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
314 <assert_command> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
315 <has_text text="--include-positions '1-10000' '10001-30000'" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
316 <has_text text="--exclude-positions '1000-2000'" /> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
317 <has_text text="--ambig-mode exclude" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
318 <has_text text="--sort-by-mutations 3,1,2" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
319 <has_text text="--high-to-low" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
320 </assert_command> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
321 <output name="snp_plot" ftype="svg"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
322 <assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
323 <!-- check that the plot does NOT refer to excluded |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
324 position 1059, uses darkseagreen (to highlight Ts) and |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
325 transparent (i.e. NOT white) background --> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
326 <has_line_matching expression=".*<text .+>1059</text>" negate="true" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
327 <has_text text="style="fill: #8fbc8f" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
328 <not_has_text text="style="fill: #ffffff"" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
329 </assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
330 </output> |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
331 </test> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
332 <test expect_num_outputs="1"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
333 <param name="alignment" value="input.fasta" /> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
334 <conditional name="mode"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
335 <conditional name="ref"> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
336 <param name="select" value="by_id" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
337 <param name="id" value="reference" /> |
|
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
338 </conditional> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
339 <conditional name="colouring"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
340 <param name="palette" value="" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
341 <param name="parent1" value="USA_1" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
342 <param name="parent2" value="USA_5" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
343 </conditional> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
344 </conditional> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
345 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
346 <param name="format" value="svg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
347 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
348 <output name="snp_plot" ftype="svg"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
349 <assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
350 <!-- check that the plot does mention position 1059, |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
351 uses goldenrod and #EA5463 as colors (to |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
352 indicate private and parent2 mutations, respectively, in |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
353 recombi-mode) and uses a solid white background --> |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
354 <has_line_matching expression=".*<text .+>1059</text>" /> |
|
1
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
355 <has_text text="style="fill: #daa520" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
356 <has_text text="style="fill: #ea5463" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
357 <has_text text="style="fill: #ffffff"" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
358 </assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
359 </output> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
360 </test> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
361 <test expect_num_outputs="1"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
362 <param name="alignment" value="input.fasta" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
363 <section name="style"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
364 <conditional name="labels"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
365 <param name="choose" value="custom_csv" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
366 <param name="source" value="custom_labels.csv" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
367 <param name="names_column" value="ori" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
368 <param name="labels_column" value="new" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
369 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
370 </section> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
371 <conditional name="plot"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
372 <param name="format" value="svg" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
373 </conditional> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
374 <output name="snp_plot" ftype="svg"> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
375 <assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
376 <!-- check that the plot does not mention the original |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
377 seq IDs but the mapped labels --> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
378 <not_has_text text="USA_" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
379 <has_text text="SAMPLE_" /> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
380 </assert_contents> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
381 </output> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
382 </test> |
|
f0b0037669e9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents:
0
diff
changeset
|
383 |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
384 </tests> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
385 <help><![CDATA[ |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
386 **What it does** |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
387 |
|
2
9e12d66c47f4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents:
1
diff
changeset
|
388 Snipit finds mutations relative to a reference in a multiple sequence alignment and presents these changes in a nice overview plot. |
|
0
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
389 ]]> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
390 </help> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
391 <citations> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
392 <citation type="bibtex"> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
393 @UNPUBLISHED{OToole2017, |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
394 author = {O'Toole, Aine}, |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
395 title = {snipit: Summarise snps relative to your reference sequence.}, |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
396 year = {2017}, |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
397 url = {https://github.com/aineniamh/snipit} |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
398 } |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
399 </citation> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
400 </citations> |
|
a9f156e31071
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff
changeset
|
401 </tool> |
