annotate bcftools_mpileup.xml @ 9:ce9396ddcb2b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit d5a01866d60f9775392420988259f1e79c464163"
author iuc
date Thu, 14 Oct 2021 10:16:46 +0000
parents f65383c7ed49
children 6d7dc9a1bef3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
7
f65383c7ed49 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 8f3fe2272c80fdb749db49be689681e4d1391bee"
iuc
parents: 4
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@">
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
3 <description>Generate VCF or BCF containing genotype likelihoods for one or multiple alignment (BAM or CRAM) files</description>
9
ce9396ddcb2b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit d5a01866d60f9775392420988259f1e79c464163"
iuc
parents: 7
diff changeset
4 <expand macro="bio_tools" />
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
5 <macros>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
6 <token name="@EXECUTABLE@">mpileup</token>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
7 <import>macros.xml</import>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
8 <xml name="bam_flag_options">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
9 <option value="1">Read is paired</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
10 <option value="2">Read is mapped in a proper pair</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
11 <option value="4">The read is unmapped</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
12 <option value="8">The mate is unmapped</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
13 <option value="16">Read strand</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
14 <option value="32">Mate strand</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
15 <option value="64">Read is the first in a pair</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
16 <option value="128">Read is the second in a pair</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
17 <option value="256">The alignment or this read is not primary</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
18 <option value="512">The read fails platform/vendor quality checks</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
19 <option value="1024">The read is a PCR or optical duplicate</option>
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
20 </xml>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
21 </macros>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
22 <expand macro="requirements">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
23 <expand macro="samtools_requirement"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
24 </expand>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
25 <expand macro="version_command" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
26 <command detect_errors="aggressive"><![CDATA[
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
27 #import re
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
28 #set bam_list = []
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
29 #if $input.input_number == 'single':
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
30 #set $input_base = $re.sub('\W','_',$input.input_bam.display_name.replace('.bam','').replace('.cram',''))
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
31 #set $ext = 'bam'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
32 #set $idx_ext = 'bai'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
33 #if $input.input_bam.ext == 'cram':
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
34 #set $ext = 'cram'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
35 #set $idx_ext = 'crai'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
36 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
37 #set $input_name = $input_base + '.' + $ext
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
38 #silent $bam_list.append($input_name)
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
39 ln -s '${input.input_bam}' ${input_name} &&
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
40 #if $input.input_bam.ext == 'bam':
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
41 ln -s '${input.input_bam.metadata.bam_index}' ${input_name}.${idx_ext} &&
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
42 #else:
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
43 ln -s '${input.input_bam.metadata.cram_index}' ${input_name}.${idx_ext} &&
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
44 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
45 #else:
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
46 #for $bam_count, $input_bam in enumerate( $input.input_bams ):
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
47 #set $input_base = $re.sub('\W','_',$input_bam.display_name.replace('.bam','').replace('.cram',''))
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
48 #set $ext = 'bam'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
49 #set $idx_ext = 'bai'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
50 #if $input_bam.ext == 'cram':
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
51 #set $ext = 'cram'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
52 #set $idx_ext = 'crai'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
53 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
54 #set $input_name = $input_base + '.' + $ext
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
55 #silent $bam_list.append($input_name)
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
56 ln -s '${input_bam}' ${input_name} &&
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
57 ln -s '${input_bam.metadata.bam_index}' ${input_name}.${idx_ext} &&
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
58 #end for
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
59 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
60
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
61 #set $input_fa_ref = None
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
62 #if $reference_source.reference_source_selector == "history":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
63 #set $input_fa_ref = 'ref.fa'
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
64 ln -s '${reference_source.ref_file}' $input_fa_ref &&
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
65 samtools faidx $input_fa_ref &&
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
66 #elif $reference_source.reference_source_selector == "cached":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
67 #set $input_fa_ref = $reference_source.ref_file.fields.path
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
68 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
69
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
70 #set $section = $sec_restrict
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
71 @PREPARE_REGIONS_FILE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
72 @PREPARE_TARGETS_FILE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
73
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
74 bcftools @EXECUTABLE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
75
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
76 #if $input_fa_ref is not None:
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
77 --fasta-ref '$input_fa_ref'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
78 #else:
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
79 --non-reference
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
80 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
81
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
82 ## Indel Calling section
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
83 #set $section = $sec_indel
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
84 #if $section.perform_indel_calling.perform_indel_calling_selector == 'do_not_perform_indel_calling':
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
85 --skip-indels
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
86 #elif $section.perform_indel_calling.perform_indel_calling_selector == 'perform_indel_calling':
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
87 -o "${section.perform_indel_calling.gap_open_sequencing_error_probability}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
88 -e "${section.perform_indel_calling.gap_extension_sequencing_error_probability}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
89 -h "${section.perform_indel_calling.coefficient_for_modeling_homopolymer_errors}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
90 -L "${section.perform_indel_calling.skip_indel_calling_above_sample_depth}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
91 -m "${section.perform_indel_calling.minimum_gapped_reads_for_indel_candidates}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
92 --open-prob "${section.perform_indel_calling.open_seq_error_probability}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
93 -F "${section.perform_indel_calling.minimum_gapped_read_fraction}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
94 ${section.perform_indel_calling.gapped_read_per_sample}
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
95 #if len( $section.perform_indel_calling.platform_list_repeat ):
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
96 -P "${ ",".join( [ str( platform.platform_entry ) for platform in $section.perform_indel_calling.platform_list_repeat ] ) }"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
97 #end if
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
98 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
99
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
100 ## Filter section
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
101 #set $section = $sec_filtering
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
102 #if str( $section.filter_by_flags.filter_flags ) == "filter":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
103 #if $section.filter_by_flags.require_flags:
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
104 --rf ${sum([int(flag) for flag in str($section.filter_by_flags.require_flags).split(',')])}
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
105 #end if
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
106 #if $section.filter_by_flags.exclude_flags:
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
107 --ff ${sum([int(flag) for flag in str($section.filter_by_flags.exclude_flags).split(',')])}
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
108 #end if
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
109 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
110 -d "${section.max_reads_per_bam}"
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
111 ${section.skip_anomalous_read_pairs}
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
112 #if str( $section.quality.quality_settings ) == "adjust":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
113 $section.quality.baq
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
114 -q "${section.quality.minimum_mapping_quality}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
115 -Q "${section.quality.minimum_base_quality}"
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
116 -C "${section.quality.coefficient_for_downgrading}"
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
117 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
118 #if str( $section.read_groups.read_groups_selector ) == "ignore_rg":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
119 --ignore-RG
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
120 #elif str( $section.read_groups.read_groups_selector ) == "paste":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
121 -G "${section.read_groups.rg_action}${read_groups_file}"
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
122 #elif str( $section.read_groups.read_groups_selector ) == "history"
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
123 -G "${section.read_groups.rg_action}${section.read_groups.read_groups}"
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
124 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
125
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
126 #set $section = $sec_output_options
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
127 #if $section.output_tags:
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
128 --annotate "$section.output_tags"
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
129 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
130 #if $section.gvcf:
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
131 --gvcf "$section.gvcf"
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
132 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
133
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
134 ## Subset section
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
135 #set $section = $sec_subset
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
136 @SAMPLES@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
137
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
138 ## Restrict section
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
139 #set $section = $sec_restrict
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
140 @REGIONS@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
141 @TARGETS@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
142
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
143 @THREADS@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
144
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
145 @OUTPUT_TYPE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
146
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
147 ## Primary Input/Outputs
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
148 #echo ' '.join($bam_list)#
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
149 > '$output_file'
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
150 #if str( $sec_filtering.read_groups.read_groups_selector ) == "paste":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
151 && echo 'read-groups:'
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
152 && cat ${read_groups_file}
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
153 #end if
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
154 ]]></command>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
155 <configfiles>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
156 <configfile name="read_groups_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
157 <![CDATA[#slurp
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
158 #set pasted_data = ''
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
159 #set $section = $sec_filtering
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
160 #if str( $section.read_groups.read_groups_selector ) == "paste":
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
161 #set pasted_data = '\t'.join( str( $section.read_groups.group_paste).split() )
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
162 #end if
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
163 #slurp
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
164 ${pasted_data}
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
165 ]]>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
166 </configfile>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
167 </configfiles>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
168 <inputs>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
169
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
170 <conditional name="input">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
171 <param name="input_number" type="select" label="Alignment Inputs">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
172 <option value="single">Single BAM/CRAM</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
173 <option value="multiple">Multiple BAM/CRAMs</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
174 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
175 <when value="single">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
176 <param name="input_bam" type="data" format="bam,cram" label="Input BAM/CRAM" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
177 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
178 <when value="multiple">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
179 <param name="input_bams" type="data" format="bam,cram" multiple="true" label="Input BAM/CRAMs" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
180 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
181 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
182
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
183 <conditional name="reference_source">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
184 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
185 <option value="cached">Locally cached</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
186 <option value="history">History</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
187 <option value="none">No Reference</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
188 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
189 <when value="cached">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
190 <param name="ref_file" type="select" label="Select reference genome">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
191 <options from_data_table="fasta_indexes"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
192 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
193 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
194 <when value="history">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
195 <param name="ref_file" type="data" format="fasta" label="Genome Reference" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
196 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
197 <when value="none"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
198 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
199
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
200 <section name="sec_indel" expanded="false" title="Indel Calling">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
201 <conditional name="perform_indel_calling">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
202 <param name="perform_indel_calling_selector" type="select" label="Perform INDEL calling">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
203 <option selected="True" value="perform_indel_calling_def">Perform INDEL calling using default options</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
204 <option value="perform_indel_calling">Perform INDEL calling and set advanced options</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
205 <option value="do_not_perform_indel_calling">Do not perform INDEL calling</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
206 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
207 <when value="perform_indel_calling_def" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
208 <when value="perform_indel_calling">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
209 <param name="gap_open_sequencing_error_probability" type="integer" value="40" label="Phred-scaled gap open sequencing error probability" help="--open-prob; Reducing this value leads to more indel calls; default=40"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
210 <param name="gap_extension_sequencing_error_probability" type="integer" value="20" label="Phred-scaled gap extension sequencing error probability" help="--ext-prob; Reducing this value leads to longer indels. default=20"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
211 <param name="coefficient_for_modeling_homopolymer_errors" type="integer" value="100" label="Coefficient for modeling homopolymer errors." help="--tandem-qual; default=100"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
212 <param name="skip_indel_calling_above_sample_depth" type="integer" value="250" label="Skip INDEL calling if the average per-sample depth is above" help="--max-idepth; default=250"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
213 <param name="minimum_gapped_reads_for_indel_candidates" type="integer" value="1" label="Minimum gapped reads for indel candidates" help="--min-ireads; default=1"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
214 <param name="open_seq_error_probability" type="integer" value="40" label="Phred-scaled gap open sequencing error probability" help="--open-prob; Reducing this value leads to more indel calls; default=40"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
215 <param name="minimum_gapped_read_fraction" type="float" value="0.002" label="Minimum fraction of gapped reads" help="--gap-frac; default=0.002"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
216 <param name="gapped_read_per_sample" type="boolean" truevalue="-p" falsevalue="" checked="False" label="Apply --min-ireads and --gap-frac values on a per-sample basis" help="--per-sample-mF; by default both options are applied to reads pooled from all samples"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
217 <repeat name="platform_list_repeat" title="Platform for INDEL candidates">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
218 <param name="platform_entry" type="text" value="" label="Platform to use for INDEL candidates" help="It is recommended to collect indel candidates from sequencing technologies that have low indel error rate such as ILLUMINA"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
219 </repeat>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
220 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
221 <when value="do_not_perform_indel_calling" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
222 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
223 </section>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
224
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
225 <section name="sec_filtering" expanded="false" title="Input Filtering Options">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
226 <param name="max_reads_per_bam" type="integer" value="250" max="1024" min="1" label="Max reads per BAM" help="--max-depth; default=250"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
227 <param name="ignore_overlaps" type="boolean" truevalue="-x" falsevalue="" checked="False" label="Disable read-pair overlap detection" help="--ignore-overlaps"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
228 <param name="skip_anomalous_read_pairs" type="boolean" truevalue="-A" falsevalue="" checked="False" label="Do not skip anomalous read pairs in variant calling" help="--count-orphans"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
229 <conditional name="filter_by_flags">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
230 <param name="filter_flags" type="select" label="Set filter by flags">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
231 <option selected="True" value="nofilter">Do not filter</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
232 <option value="filter">Filter by flags to exclude or require</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
233 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
234 <when value="filter">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
235 <param name="require_flags" type="select" display="checkboxes" label="Require" multiple="True" help="--incl-flags">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
236 <expand macro="bam_flag_options" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
237 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
238 <param name="exclude_flags" type="select" display="checkboxes" label="Exclude" multiple="True" help="--excl-flags">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
239 <expand macro="bam_flag_options" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
240 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
241 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
242 <when value="nofilter" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
243 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
244 <conditional name="quality">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
245 <param label="Quality Options" name="quality_settings" type="select">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
246 <option value="none" selected="True">defaults</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
247 <option value="adjust">Set base and mapping quality options</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
248 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
249 <when value="adjust">
3
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
250 <param name="baq" type="select" label="per-Base Alignment Quality">
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
251 <help>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
252 --no-BAQ; BAQ is the Phred-scaled probability of a read base being misaligned. Applying this option greatly helps to reduce false SNPs caused by misalignments.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
253 --redo-BAQ; ignore existing BQ tags
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
254 </help>
3
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
255 <option value="">Default</option>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
256 <option value="--no-BAQ">disable BAQ (per-Base Alignment Quality) (no-BAQ)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
257 <option value="--redo-BAQ">recalculate BAQ on the fly, ignore existing BQs (redo-BAQ)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
258 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
259 <param name="coefficient_for_downgrading" type="integer" value="0" label="Coefficient for downgrading mapping quality for reads containing excessive mismatches" help="--adjust-MQ; Given a read with a phred-scaled probability q of being generated from the mapped position, the new mapping quality is about sqrt((INT-q)/INT)*INT. A zero value disables this functionality; if enabled, the recommended value for BWA is 50. default=0"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
260 <param label="Minimum mapping quality for an alignment to be used" name="minimum_mapping_quality" type="integer" value="0" help="-min-MQ; default=0"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
261 <param name="minimum_base_quality" type="integer" value="13" label="Minimum base quality for a base to be considered" help="--min-BQ; default=13"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
262 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
263 <when value="none"/>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
264 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
265
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
266 <conditional name="read_groups">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
267 <param name="read_groups_selector" type="select" label="Select read groups to include or exclude" help="--read-groups">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
268 <option value="no_limit" selected="True">use defaults</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
269 <option value="history">From an uploaded text file</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
270 <option value="paste">Paste a list of read groups</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
271 <option value="ignore_rg">Ignore RG tags. Treat all reads in one alignment file as one sample. </option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
272 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
273 <when value="history">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
274 <param name="read_groups" format="txt" label="Text file" type="data">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
275 <validator type="dataset_ok_validator" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
276 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
277 <param name="rg_action" type="select" label="Include or Exclude these Read Groups">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
278 <option value="" selected="true">Include</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
279 <option value="^">Exclude</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
280 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
281 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
282 <when value="paste">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
283 <param name="group_paste" type="text" size="10x35" area="true" label="Read groups" help="Paste a list of read groups" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
284 <param name="rg_action" type="select" label="Include or Exclude these Read Groups">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
285 <option value="" selected="true">Include</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
286 <option value="^">Exclude</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
287 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
288 </when>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
289 <when value="ignore_rg" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
290 <when value="no_limit" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
291 </conditional>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
292 </section>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
293
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
294 <section name="sec_restrict" expanded="false" title="Restrict to">
4
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
295 <expand macro="macro_restrict" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
296 <expand macro="macro_restrict" type="target" label_type="Target">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
297 <expand macro="macro_invert_targets" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
298 </expand>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
299 </section>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
300 <section name="sec_subset" expanded="false" title="Subset Options">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
301 <expand macro="macro_samples" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
302 </section>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
303
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
304 <section name="sec_output_options" expanded="false" title="Output options">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
305 <param name="output_tags" optional="True" type="select" multiple="True" display="checkboxes" label="Optional tags to output" help="--output-tags">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
306 <option value="DP">DP (Number of high-quality bases)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
307 <option value="AD">AD (Allelic depth)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
308 <option value="ADF">ADF (Allelic depth on the forward strand)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
309 <option value="ADR">ADR (Allelic depth on the reverse strand)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
310 <option value="INFO/AD">INFO/AD (Allelic depth)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
311 <option value="INFO/ADF">INFO/ADF (Allelic depth on the forward strand)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
312 <option value="INFO/ADR">INFO/ADR (Allelic depth on the reverse strand)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
313 <option value="SP">SP (Phred-scaled strand bias P-value)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
314 <option value="DV">DV (Number of high-quality non-reference bases)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
315 <option value="DP4">DP4 (Number of high-quality ref-forward, ref-reverse, alt-forward and alt-reverse bases)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
316 <option value="DPR">DRP (Number of high-quality bases for each observed allele)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
317 <option value="INFO/DPR">INFO/DPR (Number of high-quality bases for each observed allele)</option>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
318 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
319 <param name="gvcf" type="text" value="" label="gVCF blocks of homozygous REF calls">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
320 <help>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
321 output gVCF blocks of homozygous REF calls, with depth (DP) ranges specified by the list of integers. For example, passing 5,15 will group sites into two types of gVCF blocks, the first with minimum per-sample DP from the interval [5,15) and the latter with minimum depth 15 or more. In this example, sites with minimum per-sample depth less than 5 will be printed as separate records, outside of gVCF blocks.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
322 </help>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
323 <validator type="regex" message="integers separated by commas">^(\d+(,\d+)*)?$</validator>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
324 </param>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
325 </section>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
326
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
327 <expand macro="macro_select_output_type" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
328
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
329 </inputs>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
330 <outputs>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
331 <expand macro="macro_vcf_output" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
332 </outputs>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
333 <tests>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
334 <test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
335 <param name="input_number" value="single" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
336 <param name="input_bam" ftype="bam" value="mpileup.1.bam" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
337 <param name="reference_source_selector" value="history" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
338 <param name="ref_file" ftype="fasta" value="mpileup.ref.fa" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
339 <param name="output_type" value="v" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
340 <output name="output_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
341 <assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
342 <has_text text="mpileup" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
343 <has_text text="HG00100" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
344 <has_text_matching expression="17\t1\t.\tA\t...\t0\t.\tDP=5;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
345 <has_text_matching expression="17\t100\t.\tC\t...\t0\t.\tDP=9;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
346 </assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
347 </output>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
348 </test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
349 <test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
350 <param name="input_number" value="single" />
3
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
351 <param name="input_bam" ftype="bam" value="mpileup.1.bam" />
4
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
352 <param name="reference_source_selector" value="cached" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
353 <param name="ref_file" value="mpileup" />
3
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
354 <param name="quality_settings" value="adjust" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
355 <param name="output_type" value="v" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
356 <output name="output_file">
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
357 <assert_contents>
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
358 <has_text text="mpileup" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
359 <has_text text="HG00100" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
360 <has_text_matching expression="17\t1\t.\tA\t...\t0\t.\tDP=5;" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
361 <has_text_matching expression="17\t100\t.\tC\t...\t0\t.\tDP=9;" />
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
362 </assert_contents>
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
363 </output>
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
364 </test>
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
365 <test>
4e1d23e5c691 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 4392ebd727149932e9034f91a21ff520c486052a
iuc
parents: 2
diff changeset
366 <param name="input_number" value="single" />
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
367 <param name="input_bam" ftype="cram" value="mpileup.3.cram" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
368 <param name="reference_source_selector" value="history" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
369 <param name="ref_file" ftype="fasta" value="mpileup.ref.fa" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
370 <param name="output_type" value="v" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
371 <output name="output_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
372 <assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
373 <has_text text="mpileup" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
374 <has_text text="HG00102" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
375 <has_text_matching expression="17\t100\t.\tC\t...\t0\t.\tDP=5;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
376 </assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
377 </output>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
378 </test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
379 <test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
380 <param name="input_number" value="multiple" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
381 <param name="input_bams" ftype="bam" value="mpileup.1.bam,mpileup.2.bam,mpileup.3.bam" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
382 <param name="reference_source_selector" value="history" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
383 <param name="ref_file" ftype="fasta" value="mpileup.ref.fa" />
4
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
384 <section name="sec_restrict">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
385 <conditional name="regions">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
386 <param name="regions_src" value="regions" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
387 <repeat name="regions">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
388 <param name="chrom" value="17" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
389 <param name="start" value="100" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
390 <param name="stop" value="110" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
391 </repeat>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
392 </conditional>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
393 </section>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
394 <param name="output_tags" value="DP,INFO/AD,DV" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
395 <param name="output_type" value="v" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
396 <output name="output_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
397 <assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
398 <has_text text="mpileup" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
399 <has_text text="HG00100" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
400 <has_text text="HG00101" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
401 <has_text text="HG00102" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
402 <has_text text="ID=DP," />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
403 <not_has_text text="17\t111" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
404 <has_text_matching expression="17\t100\t.\tC\t...\t0\t.\tDP=18;AD=17,0;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
405 </assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
406 </output>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
407 </test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
408 <test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
409 <param name="input_number" value="multiple" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
410 <param name="input_bams" ftype="bam" value="mpileup.1.bam,mpileup.2.bam,mpileup.3.bam" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
411 <param name="reference_source_selector" value="history" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
412 <param name="ref_file" ftype="fasta" value="mpileup.ref.fa" />
4
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
413 <section name="sec_restrict">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
414 <conditional name="targets">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
415 <param name="targets_src" value="targets" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
416 <repeat name="targets">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
417 <param name="chrom" value="17" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
418 <param name="start" value="100" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
419 <param name="stop" value="104" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
420 </repeat>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
421 </conditional>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
422 </section>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
423 <param name="output_tags" value="DP,INFO/AD,DV" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
424 <param name="output_type" value="v" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
425 <output name="output_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
426 <assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
427 <has_text text="mpileup" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
428 <has_text text="HG00100" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
429 <has_text text="HG00101" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
430 <has_text text="HG00102" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
431 <has_text text="ID=DP," />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
432 <not_has_text text="17\t105" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
433 <has_text_matching expression="17\t100\t.\tC\t...\t0\t.\tDP=18;AD=17,0;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
434 </assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
435 </output>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
436 </test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
437 <test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
438 <param name="input_number" value="multiple" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
439 <param name="input_bams" ftype="bam" value="mpileup.1.bam,mpileup.2.bam,mpileup.3.bam" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
440 <param name="reference_source_selector" value="history" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
441 <param name="ref_file" ftype="fasta" value="mpileup.ref.fa" />
4
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
442 <section name="sec_restrict">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
443 <conditional name="regions">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
444 <param name="regions_src" value="regions" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
445 <repeat name="regions">
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
446 <param name="chrom" value="17" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
447 <param name="start" value="1050" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
448 <param name="stop" value="1060" />
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
449 </repeat>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
450 </conditional>
256e65e460b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 3
diff changeset
451 </section>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
452 <param name="filter_flags" value="filter" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
453 <param name="exclude_flags" value="4,16" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
454 <param name="output_type" value="v" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
455 <output name="output_file">
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
456 <assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
457 <has_text text="mpileup" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
458 <has_text text="HG00100" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
459 <has_text_matching expression="17\t1050\t.\tA\t...\t0\t.\tDP=12;" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
460 </assert_contents>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
461 </output>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
462 </test>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
463 </tests>
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
464 <help><![CDATA[
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
465 =====================================
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
466 bcftools @EXECUTABLE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
467 =====================================
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
468
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
469 Haplotype aware consequence predictor which correctly handles combined variants such as MNPs split over multiple VCF records, SNPs separated by an intron (but adjacent in the spliced transcript) or nearby frame-shifting indels which in combination in fact are not frame-shifting.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
470
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
471 The output VCF is annotated with INFO/BCSQ and FORMAT/BCSQ tag (configurable with the -c option). The latter is a bitmask of indexes to INFO/BCSQ, with interleaved haplotypes. See the usage examples below for using the %TBCSQ converter in query for extracting a more human readable form from this bitmask. The contruction of the bitmask limits the number of consequences that can be referenced in the FORMAT/BCSQ tags. By default this is 16, but if more are required, see the --ncsq option.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
472
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
473 The program requires on input a VCF/BCF file, the reference genome in fasta format (--fasta-ref) and genomic features in the GFF3 format downloadable from the Ensembl website (--gff-annot), and outputs an annotated VCF/BCF file. Currently, only Ensembl GFF3 files are supported.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
474
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
475 By default, the input VCF should be phased. If phase is unknown, or only partially known, the --phase option can be used to indicate how to handle unphased data. Alternatively, haplotype aware calling can be turned off with the --local-csq option.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
476
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
477 If conflicting (overlapping) variants within one haplotype are detected, a warning will be emitted and predictions will be based on only the first variant in the analysis.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
478
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
479 Symbolic alleles are not supported. They will remain unannotated in the output VCF and are ignored for the prediction analysis.
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
480
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
481
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
482 @REGIONS_HELP@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
483 @TARGETS_HELP@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
484
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
485 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
486
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
487 @BCFTOOLS_WIKI@
2
cf06b44624c7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 0
diff changeset
488 ]]></help>
0
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
489 <expand macro="citations" />
12f7c5315f7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents:
diff changeset
490 </tool>