annotate snipit.xml @ 2:92b9fd5f1f9f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
author iuc
date Sat, 27 Jan 2024 23:29:55 +0000
parents 9f23fe0cb70b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
1 <tool id="snipit" name="snipit" version="@TOOL_VERSION@+galaxy0">
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>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
4 <token name="@TOOL_VERSION@">1.2</token>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
5 <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
6 <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
7 <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
8 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
9 </xml>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
10 </macros>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
11 <xrefs>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
12 <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
13 </xrefs>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
14 <requirements>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
15 <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
16 </requirements>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
17 <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
18 <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
19 snipit '$alignment'
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
20 #if str($ref.select) == 'by_id'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
21 -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
22 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
23 #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
24 -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
25 #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
26 --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
27 #end if
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
28 #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
29 -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
30 #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
31 $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
32 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
33 $write_snps
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
34 #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
35 --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
36 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
37 #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
38 --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
39 #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
40 $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
41 $style.flip_vertical
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
42 $show_indels
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
43 #if len($pos_restrict.include_positions)
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
44 --include-positions
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
45 #for $p in $pos_restrict.include_positions
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
46 '$p.pos'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
47 #end for
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
48 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
49 #if len($pos_restrict.exclude_positions)
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
50 --exclude-positions
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
51 #for $p in $pos_restrict.exclude_positions
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
52 '$p.pos'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
53 #end for
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
54 #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
55 $pos_restrict.exclude_ambig_pos
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
56 $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
57 #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
58 $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
59 #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
60 #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
61 $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
62 #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
63 #if not str($style.colouring.palette)
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
64 --recombi-mode --recombi-references '$style.colouring.parent1,$style.colouring.parent2'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
65 #else
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
66 -c $style.colouring.palette
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
67 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
68 ]]></command>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
69 <environment_variables>
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
70 <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
71 </environment_variables>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
72 <inputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
73 <param name="alignment" format="fasta" type="data" label="Input alignment fasta file" />
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
74 <conditional name="ref">
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
75 <param name="select" type="select" label="The reference sequence ..."
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
76 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.">
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
77 <option value="first">is the first sequence in the input</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
78 <option value="by_id">should be picked via its ID</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
79 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
80 <when value="first" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
81 <when value="by_id">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
82 <param name="id" argument="--reference" type="text" label="ID of reference sequence" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
83 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
84 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
85 <section name="pos_restrict" title="Restrict genome positions to be plotted" expanded="false">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
86 <repeat name='include_positions' title="Restrict plot to specific regions/positions" 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
87 <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
88 <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
89 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
90 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
91 <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
92 <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
93 <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
94 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
95 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
96 <param argument="--exclude-ambig-pos" type="boolean" truevalue="--exclude-ambig-pos" falsevalue="" label="Exclude ambig positions?" help="Exclude positions with an ambiguous base in any sequences; considered after '--include-positions'." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
97 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
98 <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
99 <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
100 <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
101 <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
102 <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
103 <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
104 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
105 <when value="" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
106 <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
107 <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
108 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
109 <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
110 <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
111 <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
112 <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
113 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
114 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
115 <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
116 <param name="palette" type="select" value="classic" label="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).">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
117 <option value="primary">primary</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
118 <option value="classic" selected="true">classic</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
119 <option value="purine-pyrimidine">purine-pyrimidine</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
120 <option value="greyscale">greyscale</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
121 <option value="wes">wes</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
122 <option value="verity">verity</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
123 <option value="">recombinant mutations colouring</option>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
124 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
125 <when value="primary" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
126 <when value="classic" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
127 <when value="purine-pyrimidine" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
128 <when value="greyscale" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
129 <when value="wes" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
130 <when value="verity" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
131 <when value="">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
132 <param name="parent1" type="text" label="Sequence ID of first recombinant parent sequence in alignment" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
133 <param name="parent2" type="text" label="Sequence ID of second recombinant parent sequence in alignment" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
134 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
135 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
136 <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
137 <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
138 <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
139 <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
140 <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
141 <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
142 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
143 <when value="" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
144 <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
145 <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
146 <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
147 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
148 <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
149 <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
150 <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
151 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
152 <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
153 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
154 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
155 <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
156 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
157 <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
158 <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
159 <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
160 <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
161 <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
162 <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
163 <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
164 </param>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
165 <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
166 <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
167 <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
168 <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
169 <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
170 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
171 <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
172 <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
173 <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
174 <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
175 <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
176 <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
177 </param>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
178 </section>
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
179 <param argument="--show-indels" type="boolean" truevalue="--show-indels" falsevalue="" label="Try to plot indels" help="This is newly introduced functionality for which you may encounter bugs still." />
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
180 <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
181 </inputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
182 <outputs>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
183 <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
184 <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
185 <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
186 <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
187 <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
188 <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
189 </change_format>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
190 </data>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
191 <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
192 <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
193 <actions>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
194 <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
195 </actions>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
196 </data>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
197 </outputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
198 <tests>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
199 <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
200 <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
201 <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
202 <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
203 <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
204 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
205 <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
206 <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
207 </test>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
208 <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
209 <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
210 <conditional name="ref">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
211 <param name="select" value="by_id" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
212 <param name="id" value="USA_2" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
213 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
214 <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
215 <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
216 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
217 <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
218 <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
219 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
220 <assert_command>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
221 <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
222 <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
223 </assert_command>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
224 <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
225 </test>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
226 <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
227 <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
228 <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
229 <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
230 <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
231 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
232 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
233 <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
234 <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
235 <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
236 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
237 <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
238 </test>
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="1">
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 <section name="pos_restrict">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
242 <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
243 <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
244 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
245 <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
246 <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
247 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
248 <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
249 <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
250 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
251 <param name="exclude_ambig_pos" value="true" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
252 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
253 <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
254 <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
255 <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
256 <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
257 <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
258 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
259 <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
260 <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
261 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
262 <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
263 <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
264 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
265 <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
266 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
267 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
268 <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
269 <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
270 <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
271 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
272 <assert_command>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
273 <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
274 <has_text text="--exclude-positions '1000-2000'" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
275 <has_text text="--exclude-ambig-pos" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
276 <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
277 <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
278 </assert_command>
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="svg">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
280 <assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
281 <!-- 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
282 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
283 transparent (i.e. NOT white) background -->
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
284 <not_has_text text="&lt;!-- 1059 --&gt;" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
285 <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
286 <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
287 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
288 </output>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
289 </test>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
290 <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
291 <param name="alignment" value="input.fasta" />
2
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
292 <conditional name="ref">
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
293 <param name="select" value="by_id" />
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
294 <param name="id" value="reference" />
92b9fd5f1f9f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/snipit commit 58fa50696846c7f6a5bcfc22a59243c80107e41a
iuc
parents: 1
diff changeset
295 </conditional>
1
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
296 <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
297 <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
298 <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
299 <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
300 <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
301 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
302 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
303 <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
304 <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
305 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
306 <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
307 <assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
308 <!-- 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
309 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
310 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
311 recombi-mode) and uses a solid white background -->
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
312 <has_text text="&lt;!-- 1059 --&gt;" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
313 <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
314 <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
315 <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
316 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
317 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
318 </test>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
319 <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
320 <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
321 <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
322 <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
323 <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
324 <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
325 <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
326 <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
327 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
328 </section>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
329 <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
330 <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
331 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
332 <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
333 <assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
334 <!-- 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
335 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
336 <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
337 <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
338 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
339 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
340 </test>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
341
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
342 </tests>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
343 <help><![CDATA[
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
344 **What it does**
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
345
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
346 Snipit finds the SNPs relative to a reference in a multiple sequence alignment and highlights these changes as a figure.
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
347 ]]>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
348 </help>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
349 <citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
350 <citation type="bibtex">
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
351 @UNPUBLISHED{OToole2017,
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
352 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
353 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
354 year = {2017},
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
355 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
356 }
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
357 </citation>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
358 </citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
359 </tool>