annotate consensus.xml @ 16:682d1e2c8be4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 4d3dfd4bcb567178107dcfd808ff03f9fec0bdbd
author iuc
date Wed, 12 Oct 2022 07:45:42 +0000
parents b2aae698b9d3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
0413e62b757a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents: 5
diff changeset
1 <tool id="medaka_consensus" name="medaka consensus tool" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
2 <description>Assembly polishing via neural networks</description>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
3 <macros>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
5 </macros>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
7 <expand macro="version_command"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
9 ## initialize
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
10 ln -s '${bam}' alignment.bam &&
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
11 ln -s '${bam.metadata.bam_index}' alignment.bam.bai &&
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
12
11
0413e62b757a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents: 5
diff changeset
13 ## Possibly new options bam_chunk and bam_workers. Should we be setting these?
0413e62b757a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents: 5
diff changeset
14
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
15 ## run
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
16 medaka consensus
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
17 ## optional
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
18 --debug ## increase log level
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
19 --threads \${GALAXY_SLOTS:-4}
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
20 --batch_size $batch_size
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
21 #if $regions_cond.regions_sel == 'custom' or $regions_cond.regions_sel == 'bed'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
22 --regions
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
23 #if $regions_cond.regions_sel == 'custom'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
24 '$regions_cond.custom'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
25 #else if $regions_cond.regions_sel == 'bed'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
26 '$regions_cond.bed'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
27 #end if
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
28 #end if
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
29 --chunk_len $chunk_len
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
30 --chunk_ovlp $chunk_ovlp
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
31 --model $model
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
32 $check_output
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
33 $save_features
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
34 #if $RG
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
35 --RG '$RG'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
36 #end if
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
37 #if $tag_name
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
38 --tag_name '$tag_name'
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
39 #end if
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
40 #if str($tag_value):
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
41 --tag_value $tag_value
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
42 #end if
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
43 $tag_keep_missing
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
44 ## required
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
45 alignment.bam ## bam
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
46 '$out_result' ## output
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
47
4
84dcccebad3d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents: 2
diff changeset
48 2>&1 | tee '$out_log'
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
49 ]]></command>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
50 <inputs>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
51 <param argument="bam" type="data" format="bam" label="Select input alignment"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
52 <expand macro="model" argument="--model"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
53 <expand macro="b" argument="--batch_size"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
54 <conditional name="regions_cond">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
55 <param name="regions_sel" type="select" label="Specify regions to analyse via">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
56 <option value="none">None</option>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
57 <option value="custom">Custom input</option>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
58 <option value="bed">BED file</option>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
59 </param>
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
60 <when value="none"/>
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
61 <when value="custom">
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
62 <param argument="custom" type="text" value="" label="Set genomic regions to analyse"/>
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
63 </when>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
64 <when value="bed">
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
65 <param argument="bed" type="data" format="bed" label="Select file with genomic regions to analyse"/>
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
66 </when>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
67 </conditional>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
68 <param argument="--chunk_len" type="integer" value="10000" label="Set chunk length of samples"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
69 <param argument="--chunk_ovlp" type="integer" value="1000" label="Set overlap of chunks"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
70 <param argument="--check_output" type="boolean" truevalue="--check_output" falsevalue="" label="Verify integrity of output file after inference?"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
71 <param argument="--save_features" type="boolean" truevalue="--save_features" falsevalue="" label="Save features with consensus?"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
72 <param argument="--RG" type="text" value="" optional="true" label="Set read group"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
73 <param argument="--tag_name" type="text" value="" optional="true" label="Set tag name" help="Two letters."/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
74 <param argument="--tag_value" type="integer" value="" optional="true" label="Set tag value"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
75 <param argument="--tag_keep_missing" type="boolean" truevalue="--tag_keep_missing" falsevalue="" label="Keep alignments when tag is missing?"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
76 <param name="out" type="select" multiple="true" optional="false" label="Select output file(s)">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
77 <option value="result" selected="true">Result</option>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
78 <option value="log">Log</option>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
79 </param>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
80 </inputs>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
81 <outputs>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
82 <!-- standard -->
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
83 <data name="out_result" format="h5" label="${tool.name} on ${on_string}: Result">
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
84 <filter>'result' in out</filter>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
85 </data>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
86 <!-- optional -->
2
12c40c8c86db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents: 1
diff changeset
87 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: Log">
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
88 <filter>'log' in out</filter>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
89 </data>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
90 </outputs>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
91 <tests>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
92 <!-- #1 default -->
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
93 <test expect_num_outputs="1">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
94 <param name="bam" value="alignment.bam"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
95 <output name="out_result">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
96 <assert_contents>
16
682d1e2c8be4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 4d3dfd4bcb567178107dcfd808ff03f9fec0bdbd
iuc
parents: 14
diff changeset
97 <has_size value="30960"/>
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
98 </assert_contents>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
99 </output>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
100 </test>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
101 <!-- #2 -->
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
102 <test expect_num_outputs="2">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
103 <param name="bam" value="alignment.bam"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
104 <param name="model" value="r941_min_fast_g303"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
105 <param name="batch_size" value="99"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
106 <param name="chunk_len" value="9999"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
107 <param name="chunk_ovlp" value="999"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
108 <param name="check_output" value="true"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
109 <param name="save_features" value="true"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
110 <param name="tag_keep_missing" value="true"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
111 <param name="out" value="result,log"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
112 <output name="out_result">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
113 <assert_contents>
16
682d1e2c8be4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 4d3dfd4bcb567178107dcfd808ff03f9fec0bdbd
iuc
parents: 14
diff changeset
114 <has_size value="37088"/>
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
115 </assert_contents>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
116 </output>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
117 <output name="out_log">
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
118 <assert_contents>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
119 <has_text_matching expression=".+Validating and finalising output data."/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
120 </assert_contents>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
121 </output>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
122 </test>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
123 </tests>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
124 <help><![CDATA[
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
125 .. class:: infomark
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
126
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
127 **What it does**
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
128
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
129 @WID@
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
130
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
131 The module *consensus* runs inference from a trained model and alignments.
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
132
14
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
133 ----
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
134
14
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
135 .. class:: infomark
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
136
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
137 **Inputs and outputs**
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
138
14
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
139 Medaka requires a BAM file as input, and generates a Hierarchical Data Format (H5/HDF) datafile.
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
140
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
141
14
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
142 @MODELS@
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
143
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
144 ----
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
145
b2aae698b9d3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 52289bc7b99bfa8a3bda46cb35cea98399419dab"
iuc
parents: 11
diff changeset
146 .. class:: infomark
1
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
147
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
148 **References**
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
149
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
150 @REFERENCES@
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
151 ]]></help>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
152 <expand macro="citations"/>
0632744d5a5f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff changeset
153 </tool>