Mercurial > repos > iuc > medaka_variant
annotate variant.xml @ 9:43815fa60f3a draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 2a29f6676b1bbf42e9c4c3edeb4471a0ac57fbe3"
author | iuc |
---|---|
date | Mon, 29 Mar 2021 20:05:39 +0000 |
parents | edf6d4003fad |
children | 9fb055604648 |
rev | line source |
---|---|
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
9
43815fa60f3a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 2a29f6676b1bbf42e9c4c3edeb4471a0ac57fbe3"
iuc
parents:
8
diff
changeset
|
2 <tool id="medaka_variant" name="medaka variant tool" version="@TOOL_VERSION@+galaxy7" profile="@PROFILE@"> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
3 <description>Probability decoding</description> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
4 <macros> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
6 </macros> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
7 <expand macro="requirements"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
8 <requirement type="package" version="1.4.1">scipy</requirement> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
9 </expand> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
10 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
11 <expand macro="version_command"/> |
7
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
12 |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
13 <configfiles> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
14 <configfile name="convert_fasta"> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
15 import sys |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
16 infile = open(sys.argv[1], 'r') |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
17 outfile = open(sys.argv[2], 'w') |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
18 for line in infile: |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
19 if line[0] == '>': |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
20 outfile.write(line) |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
21 else: |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
22 outfile.write(line.upper()) |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
23 infile.close() |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
24 outfile.close() |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
25 </configfile> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
26 </configfiles> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
27 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
28 <command detect_errors="exit_code"><![CDATA[ |
1
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
29 ## initialize |
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
30 @REF_FASTA@ |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
31 |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
32 |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
33 #if $pool.pool_mode == "Yes": |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
34 ## run |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
35 medaka variant |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
36 ## optional |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
37 --debug |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
38 #if $regions |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
39 --regions '${regions}' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
40 #end if |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
41 $verbose |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
42 ## required |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
43 reference.fa |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
44 #for $current in $pool.inputs |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
45 '$current' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
46 #end for |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
47 '$out_result' ## output |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
48 |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
49 2>&1 | tee '$out_log' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
50 #elif $pool.pool_mode == "No": |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
51 ## run |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
52 medaka variant |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
53 ## optional |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
54 --debug |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
55 #if $regions |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
56 --regions '${regions}' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
57 #end if |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
58 $verbose |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
59 ## required |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
60 reference.fa |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
61 '$pool.input' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
62 '$out_result' ##output |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
63 2>&1 | tee '$out_log' |
1
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
64 #end if |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
65 |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
66 #if $out_annotated: |
7
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
67 ## medaka annotate errors out if the reference is lower case at a position it's annotating because it checks vs the ref base in the vcf |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
68 && python '$convert_fasta' reference.fa upper_reference.fa |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
69 && ln -s '$output_annotated.in_bam' in.bam |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
70 && ln -s '$output_annotated.in_bam.metadata.bam_index' in.bai |
7
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
71 && medaka tools annotate --pad $output_annotated.pad '$out_result' upper_reference.fa in.bam tmp.vcf |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
72 && '$__tool_directory__/convert_VCF_info_fields.py' tmp.vcf '$out_annotated' |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
73 #end if |
1
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
74 ]]></command> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
75 <inputs> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
76 <conditional name="pool"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
77 <param name="pool_mode" type="select" label="Are you pooling HDF5 datasets?"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
78 <option value="No" selected="True">No</option> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
79 <option value="Yes">Yes</option> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
80 </param> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
81 <when value="Yes"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
82 <param name="inputs" type="data" format="h5" multiple="true" label="Select consensus file(s)"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
83 </when> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
84 <when value="No"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
85 <param name="input" type="data" format="h5" label="Select consensus file(s)"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
86 </when> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
87 </conditional> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
88 <expand macro="reference"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
89 <param argument="--regions" type="text" value="" optional="true" label="Set reference names to limit variant calling" help="Separated by ','."> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
90 <sanitizer invalid_char=""> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
91 <valid initial="string.ascii_letters,string.digits"> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
92 <add value="_"/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
93 <add value=","/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
94 <add value="."/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
95 </valid> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
96 </sanitizer> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
97 </param> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
98 <param argument="--verbose" type="boolean" truevalue="--verbose" falsevalue="" label="Populate VCF info fields?"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
99 <conditional name="output_annotated"> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
100 <param name="output_annotated_select" type="select" label="Output annotated VCF?" help="Annotate allele frequency, depth of coverage, etc for each variant (requires BAM file)"> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
101 <option value="true" selected="true">Output annotated VCF</option> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
102 <option value="false">Don't output annotated VCF</option> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
103 </param> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
104 <when value="true"> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
105 <param name="in_bam" type="data" format="bam" optional="false" label="BAM to annotate the VCF"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
106 <param name="pad" type="integer" min="1" value="25" label="Padding width on either side of variant for realignment in medaka tools anntotate, used to calculate DPSP, DPSPS, AF, FAF, RAF, SB, DP4, and AS in the output annotated VCF"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
107 </when> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
108 <when value="false"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
109 </conditional> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
110 <param name="output_log_bool" type="boolean" label="Output log file?" checked="true"/> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
111 </inputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
112 <outputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
113 <!-- standard --> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
114 <data name="out_result" format="vcf" label="${tool.name} on ${on_string}: Result"/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
115 <!-- optional --> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
116 <data name="out_annotated" format="vcf" label="${tool.name} on ${on_string}: Annotated"> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
117 <filter>output_annotated['output_annotated_select']!='false'</filter> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
118 </data> |
1
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
119 <data name="out_log" format="tabular" label="${tool.name} on ${on_string}: Log"> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
120 <filter>output_log_bool</filter> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
121 </data> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
122 </outputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
123 <tests> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
124 <!-- #1 default --> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
125 <test expect_num_outputs="3"> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
126 <conditional name="pool"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
127 <param name="pool_mode" value="Yes"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
128 <param name="inputs" value="medaka_test.hdf,medaka_test.hdf"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
129 </conditional> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
130 <conditional name="reference_source"> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
131 <param name="reference_source_selector" value="history"/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
132 <param name="ref_file" value="ref.fasta"/> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
133 </conditional> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
134 <conditional name="output_annotated"> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
135 <param name="output_annotated_select" value="true"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
136 <param name="in_bam" value="medaka_test.bam"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
137 </conditional> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
138 <param name="output_log_bool" value="true"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
139 |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
140 <output name="out_result"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
141 <assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
142 <has_n_lines n="9"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
143 <has_line line="##fileformat=VCFv4.1" /> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
144 <has_line_matching expression="##medaka_version=[0-9]+\.[0-9]+\.[0-9]+" /> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
145 </assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
146 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
147 <output name="out_annotated"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
148 <assert_contents> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
149 <has_n_lines n="22"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
150 <has_line line="##fileformat=VCFv4.1" /> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
151 <has_line_matching expression="##medaka_version=[0-9]+\.[0-9]+\.[0-9]+" /> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
152 <has_line_matching expression="##convert_VCF_info_fields=[0-9]+\.[0-9]+" /> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
153 </assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
154 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
155 <output name="out_log"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
156 <assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
157 <has_n_lines n="10" /> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
158 </assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
159 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
160 </test> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
161 <!--No pooling--> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
162 <test expect_num_outputs="3"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
163 <conditional name="pool"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
164 <param name="pool_mode" value="No"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
165 <param name="input" value="medaka_test.hdf"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
166 </conditional> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
167 <conditional name="reference_source"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
168 <param name="reference_source_selector" value="history"/> |
9
43815fa60f3a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 2a29f6676b1bbf42e9c4c3edeb4471a0ac57fbe3"
iuc
parents:
8
diff
changeset
|
169 <param name="ref_file" value="ref.fasta.gz" ftype="fasta.gz"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
170 </conditional> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
171 <conditional name="output_annotated"> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
172 <param name="output_annotated_select" value="true"/> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
173 <param name="in_bam" value="medaka_test.bam"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
174 </conditional> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
175 <param name="output_log_bool" value="true"/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
176 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
177 <output name="out_result"> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
178 <assert_contents> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
179 <has_n_lines n="9"/> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
180 <has_line line="##fileformat=VCFv4.1" /> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
181 <has_line_matching expression="##medaka_version=[0-9]+\.[0-9]+\.[0-9]+" /> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
182 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
183 </output> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
184 <output name="out_annotated"> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
185 <assert_contents> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
186 <has_n_lines n="22"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
187 <has_line line="##fileformat=VCFv4.1" /> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
188 <has_line_matching expression="##medaka_version=[0-9]+\.[0-9]+\.[0-9]+" /> |
7
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
189 <has_line_matching expression="##convert_VCF_info_fields=[0-9]+\.[0-9]+" /> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
190 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
191 </output> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
192 <output name="out_log"> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
193 <assert_contents> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
194 <has_n_lines n="8" /> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
195 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
196 </output> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
197 </test> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
198 <!--No annotation or log--> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
199 <test expect_num_outputs="1"> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
200 <conditional name="pool"> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
201 <param name="pool_mode" value="No"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
202 <param name="input" value="medaka_test.hdf"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
203 </conditional> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
204 <conditional name="reference_source"> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
205 <param name="reference_source_selector" value="history"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
206 <param name="ref_file" value="ref.fasta"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
207 </conditional> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
208 <conditional name="output_annotated"> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
209 <param name="output_annotated_select" value="false"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
210 </conditional> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
211 <param name="output_log_bool" value="false"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
212 |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
213 <output name="out_result"> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
214 <assert_contents> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
215 <has_n_lines n="9"/> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
216 <has_line line="##fileformat=VCFv4.1" /> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
217 <has_line_matching expression="##medaka_version=[0-9]+\.[0-9]+\.[0-9]+" /> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
218 </assert_contents> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
219 </output> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
220 </test> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
221 </tests> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
222 <help><![CDATA[ |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
223 .. class:: infomark |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
224 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
225 **What it does** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
226 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
227 @WID@ |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
228 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
229 The module *variant* decodes probabilities. |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
230 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
231 **Input** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
232 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
233 - reference sequence (FASTA) |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
234 - (several) consensus files (H5/HDF) |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
235 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
236 **Output** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
237 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
238 - decoded probabilities (VCF) |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
239 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
240 **References** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
241 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
242 @REFERENCES@ |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
243 ]]></help> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
244 <expand macro="citations"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
245 </tool> |