annotate snipit.xml @ 3:877e80114d25 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:42 +0000
parents 92b9fd5f1f9f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
1 <tool id="snipit" name="snipit" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.1">
0
20b4c59bec12 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>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
3 <macros>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
4 <token name="@TOOL_VERSION@">1.6</token>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
6 <xml name="ref_select" token_help="">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
7 <conditional name="ref">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
8 <param name="select" type="select" label="The reference sequence ..."
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
9 help="@HELP@">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
10 <option value="first">is the first sequence in the input</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
11 <option value="by_id">should be picked via its ID</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
12 </param>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
13 <when value="first" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
14 <when value="by_id">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
15 <param name="id" argument="--reference" type="text" label="ID of reference sequence" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
16 </when>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
17 </conditional>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
18 </xml>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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@">
9f23fe0cb70b 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?" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
22 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
23 </xml>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
24 </macros>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
25 <xrefs>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
26 <xref type="bio.tools">snipit</xref>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
27 </xrefs>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
28 <requirements>
20b4c59bec12 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>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
30 </requirements>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
31 <version_command>snipit -v</version_command>
0
20b4c59bec12 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
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
33 snipit '$alignment'
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
34 --sequence-type $mode.sequence_type
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
35 ## --cds-mode flag broken in this version of snipit
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
36 ## but this is how it'd be used.
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
37 ##if str($mode.sequence_type) == 'nt'
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
38 ## $mode.cds_mode
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
39 ##end if
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
40 #if str($mode.ref.select) == 'by_id'
1
9f23fe0cb70b 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'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
42 #end if
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
43 #if not str($mode.colouring.palette)
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
44 --recombi-mode --recombi-references '$mode.colouring.parent1,$mode.colouring.parent2'
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
45 #else
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
46 -c $mode.colouring.palette
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
47 #end if
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
48 $pos_restrict.show_indels
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
49 --ambig-mode $pos_restrict.ambig_mode
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
50 #if len($pos_restrict.include_positions)
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
51 --include-positions
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
52 #for $p in $pos_restrict.include_positions
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
53 '$p.pos'
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
54 #end for
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
55 #end if
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
56 #if len($pos_restrict.exclude_positions)
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
57 --exclude-positions
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
58 #for $p in $pos_restrict.exclude_positions
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
59 '$p.pos'
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
60 #end for
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
61 #end if
1
9f23fe0cb70b 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)
9f23fe0cb70b 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'
9f23fe0cb70b 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'
9f23fe0cb70b 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}'
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
67 #end if
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
68 $style.position_labels
1
9f23fe0cb70b 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
9f23fe0cb70b 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']
9f23fe0cb70b 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
72 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
73 $write_snps
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
76 #end if
9f23fe0cb70b 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
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
79 #end if
1
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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'
9f23fe0cb70b 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
9f23fe0cb70b 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'
9f23fe0cb70b 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])
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
88 #end if
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
89 ]]></command>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
90 <environment_variables>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
91 <environment_variable name="MPLCONFIGDIR">.matplotlib</environment_variable>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
92 </environment_variables>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
93 <inputs>
20b4c59bec12 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" />
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
95 <conditional name="mode">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
96 <param argument="--sequence-type" type="select" label="Type of input">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
97 <option value="nt">DNA sequence alignment</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
98 <option value="aa">Protein sequence alignment</option>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
99 </param>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
100 <when value="nt">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
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." />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
102 <!-- cds-mode flag is broken in this version of snipit
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
103 so not enabling the param for now.
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
104 When enabling remember to fix the double dashes!
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
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." />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
106 -->
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
107 <conditional name="colouring">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
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).">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
109 <option value="primary">primary</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
110 <option value="classic" selected="true">classic</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
111 <option value="classic_extended">classic_extended (only scheme defining colours for ambiguous bases)</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
112 <option value="purine-pyrimidine">purine-pyrimidine</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
113 <option value="greyscale">greyscale</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
114 <option value="wes">wes</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
115 <option value="verity">verity</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
116 <option value="">recombinant mutations colouring</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
117 </param>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
118 <when value="primary" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
119 <when value="classic" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
120 <when value="classic_extended" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
121 <when value="purine-pyrimidine" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
122 <when value="greyscale" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
123 <when value="wes" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
124 <when value="verity" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
125 <when value="">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
126 <param name="parent1" type="text" label="Sequence ID of first recombinant parent sequence in alignment" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
127 <param name="parent2" type="text" label="Sequence ID of second recombinant parent sequence in alignment" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
128 </when>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
129 </conditional>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
130 </when>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
131 <when value="aa">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
132 <expand macro="ref_select" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
133 <conditional name="colouring">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
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.">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
135 <option value="ugene">ugene</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
136 </param>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
137 <when value="ugene" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
138 </conditional>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
139 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
140 </conditional>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
141 <section name="pos_restrict" title="Restrict alignment positions to be plotted" expanded="true">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
142 <param argument="--show-indels" type="boolean" truevalue="--show-indels" falsevalue="" label="Include insertion and deletion mutations" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
143 <param argument="--ambig-mode" type="select" label="Plotting of positions with ambiguity symbols">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
144 <option value="all">Treat ambiguity symbols like mutations; plot all such positions (all)</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
145 <option value="snps" selected="true">Show ambiguity symbols for positions with mutations in other sequences (snps)</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
146 <option value="exclude">Never plot positions that involve ambiguous symbols (exclude)</option>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
147 </param>
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
148 <repeat name="include_positions" title="Restrict plot to specific regions/positions" min="0" default="0">
1
9f23fe0cb70b 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'">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
151 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
152 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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'.">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
156 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
157 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
158 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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?">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
165 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
166 <when value="" />
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
169 </when>
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
174 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
175 </conditional>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
176 <param name="position_labels" type="boolean" truevalue="" falsevalue="--remove-site-text" checked="true" label="Label plotted sites with position" />
1
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
183 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
184 <when value="" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
188 </when>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
192 </repeat>
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
194 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
195 </conditional>
9f23fe0cb70b 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." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
197 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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
20b4c59bec12 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>
20b4c59bec12 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>
20b4c59bec12 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>
20b4c59bec12 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>
20b4c59bec12 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>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
205 </param>
1
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
211 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b 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." />
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
218 </param>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
219 </section>
1
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
221 </inputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
222 <outputs>
1
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
224 <change_format>
1
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
229 </change_format>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
230 </data>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
233 <actions>
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
235 </actions>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
236 </data>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
237 </outputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
238 <tests>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
244 </conditional>
9f23fe0cb70b 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" />
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
247 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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" />
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
250 <conditional name="mode">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
251 <conditional name="ref">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
252 <param name="select" value="by_id" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
253 <param name="id" value="USA_2" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
254 </conditional>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
255 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
258 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
261 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
262 <assert_command>
9f23fe0cb70b 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'" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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
20b4c59bec12 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" />
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
267 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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" />
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
270 <conditional name="mode">
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
273 </conditional>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
274 </conditional>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
278 </conditional>
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
280 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b 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">
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
284 <param name="ambig_mode" value="exclude" />
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
287 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
290 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
293 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
294 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
300 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
303 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
306 </repeat>
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
308 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
309 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
313 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
314 <assert_command>
9f23fe0cb70b 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'" />
9f23fe0cb70b 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'" />
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
317 <has_text text="--ambig-mode exclude" />
1
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
320 </assert_command>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
322 <assert_contents>
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
326 <has_line_matching expression=".*&lt;text .+&gt;1059&lt;/text&gt;" negate="true" />
1
9f23fe0cb70b 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=&quot;fill: #8fbc8f" />
9f23fe0cb70b 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=&quot;fill: #ffffff&quot;" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
329 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
330 </output>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
331 </test>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
334 <conditional name="mode">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
335 <conditional name="ref">
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
336 <param name="select" value="by_id" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
337 <param name="id" value="reference" />
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
338 </conditional>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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="" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
343 </conditional>
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
344 </conditional>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
347 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
349 <assert_contents>
9f23fe0cb70b 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,
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
diff changeset
354 <has_line_matching expression=".*&lt;text .+&gt;1059&lt;/text&gt;" />
1
9f23fe0cb70b 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=&quot;fill: #daa520" />
9f23fe0cb70b 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=&quot;fill: #ea5463" />
9f23fe0cb70b 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=&quot;fill: #ffffff&quot;" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
358 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
359 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
360 </test>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
369 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
370 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
373 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
375 <assert_contents>
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
9f23fe0cb70b 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_" />
9f23fe0cb70b 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_" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
380 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
381 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
382 </test>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
383
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
384 </tests>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
385 <help><![CDATA[
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
386 **What it does**
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
387
3
877e80114d25 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 64c7062a60708a60b5779fa3406aca8e07828d35
iuc
parents: 2
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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
389 ]]>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
390 </help>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
391 <citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
392 <citation type="bibtex">
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
393 @UNPUBLISHED{OToole2017,
20b4c59bec12 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},
20b4c59bec12 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.},
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
396 year = {2017},
20b4c59bec12 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}
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
398 }
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
399 </citation>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
400 </citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
401 </tool>