annotate bcftools_call.xml @ 20:667a733b45f1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
author iuc
date Tue, 20 Sep 2022 12:22:45 +0000
parents 655e01b6caea
children d6d682b69e65
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
3 <description>SNP/indel variant calling from VCF/BCF</description>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
4 <macros>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
5 <token name="@EXECUTABLE@">call</token>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
6 <import>macros.xml</import>
5
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
7 <xml name="macro_novel_rate">
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
8 <param name="novel_rate_snp" type="float" value="" optional="true" label="Novel rate for SNPs"
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
9 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
10 <param name="novel_rate_del" type="float" value="" optional="true" label="Novel rate for deletions"
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
11 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
12 <param name="novel_rate_ins" type="float" value="" optional="true" label="Novel rate for insertions"
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
13 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
5
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
14 </xml>
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
15 <token name="@NOVEL_RATE@">
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
16 #set $novel_rate = []
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
17 #if str($section.genotypes.novel_rate_snp):
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
18 #silent $novel_rate.append(str($section.genotypes.novel_rate_snp))
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
19 #end if
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
20 #if str($section.genotypes.novel_rate_del):
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
21 #silent $novel_rate.append(str($section.genotypes.novel_rate_del))
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
22 #end if
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
23 #if str($section.genotypes.novel_rate_ins):
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
24 #silent $novel_rate.append(str($section.genotypes.novel_rate_ins))
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
25 #end if
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
26 #if len($novel_rate) > 0:
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
27 --novel-rate '#echo ','.join($novel_rate)#'
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
28 #end if
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
29 </token>
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
30 </macros>
18
655e01b6caea "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit af43d9cf6824f88726900857116f333ff4cdd336"
iuc
parents: 16
diff changeset
31 <expand macro="bio_tools" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
32 <expand macro="requirements" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
33 <expand macro="version_command" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
34 <command detect_errors="aggressive"><![CDATA[
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
35 @PREPARE_ENV@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
36 @PREPARE_INPUT_FILE@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
37 #set $section = $sec_consensus_variant_calling.variant_calling
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
38 #set $targets_path = None
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
39 #if $section.method == 'multiallelic':
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
40 #if $section.genotypes.constrain == 'alleles':
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
41 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
42 @PREPARE_TARGETS_FILE@
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
43 #end if
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
44 #end if
7
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
45 #set $section = $sec_restrict
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
46 @PREPARE_REGIONS_FILE@
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
47
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
48 bcftools @EXECUTABLE@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
49
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
50 #set $section = $sec_consensus_variant_calling.variant_calling
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
51 #if $section.method == 'multiallelic':
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
52 -m
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
53 #if str($section.gvcf):
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
54 --gvcf $section.gvcf
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
55 #end if
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
56 #if str($section.prior_freqs):
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
57 --prior-freqs '$section.prior_freqs'
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
58 #end if
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
59 #if str($section.prior):
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
60 --prior $section.prior
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
61 #end if
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
62 #if $section.genotypes.constrain == 'alleles':
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
63 --constrain alleles $section.genotypes.insert_missed
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
64 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
65 @TARGETS_FILE@
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
66 #else
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
67 #if $section.genotypes.constrain == 'trio':
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
68 --constrain trio
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
69 @NOVEL_RATE@
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
70 #end if
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
71 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
72 @TARGETS@
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
73 #end if
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
74 #else
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
75 -c
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
76 #if str($section.pval_threshold):
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
77 --pval-threshold $section.pval_threshold
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
78 #end if
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
79 #end if
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
80
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
81 #set $section = $sec_restrict
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
82 @REGIONS@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
83 @SAMPLES@
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
84
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
85 ## File format section
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
86 #set $section = $sec_file_format
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
87 #if $section.ploidy:
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
88 --ploidy ${section.ploidy}
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
89 #end if
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
90 #if $section.ploidy_file:
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
91 --ploidy-file '${section.ploidy_file}'
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
92 #end if
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
93
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
94 ## Input/output section
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
95 #set $section = $sec_input_output
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
96 ${section.group_samples}
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
97 ${section.keep_alts}
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
98 #if $section.format_fields:
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
99 --format-fields '${section.format_fields}'
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
100 #end if
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
101 ${section.keep_masked_ref}
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
102 #if $section.skip_variants:
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
103 --skip-variants ${section.skip_variants}
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
104 #end if
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
105 ${section.variants_only}
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
106
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
107 #if $section.output_tags
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
108 --annotate $section.output_tags
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
109 #end if
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
110
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
111 @OUTPUT_TYPE@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
112 @THREADS@
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
113
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
114 ## Primary Input/Outputs
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
115 @INPUT_FILE@
7
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
116 > '$output_file'
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
117 ]]></command>
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
118 <inputs>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
119 <expand macro="macro_input" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
120 <section name="sec_restrict" expanded="false" title="Restrict to">
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
121 <expand macro="macro_restrict" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
122 <expand macro="macro_samples" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
123 </section>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
124 <section name="sec_consensus_variant_calling" expanded="true" title="Consensus/variant calling Options">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
125 <conditional name="variant_calling">
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
126 <param name="method" type="select" label="Calling method">
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
127 <option value="multiallelic">Multiallelic and rare-variant caller</option>
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
128 <option value="consensus">Consensus caller</option>
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
129 </param>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
130 <when value="multiallelic">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
131 <conditional name="genotypes">
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
132 <param argument="--constrain" type="select" label="Constrain" help="One of: alleles, trio (see manual)">
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
133 <option value="none">Do not constrain</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
134 <option value="alleles">alleles - call genotypes given alleles</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
135 <option value="trio">trio - call genotypes given the father-mother-child constraint</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
136 </param>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
137 <when value="none">
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
138 <expand macro="macro_restrict" type="target" label_type="Target" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
139 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
140 <when value="alleles">
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
141 <expand macro="macro_restrictions_file" type="target" label_type="Target" />
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
142 <param name="insert_missed" argument="--insert-missed" type="boolean" truevalue="--insert-missed" falsevalue="" label="Insert missed" help="Output also sites missed by mpileup but present in -T" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
143 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
144 <when value="trio">
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
145 <expand macro="macro_restrict" type="target" label_type="Target" />
5
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
146 <expand macro="macro_novel_rate" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
147 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
148 </conditional>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
149 <param name="prior_freqs" argument="--prior-freqs" type="text" value="" optional="true" label="Use prior knowledge of population allele frequencies">
7
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
150 <help>
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
151 <![CDATA[
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
152 For example: --prior-freqs REF_AN,REF_AC
7
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
153 <br>if the input VCF has the following INFO tags:
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
154 <br>##INFO=&lt;ID=REF_AN,Number=1,Type=Integer,Description="Total number of alleles in reference genotypes"&gt;
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
155 <br>##INFO=&lt;ID=REF_AC,Number=A,Type=Integer,Description="Allele count in reference genotypes for each ALT allele"&gt;
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
156 ]]>
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
157 </help>
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
158 <validator type="regex" message="The INFO tags (separated by a comma), e.g. AN,AC">^(\w+,\w+)?$</validator>
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
159 </param>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
160 <param argument="--prior" type="float" value="1.1e-3" optional="true" label="Prior" help="Expected substitution rate" />
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
161 <param argument="--gvcf" type="integer" optional="true" label="Output also gVCF blocks of homozygous REF calls" help="The parameter value is the minimum per-sample depth required to include a site in the non-variant block" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
162 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
163 <when value="consensus">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
164 <conditional name="genotypes">
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
165 <param argument="--constrain" type="select" label="Constrain" help="One of: alleles, trio (see manual)">
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
166 <option value="none">Do not constrain</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
167 <option value="trio">trio - call genotypes given the father-mother-child constraint</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
168 </param>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
169 <when value="none" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
170 <when value="trio">
5
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
171 <expand macro="macro_novel_rate" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
172 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
173 </conditional>
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
174 <expand macro="macro_restrict" type="target" label_type="Target" />
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
175 <param name="pval_threshold" argument="--pval-threshold" type="float" value="0.5" optional="true" label="Pval Threshold" help="Accept variant if P(ref|D)&lt;FLOAT" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
176 </when>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
177 </conditional>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
178 </section>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
179 <section name="sec_file_format" expanded="false" title="File format Options">
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
180 <param argument="--ploidy" type="select" optional="true" label="Select predefined ploidy">
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
181 <option value="GRCh37">GRCh37 - Human Genome reference assembly GRCh37 / hg19</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
182 <option value="GRCh38">GRCh37 - Human Genome reference assembly GRCh38 / hg38</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
183 <option value="X">X - Treat male samples as haploid and female as diploid regardless of the chromosome name</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
184 <option value="Y">Y - Treat male samples as haploid and female as no-copy, regardless of the chromosome name"</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
185 <option value="1">1 - Treat all samples as haploid</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
186 </param>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
187 <param name="ploidy_file" argument="--ploidy-file" type="data" format="tabular" optional="true" label="Ploidy file" help="Space/tab-delimited list of CHROM,FROM,TO,SEX,PLOIDY" />
11
4e8c9b07efc1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 10
diff changeset
188 <expand macro="macro_restrict" />
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
189 <expand macro="macro_samples" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
190 </section>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
191 <section name="sec_input_output" expanded="false" title="Input/output Options">
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
192 <param name="group_samples" argument="--group-samples" type="boolean" truevalue="--group-samples -" falsevalue="" label="Single Sample Calling" help="Group samples by population for single-sample calling (-G - is the only option implemented so far)" />
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
193 <param name="keep_alts" argument="--keep-alts" type="boolean" truevalue="--keep-alts" falsevalue="" label="Keep alts" help="Output all alternate alleles present in the alignments even if they do not appear in any of the genotypes" />
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
194 <param name="format_fields" argument="--format-fields" type="text" value="" optional="true" label="Comma-separated list of FORMAT fields to output for each sample"
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
195 help="Currently GQ and GP fields are supported" >
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
196 <validator type="regex" message="FORMAT terms separated by commas">^([A-Za-z]+(,[A-Za-z]+)*)?$</validator>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
197 </param>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
198 <param name="keep_masked_ref" argument="--keep-masked-ref" type="boolean" truevalue="--keep-masked-ref" falsevalue="" label="Keep masked reference alleles" help="Output sites where REF allele is N" />
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
199 <param name="skip_variants" argument="--skip-variants" type="select" optional="true" label="Skip variants" help="Skip indels/SNP sites">
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
200 <option value="indels">indels</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
201 <option value="snps">snps</option>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
202 </param>
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
203 <param name="variants_only" argument="--variants-only" type="boolean" truevalue="--variants-only" falsevalue="" label="Output variant sites only" />
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
204 <expand macro="macro_output_tags">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
205 <option value="INFO/PV4">INFO/PV4: P-values for strand bias, baseQ bias, mapQ bias and tail</option>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
206 <option value="FORMAT/GQ">FORMAT/GQ: Phred-scaled genotype quality</option>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
207 <option value="FORMAT/GP">FORMAT/GP: Phred-scaled genotype posterior probabilities</option>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
208 </expand>
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
209 </section>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
210 <expand macro="macro_select_output_type" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
211 </inputs>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
212 <outputs>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
213 <expand macro="macro_vcf_output"/>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
214 </outputs>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
215 <tests>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
216 <test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
217 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
218 <param name="method" value="multiallelic" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
219 <param name="variants_only" value="true" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
220 <param name="output_type" value="v" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
221 <output name="output_file">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
222 <assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
223 <has_text text="DP4=2,4,8,11;MQ=49" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
224 </assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
225 </output>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
226 </test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
227 <test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
228 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
229 <param name="method" value="multiallelic" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
230 <param name="gvcf" value="0" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
231 <param name="output_type" value="v" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
232 <output name="output_file">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
233 <assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
234 <has_text text="MinDP" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
235 <has_text text="DP4=2,4,8,11;MQ=49" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
236 </assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
237 </output>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
238 </test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
239 <test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
240 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
241 <param name="method" value="multiallelic" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
242 <param name="ploidy_file" value="mpileup.ploidy" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
243 <param name="samples_file" value="mpileup.samples" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
244 <param name="output_type" value="v" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
245 <output name="output_file">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
246 <assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
247 <has_text text="DP4=2,4,8,11;MQ=49" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
248 </assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
249 </output>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
250 </test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
251 <test>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
252 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
253 <param name="method" value="consensus" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
254 <param name="output_type" value="v" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
255 <param name="ploidy_file" value="mpileup.ploidy" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
256 <output name="output_file">
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
257 <assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
258 <has_text text="DP4=2,4,8,11" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
259 <has_text text="PV4=1,1,1,1" />
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
260 </assert_contents>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
261 </output>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
262 </test>
20
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
263 <!-- Test annotate -->
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
264 <test>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
265 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
266 <param name="method" value="consensus" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
267 <param name="output_type" value="v" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
268 <param name="ploidy_file" value="mpileup.ploidy" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
269 <section name="sec_input_output">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
270 <param name="output_tags" value="INFO/PV4"/>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
271 </section>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
272 <output name="output_file">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
273 <assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
274 <has_text text="DP4=2,4,8,11" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
275 <has_text text="PV4=1,1,1,1" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
276 </assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
277 </output>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
278 <assert_command>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
279 <has_text text="--annotate" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
280 </assert_command>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
281 </test>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
282 <!-- Test region overlap-->
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
283 <test>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
284 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
285 <param name="method" value="multiallelic" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
286 <param name="variants_only" value="true" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
287 <param name="output_type" value="v" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
288 <section name="sec_restrict">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
289 <param name="regions_overlap" value="1"/>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
290 </section>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
291 <output name="output_file">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
292 <assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
293 <has_text text="DP4=2,4,8,11;MQ=49" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
294 </assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
295 </output>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
296 <assert_command>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
297 <has_text text="--regions-overlap" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
298 </assert_command>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
299 </test>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
300 <!-- Test group samples option-->
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
301 <test>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
302 <param name="input_file" ftype="vcf" value="mpileup.AD.vcf" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
303 <param name="method" value="multiallelic" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
304 <param name="output_type" value="v" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
305 <section name="sec_input_output">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
306 <param name="group_samples" value="true" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
307 </section>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
308 <output name="output_file">
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
309 <assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
310 <has_text text="bcftools_callCommand=call -m --prior 0.0011 --group-samples - " />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
311 <has_text text="DP=1;ADF=1;ADR=0;DPR=1;MQ0F=0;AN=2;DP4=1,0,0,0;MQ=37" />
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
312 </assert_contents>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
313 </output>
667a733b45f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 18
diff changeset
314 </test>
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
315 </tests>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
316 <help><![CDATA[
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
317 ==================================
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
318 bcftools @EXECUTABLE@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
319 ==================================
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
320
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
321 SNP/indel variant calling from VCF/BCF. To be used in conjunction with samtools mpileup.
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
322
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
323 - This command replaces the former "bcftools view" caller.
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
324 - Some of the original functionality has been temporarily lost in the process of transition to htslib, but will be added back on popular demand.
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
325 - The original calling model can be invoked with the -c option.
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
326
10
56e6dfc9f4bb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 7
diff changeset
327 The novel-rate option can be set to modify the likelihood of novel mutation for constrained -C trio calling. The trio genotype calling maximizes likelihood of a particular combination of genotypes for father, mother and the child P(F=i,M=j,C=k) = P(unconstrained) * Pn + P(constrained) * (1-Pn). By providing three values, the mutation rate Pn is set explicitly for SNPs, deletions and insertions, respectively. If two values are given, the first is interpreted as the mutation rate of SNPs and the second is used to calculate the mutation rate of indels according to their length as Pn=float*exp(-a-b*len), where a=22.8689, b=0.2994 for insertions and a=21.9313, b=0.2856 for deletions [pubmed:23975140]. If only one value is given, the same mutation rate Pn is used for SNPs and indels.
5
3e85f6c5cf8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 4
diff changeset
328
7
5679e2246fc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents: 6
diff changeset
329
2
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
330 @REGIONS_HELP@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
331 @TARGETS_HELP@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
332
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
333 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
334
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
335 @BCFTOOLS_WIKI@
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
336 ]]>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
337 </help>
0812cba3c4c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
338 <expand macro="citations" />
0
dabc1e7ca486 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 97a064489364118d108b0dd2cfb4d9bc53080837
iuc
parents:
diff changeset
339 </tool>