annotate snipit.xml @ 1:9f23fe0cb70b 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:45 +0000
parents 20b4c59bec12
children 92b9fd5f1f9f
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>
1
9f23fe0cb70b 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>
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>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
11 <requirements>
20b4c59bec12 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>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
13 </requirements>
20b4c59bec12 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
9f23fe0cb70b 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'
9f23fe0cb70b 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'
9f23fe0cb70b 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'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
18 #end if
9f23fe0cb70b 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)
9f23fe0cb70b 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'
9f23fe0cb70b 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'
9f23fe0cb70b 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}'
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
24 #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
25 -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
26 #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
27 $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
28 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
29 $write_snps
9f23fe0cb70b 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
9f23fe0cb70b 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
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 #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
34 --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
35 #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
36 $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
37 $style.flip_vertical
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
38 #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
39 --include-positions
9f23fe0cb70b 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
41 '$p.pos'
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
42 #end for
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
43 #end if
9f23fe0cb70b 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)
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
45 --exclude-positions
9f23fe0cb70b 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
47 '$p.pos'
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
49 #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
50 $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
51 $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
52 #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
53 $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
54 #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
55 #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
56 $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
57 #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
58 #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
59 --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
60 #else
9f23fe0cb70b 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
62 #end if
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
63 ]]></command>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
64 <inputs>
20b4c59bec12 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
9f23fe0cb70b 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">
9f23fe0cb70b 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 ...">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
70 </param>
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
74 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
75 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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'">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
80 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
81 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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'.">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
85 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
86 </repeat>
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="--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
88 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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?">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
95 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
96 <when value="" />
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
99 </when>
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
104 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
105 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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).">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
115 </param>
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
122 <when value="">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
125 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
126 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
133 </param>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
134 <when value="" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
138 </when>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
142 </repeat>
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
144 </when>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
145 </conditional>
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="--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
147 </section>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
149 <param argument="--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
150 <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
151 <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
152 <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
153 <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
154 <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
155 </param>
1
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
161 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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." />
9f23fe0cb70b 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." />
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
168 </param>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
169 </section>
1
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
171 </inputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
172 <outputs>
1
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
174 <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
175 <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
176 <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
177 <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
178 <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
179 </change_format>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
180 </data>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
183 <actions>
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
185 </actions>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
186 </data>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
187 </outputs>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
188 <tests>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
191 <param name="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
192 <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
193 <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
194 </conditional>
9f23fe0cb70b 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" />
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
197 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b 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">
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="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
202 <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
203 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
206 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
209 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
210 <assert_command>
9f23fe0cb70b 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'" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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
20b4c59bec12 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" />
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
215 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
221 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
222 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
226 </conditional>
9f23fe0cb70b 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
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
228 </test>
1
9f23fe0cb70b 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
20b4c59bec12 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
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
234 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
237 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
240 </repeat>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
241 <param name="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
242 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
248 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
251 </repeat>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
254 </repeat>
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="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
256 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
257 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
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="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
261 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
262 <assert_command>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
263 <has_text text="--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
264 <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
265 <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
266 <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
267 <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
268 </assert_command>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
270 <assert_contents>
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
9f23fe0cb70b 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;" />
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="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
276 <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
277 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
278 </output>
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
279 </test>
1
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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="" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
286 <param name="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
287 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
288 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
291 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
293 <assert_contents>
9f23fe0cb70b 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,
9f23fe0cb70b 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
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
9f23fe0cb70b 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;" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b 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;" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
302 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
303 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
304 </test>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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">
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
311 <param name="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
312 <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
313 </conditional>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
314 </section>
9f23fe0cb70b 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">
9f23fe0cb70b 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" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
317 </conditional>
9f23fe0cb70b 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">
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
319 <assert_contents>
9f23fe0cb70b 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
9f23fe0cb70b 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 -->
9f23fe0cb70b 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_" />
9f23fe0cb70b 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_" />
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
324 </assert_contents>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
325 </output>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
326 </test>
9f23fe0cb70b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit ec96004a9f92c601a3e6474efbe1bd408bed088d
iuc
parents: 0
diff changeset
327
0
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
328 </tests>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
329 <help><![CDATA[
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
330 **What it does**
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
331
20b4c59bec12 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.
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
333 ]]>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
334 </help>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
335 <citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
336 <citation type="bibtex">
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
337 @UNPUBLISHED{OToole2017,
20b4c59bec12 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},
20b4c59bec12 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.},
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
340 year = {2017},
20b4c59bec12 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}
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
342 }
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
343 </citation>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
344 </citations>
20b4c59bec12 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snipit commit 2320dd4efe4d9c800588be55d10008212229703d
iuc
parents:
diff changeset
345 </tool>