Mercurial > repos > iuc > medaka_variant
annotate variant.xml @ 11:2bf63b38ee9b draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 69eb0054f76057436094943f262a74c982d8de42"
author | iuc |
---|---|
date | Sun, 12 Sep 2021 20:35:26 +0000 |
parents | 9fb055604648 |
children | 0f5f4a208660 |
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"?> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
2 <tool id="medaka_variant" name="medaka variant tool" version="@TOOL_VERSION@+galaxy0" 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> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
7 <expand macro="requirements"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
8 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
9 <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
|
10 |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
11 <configfiles> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
12 <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
|
13 import sys |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
14 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
|
15 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
|
16 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
|
17 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
|
18 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
|
19 else: |
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.upper()) |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
21 infile.close() |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
22 outfile.close() |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
23 </configfile> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
24 </configfiles> |
28c13c42de01
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit ed5a3aadbecc0decf9a797447f3ac7700683ea9a"
iuc
parents:
6
diff
changeset
|
25 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
26 <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
|
27 ## initialize |
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
28 @REF_FASTA@ |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
29 |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
30 |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
31 #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
|
32 ## run |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
33 medaka variant |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
34 ## optional |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
35 --debug |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
36 #if $regions |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
37 --regions '${regions}' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
38 #end if |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
39 $verbose |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
40 ${ambig_ref} |
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
41 ${gvcf} |
4
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 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
|
49 #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
|
50 ## run |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
51 medaka variant |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
52 ## optional |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
53 --debug |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
54 #if $regions |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
55 --regions '${regions}' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
56 #end if |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
57 $verbose |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
58 ${ambig_ref} |
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
59 ${gvcf} |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
60 ## required |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
61 reference.fa |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
62 '$pool.input' |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
63 '$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
|
64 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
|
65 #end if |
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 |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
71 && medaka tools annotate --dpsp --pad $output_annotated.pad '$out_result' upper_reference.fa in.bam tmp.vcf |
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
72 && python '$__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?"> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
78 <option value="No" selected="true">No</option> |
4
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?"/> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
99 <param argument="--ambig_ref" type="boolean" truevalue="--ambig_ref" falsevalue="" label="Decode variants at ambiguous reference positions?" checked="false"/> |
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
100 <param argument="--gvcf" type="boolean" truevalue="--gvcf" falsevalue="" label="Output VCF records for reference loci predicted to be non-variant?" checked="false"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
101 <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
|
102 <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
|
103 <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
|
104 <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
|
105 </param> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
106 <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
|
107 <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
|
108 <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
|
109 </when> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
110 <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
|
111 </conditional> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
112 <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
|
113 </inputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
114 <outputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
115 <!-- standard --> |
3
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_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
|
117 <!-- optional --> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
118 <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
|
119 <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
|
120 </data> |
1
43388fc8ad0b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e5b495e8ace37eaf31a3430a29de11c83416dc2c"
iuc
parents:
0
diff
changeset
|
121 <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
|
122 <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
|
123 </data> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
124 </outputs> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
125 <tests> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
126 <!-- #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
|
127 <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
|
128 <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
|
129 <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
|
130 <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
|
131 </conditional> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
132 <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
|
133 <param name="reference_source_selector" value="history"/> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
134 <param name="ref_file" value="ref.fasta.gz"/> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
135 </conditional> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
136 <param name="ambig_ref" value="true"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
137 <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
|
138 <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
|
139 <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
|
140 </conditional> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
141 <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
|
142 |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
143 <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
|
144 <assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
145 <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
|
146 <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
|
147 <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
|
148 </assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
149 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
150 <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
|
151 <assert_contents> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
152 <has_n_lines n="23"/> |
4
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
153 <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
|
154 <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
|
155 <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
|
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 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
158 <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
|
159 <assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
160 <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
|
161 </assert_contents> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
162 </output> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
163 </test> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
164 <!--No pooling--> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
165 <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
|
166 <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
|
167 <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
|
168 <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
|
169 </conditional> |
2308bc523659
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332"
iuc
parents:
3
diff
changeset
|
170 <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
|
171 <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
|
172 <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
|
173 </conditional> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
174 <param name="ambig_ref" 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
|
175 <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
|
176 <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
|
177 <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
|
178 </conditional> |
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
179 <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
|
180 |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
181 <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
|
182 <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
|
183 <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
|
184 <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
|
185 <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
|
186 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
187 </output> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
188 <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
|
189 <assert_contents> |
10
9fb055604648
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 0faf0ade3f13d7c78d93869823ea9fdf25c21b13"
iuc
parents:
9
diff
changeset
|
190 <has_n_lines n="23"/> |
3
e86fcef8ed91
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit e80b649094384fc6d7a8f917300db3550cc99a44"
iuc
parents:
1
diff
changeset
|
191 <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
|
192 <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
|
193 <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
|
194 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
195 </output> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
196 <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
|
197 <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
|
198 <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
|
199 </assert_contents> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
200 </output> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
201 </test> |
6
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
202 <!--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
|
203 <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
|
204 <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
|
205 <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
|
206 <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
|
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="reference_source"> |
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="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
|
210 <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
|
211 </conditional> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
212 <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
|
213 <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
|
214 </conditional> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
215 <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
|
216 |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
217 <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
|
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 <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
|
220 <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
|
221 <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
|
222 </assert_contents> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
223 </output> |
aabb4e1c0b7b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 9b7d28ac59ad082874670ee989836631ba8d7fb4"
iuc
parents:
5
diff
changeset
|
224 </test> |
0
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
225 </tests> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
226 <help><![CDATA[ |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
227 .. class:: infomark |
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 **What it does** |
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 @WID@ |
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 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
|
234 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
235 **Input** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
236 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
237 - reference sequence (FASTA) |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
238 - (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
|
239 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
240 **Output** |
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 - decoded probabilities (VCF) |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
243 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
244 **References** |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
245 |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
246 @REFERENCES@ |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
247 ]]></help> |
3cde72a6e37c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit 1b97fa7a21a2c85bf4891aed1b7df92685b346c3"
iuc
parents:
diff
changeset
|
248 <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
|
249 </tool> |