annotate virheat.xml @ 0:d2a1ac520392 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
author iuc
date Wed, 15 May 2024 13:37:49 +0000
parents
children 30584e80d61e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
1 <tool id="virheat" name="VirHEAT: visualize allele frequencies"
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
2 version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
3 profile="@PROFILE@">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
4 <description>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
5 from VCFs as a heatmap and map mutations to respective genes
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
6 </description>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
7 <macros>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
8 <import>macros.xml</import>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
9 </macros>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
10 <expand macro="biotools"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
11 <expand macro="requirements"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
12 <expand macro="version"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
13 <command detect_errors="exit_code"><![CDATA[
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
14 #import re
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
15 #set $vcfs_dir = 'vcfs_dir/'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
16 mkdir -p $vcfs_dir &&
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
17 mkdir -p ./output_dir &&
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
18 #set $outfile = 'tmp_output.' + str($advanced.output_type)
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
19 #for $input_file in $sinputs
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
20 #set $file_path = $vcfs_dir + re.sub('[^\s\w\-\\.]', '_', str($input_file.element_identifier))
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
21 ln -s '$input_file' '$file_path' &&
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
22 #end for
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
23 #set $output_dir = 'output_dir/'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
24 virheat
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
25 '$vcfs_dir'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
26 '$output_dir'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
27 --name '$outfile'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
28 #if $genome_data.choice == 'length'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
29 -l $genome_data.genome_length
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
30 #else
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
31 -g '$genome_data.gff3_file'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
32 #end if
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
33 #if $varfreq
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
34 -t $varfreq
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
35 #end if
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
36 $delete
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
37 -n $delete_n
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
38 #if $zoom.choice == 'yes'
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
39 -z $zoom.zoom_start $zoom.zoom_stop
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
40 #end if
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
41 $sort
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
42 --min-cov $min_cov
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
43 ]]></command>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
44 <inputs>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
45 <param name="sinputs" type="data_collection" format="vcf" label="Variant lists data" help="Select at least two datasets (or a dataset collection) with variant lists. Datasets are expected to represent individual samples and dataset names will be used as sample identifiers." multiple="true" collection_type="list" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
46 <conditional name="genome_data">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
47 <param name="choice" type="select"
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
48 label="Data for genomic annotation">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
49 <option value="length">length of the genome</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
50 <option value="gff3">gff3 file</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
51 </param>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
52 <when value="length">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
53 <param name="genome_length" argument="-l" type="integer" min="0" label="Genome length"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
54 </when>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
55 <when value="gff3">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
56 <param name="gff3_file" argument="-g" type="data" format="gff3" label="GFF3 file" help="GFF3 file contains annotations for the genome and allows to display genes harboring a mutation. Ensure that the file follows the GFF3 specification."/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
57 </when>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
58 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
59 <param name="varfreq" argument="-t" type="float" min="0" max="1" value="0" optional="true" label="Variant Frequency Threshold" help="Only plot variants with an intrasample frequency above this threshold in at least one sample." />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
60 <param argument="--delete" type="boolean" truevalue="--delete" falsevalue="--no-delete" checked="true" label="Delete mutations that are present in all samples and their maximum frequency divergence is smaller than 0.5"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
61 <param name="delete_n" argument="-n" type="integer" min="0" value="0" label="Do not show mutations that occur n times or less"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
62 <conditional name="zoom">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
63 <param name="choice" type="select" label="Restrict the plot to a specific genomic region">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
64 <option value="yes">Yes</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
65 <option value="no">No</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
66 </param>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
67 <when value="yes">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
68 <param name="zoom_start" type="integer" label="Start"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
69 <param name="zoom_stop" type="integer" label="End"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
70 </when>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
71 <when value="no"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
72 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
73 <param argument="--sort" type="boolean" truevalue="--sort" falsevalue="--no-sort" checked="false" label="Sort sample names alphanumerically"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
74 <param argument="--min-cov" type="integer" min="1" max="1000" value="20" label="Display mutations covered at least x time"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
75 <section name="advanced" title="Image Properties" expanded="true">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
76 <param name="output_type" type="select" label="Plot output format" >
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
77 <option value="pdf" selected="true" >PDF</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
78 <option value="png" >PNG</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
79 <option value="svg">SVG</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
80 <option value="tiff" >TIFF</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
81 <option value="bmp" >BMP</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
82 <option value="jpeg" >JPEG</option>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
83 </param>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
84 </section>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
85 </inputs>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
86 <outputs>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
87 <data name="outfile" format="pdf" from_work_dir="output_dir/tmp_output.*"
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
88 label="Variant-Frequency Plot on ${on_string}: ${advanced.output_type}">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
89 <change_format>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
90 <when input="advanced.output_type" value="svg" format="svg" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
91 <when input="advanced.output_type" value="png" format="png" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
92 <when input="advanced.output_type" value="tiff" format="tiff" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
93 <when input="advanced.output_type" value="bmp" format="bmp" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
94 <when input="advanced.output_type" value="jpeg" format="jpg" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
95 </change_format>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
96 </data>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
97 </outputs>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
98 <tests>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
99 <test expect_num_outputs="1">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
100 <!-- test1: gff3, pdf -->
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
101 <param name="sinputs" value="day_0.vcf,day_2.vcf,day_4.vcf,day_18.vcf,day_26.vcf,day_32.vcf,day_47.vcf,day_55.vcf,day_60.vcf,day_76.vcf,day_83.vcf,day_85.vcf,day_91.vcf,day_96.vcf,day_100.vcf,day_103.vcf,day_111.vcf"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
102 <conditional name="genome_data">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
103 <param name="choice" value="gff3"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
104 <param name="gff3_file" value="SARS-CoV-2.gff3"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
105 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
106 <conditional name="zoom">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
107 <param name="choice" value="yes"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
108 <param name="zoom_start" value="22599"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
109 <param name="zoom_stop" value="23278"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
110 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
111 <output name="outfile" ftype="pdf">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
112 <assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
113 <has_text text="day"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
114 </assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
115 </output>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
116 </test>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
117 <test expect_num_outputs="1">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
118 <!-- test2: length, svg -->
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
119 <param name="sinputs" value="day_76.vcf,day_83.vcf,day_91.vcf,day_103.vcf" ftype="vcf" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
120 <conditional name="genome_data">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
121 <param name="choice" value="length"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
122 <param name="genome_length" value="29903"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
123 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
124 <conditional name="zoom">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
125 <param name="choice" value="yes"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
126 <param name="zoom_start" value="22599"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
127 <param name="zoom_stop" value="23278"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
128 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
129 <output name="outfile" ftype="svg">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
130 <assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
131 <has_text text="day"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
132 </assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
133 </output>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
134 </test>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
135 <test expect_num_outputs="1">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
136 <!-- test3: gff3, threshold, png, delete, delete-n -->
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
137 <param name="sinputs" value="day_76.vcf,day_83.vcf,day_91.vcf,day_103.vcf" ftype="vcf" />
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
138 <param name="varfreq" value="0.1"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
139 <param name="delete" value="yes"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
140 <param name="delete_n" value="1"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
141 <conditional name="genome_data">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
142 <param name="choice" value="gff3"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
143 <param name="gff3_file" value="SARS-CoV-2.gff3"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
144 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
145 <conditional name="zoom">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
146 <param name="choice" value="no"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
147 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
148 <output name="outfile" ftype="png">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
149 <assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
150 <has_text text="day"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
151 </assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
152 </output>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
153 </test>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
154 <test expect_num_outputs="1">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
155 <!-- test4: length, zoom, sort, tiff -->
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
156 <param name="sinputs" value="day_0.vcf,day_2.vcf,day_4.vcf,day_18.vcf,day_26.vcf,day_32.vcf,day_47.vcf,day_55.vcf,day_60.vcf,day_76.vcf,day_83.vcf,day_85.vcf,day_91.vcf,day_96.vcf,day_100.vcf,day_103.vcf,day_111.vcf"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
157 <param name="varfreq" value="0.1"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
158 <param name="delete" value="false"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
159 <param name="delete_n" value="0"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
160 <param name="sort" value="true"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
161 <param name="min_cov" value="25"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
162 <conditional name="zoom">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
163 <param name="choice" value="yes"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
164 <param name="zoom_start" value="22599"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
165 <param name="zoom_stop" value="23278"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
166 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
167 <section name="advanced">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
168 <param name="output_type" value="tiff"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
169 </section>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
170 <conditional name="genome_data">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
171 <param name="choice" value="length"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
172 <param name="genome_length" value="29903"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
173 </conditional>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
174 <output name="outfile">
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
175 <assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
176 <has_text text="day"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
177 </assert_contents>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
178 </output>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
179 </test>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
180 </tests>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
181 <help><![CDATA[
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
182 @HELP_HEADER@
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
183 ]]></help>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
184 <expand macro="citations"/>
d2a1ac520392 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virheat commit ed302b5ddedadffc87798b7216f1a331accce96e
iuc
parents:
diff changeset
185 </tool>