annotate snipit.xml @ 1:f0b0037669e9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
author iuc
date Fri, 28 Oct 2022 20:58:00 +0000
parents a9f156e31071
children 9e12d66c47f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a9f156e31071 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">
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
2 <description>Summarise snps relative to a reference sequence</description>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
3 <macros>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
4 <token name="@TOOL_VERSION@">1.0.7</token>
f0b0037669e9 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">
f0b0037669e9 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@">
f0b0037669e9 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?" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
8 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
9 </xml>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
10 </macros>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
11 <requirements>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
12 <requirement type="package" version="@TOOL_VERSION@">snipit</requirement>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
13 </requirements>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
15 MPLCONFIGDIR=.matplotlib snipit '$alignment'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
16 #if str($ref.select) == 'by_id'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
17 -r '$ref.id'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
18 #end if
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
19 #if str($style.labels.choose)
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
20 -l '$style.labels.source'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
21 #if str($style.labels.choose) == 'custom_csv'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
22 --l-header '${style.labels.names_column},${style.labels.labels_column}'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
23 #end if
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
24 #end if
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
25 -f $plot.format
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
26 #if str($plot.format) in ['png', 'svg', 'tiff']
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
27 $plot.transparent_background
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
28 #end if
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
29 $write_snps
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
30 #if $dims.height > 0
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
31 --height $dims.height
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
32 #end if
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
33 #if $dims.width > 0
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
34 --width $dims.width
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
35 #end if
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
36 $dims.size_option
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
37 $style.flip_vertical
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
38 #if len($pos_restrict.include_positions)
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
39 --include-positions
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
40 #for $p in $pos_restrict.include_positions
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
41 '$p.pos'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
42 #end for
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
43 #end if
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
44 #if len($pos_restrict.exclude_positions)
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
45 --exclude-positions
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
46 #for $p in $pos_restrict.exclude_positions
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
47 '$p.pos'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
48 #end for
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
49 #end if
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
50 $pos_restrict.exclude_ambig_pos
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
51 $style.sort.order
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
52 #if str($style.sort.order) == '--sort-by-mutation-number'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
53 $style.sort.high_to_low
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
54 #else if str($style.sort.order) == '--sort-by-mutations'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
55 #echo ','.join([str(p['pos']) for p in $style.sort.positions])
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
56 $style.sort.high_to_low
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
57 #end if
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
58 #if not str($style.colouring.palette)
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
59 --recombi-mode --recombi-references '$style.colouring.parent1,$style.colouring.parent2'
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
60 #else
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
61 -c $style.colouring.palette
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
62 #end if
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
63 ]]></command>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
64 <inputs>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
65 <param name="alignment" format="fasta" type="data" label="Input alignment fasta file" />
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
66 <conditional name="ref">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
67 <param name="select" type="select" label="The reference sequence ...">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
68 <option value="first">is the first sequence in the input</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
69 <option value="by_id">should be picked via its ID</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
70 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
71 <when value="first" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
72 <when value="by_id">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
73 <param name="id" argument="--reference" type="text" label="ID of reference sequence" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
74 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
75 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
76 <section name="pos_restrict" title="Restrict genome positions to be plotted" expanded="false">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
77 <repeat name='include_positions' title="Restrict plot to specific regions/positions" min="0" default="0">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
78 <param argument="--include-positions" name="pos" type="text" label="Include position/region" help="A range (closed, inclusive; one-indexed) or specific position to include in the output, e.g. '100-150' or '100'">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
79 <validator type="regex" message="Either a single position, e.g. 8347, or an interval like 8000-8500 is required">[0-9]+(-[0-9]+)*$</validator>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
80 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
81 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
82 <repeat name='exclude_positions' title="Exclude specific regions/positions from plot" min="0" default="0">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
83 <param argument="--exclude-positions" name="pos" type="text" label="Exclude position/region" help="A range (closed, inclusive; one-indexed) or specific position to exclude from the output, e.g. '100-150' or '100'; considered after any '--include-positions'.">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
84 <validator type="regex" message="Either a single position, e.g. 8347, or an interval like 8000-8500 is required">[0-9]+(-[0-9]+)*$</validator>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
85 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
86 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
87 <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'." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
88 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
89 <section name="style" title="Customize rendering of samples and mutations" expanded="true">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
90 <conditional name="labels">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
91 <param name="choose" argument="-l" type="select" label="Provide custom labels for sequences?">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
92 <option value="">No, just use the sequence identifiers as labels in the plot</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
93 <option value="simple_csv">Yes, via a simple CSV dataset mapping names to labels</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
94 <option value="custom_csv">Yes, via a custom CSV dataset with column specification</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
95 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
96 <when value="" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
97 <when value="simple_csv">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
98 <param argument="--labels" name="source" type="data" format="csv" label="Labels mapping source" help="This expects a CSV dataset with two columns named 'name' and 'label' where the values in the 'name' column must have matches for all sequence IDs (including the reference) in the alignment input." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
99 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
100 <when value="custom_csv">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
101 <param argument="--labels" name="source" type="data" format="csv" label="Labels mapping source" help="Select a CSV dataset with an arbitrary number of named columns here and specify below which column contains the sequence IDs to be mapped and which one the labels to be used instead. The dataset must define mappings for all sequence IDs including the reference." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
102 <param name="names_column" type="text" label="Name of the sequence ID column" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
103 <param name="labels_column" type="text" label="Name of the column with desired labels" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
104 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
105 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
106 <conditional name="colouring">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
107 <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).">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
108 <option value="primary">primary</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
109 <option value="classic" selected="true">classic</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
110 <option value="purine-pyrimidine">purine-pyrimidine</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
111 <option value="greyscale">greyscale</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
112 <option value="wes">wes</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
113 <option value="verity">verity</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
114 <option value="">recombinant mutations colouring</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
115 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
116 <when value="primary" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
117 <when value="classic" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
118 <when value="purine-pyrimidine" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
119 <when value="greyscale" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
120 <when value="wes" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
121 <when value="verity" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
122 <when value="">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
123 <param name="parent1" type="text" label="Sequence ID of first recombinant parent sequence in alignment" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
124 <param name="parent2" type="text" label="Sequence ID of second recombinant parent sequence in alignment" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
125 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
126 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
127 <conditional name="sort">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
128 <param name="order" type="select" label="Order of samples in the plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
129 <option value="">Go with default</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
130 <option value="--sort-by-id">Sort by sequence ID/label</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
131 <option value="--sort-by-mutation-number">Sort by number of mutations</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
132 <option value="--sort-by-mutations">Sort by bases at specified positions</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
133 </param>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
134 <when value="" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
135 <when value="--sort-by-id" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
136 <when value="--sort-by-mutation-number">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
137 <param argument="--high-to-low" type="boolean" truevalue="--high-to-low" falsevalue="" label="Invert sort order" help="If selected sort sequences from highest to lowest number of mutations instead of from lowest to highest." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
138 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
139 <when value="--sort-by-mutations">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
140 <repeat name="positions" title="Sort on" min="1" default="1">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
141 <param name="pos" type="integer" min="1" value="1" label="Sort (alphabetically) by base at position" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
142 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
143 <param argument="--high-to-low" type="boolean" truevalue="--high-to-low" falsevalue="" label="Invert resulting sort order" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
144 </when>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
145 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
146 <param argument="--flip-vertical" type="boolean" truevalue="--flip-vertical" falsevalue="" label="Flip plot orientation?" help="Flip the orientation of the plot so sequences are below the reference rather than above it." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
147 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
148 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
149 <param argument="--format" type="select" value="png" label="Plot output file format">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
150 <option value="png" selected="true">png</option>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
151 <option value="jpg">jpg</option>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
152 <option value="pdf">pdf</option>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
153 <option value="svg">svg</option>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
154 <option value="tiff">tiff</option>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
155 </param>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
156 <when value="jpg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
157 <when value="pdf" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
158 <expand macro="handle_background" format="png" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
159 <expand macro="handle_background" format="svg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
160 <expand macro="handle_background" format="tiff" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
161 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
162 <section name="dims" title="Customize plot dimensions" expanded="false">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
163 <param argument="--width" type="float" value="0" min="0" label="Figure width" help="Set to 0 to keep default figure width." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
164 <param argument="--height" type="float" value="0" min="0" label="Figure height" help="Set to 0 to keep default figure height." />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
165 <param argument="--size-option" type="select" value="scale" label="Plot sizing options">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
166 <option value="--size-option expand">expand</option>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
167 <option value="" selected="true">scale</option>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
168 </param>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
169 </section>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
170 <param argument="--write-snps" type="boolean" truevalue="-s" falsevalue="" label="Write out SNPs?" help="Produces extra CSV output with lists of SNPs per sequence in the alignment if enabled." />
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
171 </inputs>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
172 <outputs>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
173 <data name="snp_plot" format="png" label="snipit on ${on_string}: Plot" from_work_dir="snp_plot.*">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
174 <change_format>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
175 <when input="plot.format" value="jpg" format="jpg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
176 <when input="plot.format" value="pdf" format="pdf" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
177 <when input="plot.format" value="svg" format="svg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
178 <when input="plot.format" value="tiff" format="tiff" />
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
179 </change_format>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
180 </data>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
181 <data name="snps" format="csv" label="snipit on ${on_string}: SNPs" from_work_dir="snps.csv">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
182 <filter>write_snps</filter>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
183 <actions>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
184 <action name="column_names" type="metadata" default="record,snps,num_snps" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
185 </actions>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
186 </data>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
187 </outputs>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
188 <tests>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
189 <test expect_num_outputs="2">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
190 <param name="alignment" value="input.fasta" />
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
191 <param name="write_snps" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
192 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
193 <param name="transparent_background" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
194 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
195 <output name="snp_plot" ftype="png" file="snp_plot.png" compare="sim_size" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
196 <output name="snps" ftype="csv" file="snps.csv" />
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
197 </test>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
198 <test expect_num_outputs="1">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
199 <param name="alignment" value="input.fasta" />
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
200 <conditional name="ref">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
201 <param name="select" value="by_id" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
202 <param name="id" value="USA_2" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
203 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
204 <section name="style">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
205 <param name="flip_vertical" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
206 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
207 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
208 <param name="format" value="pdf" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
209 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
210 <assert_command>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
211 <has_text text="-r 'USA_2'" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
212 <has_text text="--flip-vertical" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
213 </assert_command>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
214 <output name="snp_plot" ftype="pdf" file="snp_plot.pdf" compare="sim_size" />
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
215 </test>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
216 <test expect_num_outputs="1">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
217 <param name="alignment" value="input.fasta" />
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
218 <section name="style">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
219 <conditional name="colouring">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
220 <param name="palette" value="verity" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
221 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
222 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
223 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
224 <param name="format" value="jpg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
225 <param name="transparent_background" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
226 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
227 <output name="snp_plot" ftype="jpg" file="snp_plot.jpg" compare="sim_size" />
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
228 </test>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
229 <test expect_num_outputs="1">
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
230 <param name="alignment" value="input.fasta" />
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
231 <section name="pos_restrict">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
232 <repeat name="include_positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
233 <param name="pos" value="1-10000" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
234 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
235 <repeat name="include_positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
236 <param name="pos" value="10001-30000" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
237 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
238 <repeat name="exclude_positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
239 <param name="pos" value="1000-2000" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
240 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
241 <param name="exclude_ambig_pos" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
242 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
243 <section name="style">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
244 <conditional name="sort">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
245 <param name="order" value="--sort-by-mutations" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
246 <repeat name="positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
247 <param name="pos" value="3" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
248 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
249 <repeat name="positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
250 <param name="pos" value="1" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
251 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
252 <repeat name="positions">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
253 <param name="pos" value="2" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
254 </repeat>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
255 <param name="high_to_low" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
256 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
257 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
258 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
259 <param name="format" value="svg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
260 <param name="transparent_background" value="true" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
261 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
262 <assert_command>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
263 <has_text text="--include-positions '1-10000' '10001-30000'" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
264 <has_text text="--exclude-positions '1000-2000'" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
265 <has_text text="--exclude-ambig-pos" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
266 <has_text text="--sort-by-mutations 3,1,2" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
267 <has_text text="--high-to-low" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
268 </assert_command>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
269 <output name="snp_plot" ftype="svg">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
270 <assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
271 <!-- check that the plot does NOT refer to excluded
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
272 position 1059, uses darkseagreen (to highlight Ts) and
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
273 transparent (i.e. NOT white) background -->
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
274 <not_has_text text="&lt;!-- 1059 --&gt;" />
f0b0037669e9 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="style=&quot;fill: #8fbc8f" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
276 <not_has_text text="style=&quot;fill: #ffffff&quot;" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
277 </assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
278 </output>
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
279 </test>
1
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
280 <test expect_num_outputs="1">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
281 <param name="alignment" value="input.fasta" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
282 <section name="style">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
283 <conditional name="colouring">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
284 <param name="palette" value="" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
285 <param name="parent1" value="USA_1" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
286 <param name="parent2" value="USA_5" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
287 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
288 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
289 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
290 <param name="format" value="svg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
291 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
292 <output name="snp_plot" ftype="svg">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
293 <assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
294 <!-- check that the plot does mention position 1059,
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
295 uses goldenrod and #EA5463 as colors (to
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
296 indicate private and parent2 mutations, respectively, in
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
297 recombi-mode) and uses a solid white background -->
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
298 <has_text text="&lt;!-- 1059 --&gt;" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
299 <has_text text="style=&quot;fill: #daa520" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
300 <has_text text="style=&quot;fill: #ea5463" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
301 <has_text text="style=&quot;fill: #ffffff&quot;" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
302 </assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
303 </output>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
304 </test>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
305 <test expect_num_outputs="1">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
306 <param name="alignment" value="input.fasta" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
307 <section name="style">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
308 <conditional name="labels">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
309 <param name="choose" value="custom_csv" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
310 <param name="source" value="custom_labels.csv" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
311 <param name="names_column" value="ori" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
312 <param name="labels_column" value="new" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
313 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
314 </section>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
315 <conditional name="plot">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
316 <param name="format" value="svg" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
317 </conditional>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
318 <output name="snp_plot" ftype="svg">
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
319 <assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
320 <!-- check that the plot does not mention the original
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
321 seq IDs but the mapped labels -->
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
322 <not_has_text text="USA_" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
323 <has_text text="SAMPLE_" />
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
324 </assert_contents>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
325 </output>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
326 </test>
f0b0037669e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
327
0
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
328 </tests>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
329 <help><![CDATA[
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
330 **What it does**
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
331
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
332 Snipit finds the SNPs relative to a reference in a multiple sequence alignment and highlights these changes as a figure.
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
333 ]]>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
334 </help>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
335 <citations>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
336 <citation type="bibtex">
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
337 @UNPUBLISHED{OToole2017,
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
338 author = {O'Toole, Aine},
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
339 title = {snipit: Summarise snps relative to your reference sequence.},
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
340 year = {2017},
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
341 url = {https://github.com/aineniamh/snipit}
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
342 }
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
343 </citation>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
344 </citations>
a9f156e31071 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
345 </tool>