annotate samtools_mpileup.xml @ 8:583abf29fc8e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
author iuc
date Tue, 09 May 2017 11:17:20 -0400
parents bfc4517aa037
children fa7ad9b89f4a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
1 <tool id="samtools_mpileup" name="MPileup" version="2.1.3">
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
2 <description>multi-way pileup of variants</description>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
3 <macros>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
4 <import>macros.xml</import>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
5 </macros>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
6 <expand macro="requirements" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
7 <expand macro="stdio" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
8 <expand macro="version_command" />
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
9 <command><![CDATA[
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
10 #for $bam_count, $input_bam in enumerate( $reference_source.input_bam ):
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
11 ln -s '${input_bam}' 'localbam_${bam_count}.bam' &&
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
12 ln -s '${input_bam.metadata.bam_index}' 'localbam_${bam_count}.bam.bai' &&
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
13 #end for
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
14
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
15 #if $reference_source.reference_source_selector == "history":
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
16 ln -s '${reference_source.ref_file}' &&
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
17 samtools faidx `basename '${reference_source.ref_file}'` &&
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
18 #end if
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
19
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
20 samtools mpileup
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
21 #if $reference_source.reference_source_selector != "history":
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
22 -f '${reference_source.ref_file.fields.path}'
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
23 #else:
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
24 -f '${reference_source.ref_file}'
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
25 #end if
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
26 #for $bam_count, $input_bam in enumerate( $reference_source.input_bam ):
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
27 localbam_${bam_count}.bam
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
28 #end for
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
29 #if str( $advanced_options.advanced_options_selector ) == "advanced":
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
30 #if str( $advanced_options.filter_by_flags.filter_flags ) == "filter":
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
31 #if $advanced_options.filter_by_flags.require_flags:
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
32 --rf ${sum([int(flag) for flag in str($advanced_options.filter_by_flags.require_flags).split(',')])}
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
33 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
34 #if $advanced_options.filter_by_flags.exclude_flags:
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
35 --ff ${sum([int(flag) for flag in str($advanced_options.filter_by_flags.exclude_flags).split(',')])}
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
36 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
37 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
38 #if str( $advanced_options.limit_by_region.limit_by_regions ) == "paste":
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
39 -l '$pasted_regions'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
40 #elif str( $advanced_options.limit_by_region.limit_by_regions ) == "history"
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
41 -l '$advanced_options.limit_by_region.bed_regions'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
42 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
43 #if str( $advanced_options.exclude_read_group.exclude_read_groups ) == "paste":
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
44 -G '$excluded_read_groups'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
45 #elif str( $advanced_options.exclude_read_group.exclude_read_groups ) == "history"
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
46 -G '$advanced_options.exclude_read_group.read_groups'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
47 #end if
5
aa0ef6f0ee89 planemo upload commit 7d9b478cd03f31705266596fe4c168e719c672b6
devteam
parents: 4
diff changeset
48 ${advanced_options.skip_anomalous_read_pairs}
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
49 ${advanced_options.disable_probabilistic_realignment}
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
50 -C ${advanced_options.coefficient_for_downgrading}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
51 -d ${advanced_options.max_reads_per_bam}
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
52 ${advanced_options.extended_BAQ_computation}
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
53 -q ${advanced_options.minimum_mapping_quality}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
54 -Q ${advanced_options.minimum_base_quality}
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
55 #if str( $advanced_options.region_string ):
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
56 -r '${advanced_options.region_string}'
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
57 #end if
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
58 #end if
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
59 #if str( $genotype_likelihood_computation_type.genotype_likelihood_computation_type_selector ) == 'perform_genotype_likelihood_computation':
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
60 ${genotype_likelihood_computation_type.output_format}
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
61 ${genotype_likelihood_computation_type.compressed}
7
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
62
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
63 #if str( $genotype_likelihood_computation_type.output_tags ) != "None":
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
64 --output-tags '${genotype_likelihood_computation_type.output_tags}'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
65 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
66
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
67 #if str( $genotype_likelihood_computation_type.perform_indel_calling.perform_indel_calling_selector ) == 'perform_indel_calling':
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
68 --open-prob ${genotype_likelihood_computation_type.perform_indel_calling.gap_open_sequencing_error_probability}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
69 -e ${genotype_likelihood_computation_type.perform_indel_calling.gap_extension_sequencing_error_probability}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
70 -h ${genotype_likelihood_computation_type.perform_indel_calling.coefficient_for_modeling_homopolymer_errors}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
71 -L ${genotype_likelihood_computation_type.perform_indel_calling.skip_indel_calling_above_sample_depth}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
72 -m ${genotype_likelihood_computation_type.perform_indel_calling.minimum_gapped_reads_for_indel_candidates}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
73 -F ${genotype_likelihood_computation_type.perform_indel_calling.minimum_gapped_read_fraction}
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
74 ${genotype_likelihood_computation_type.perform_indel_calling.gapped_read_per_sample}
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
75 #if len( $genotype_likelihood_computation_type.perform_indel_calling.platform_list_repeat ):
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
76 -P '${ ",".join( str( platform.platform_entry ) for platform in $genotype_likelihood_computation_type.perform_indel_calling.platform_list_repeat ) }'
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
77 #end if
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
78 #elif str( $genotype_likelihood_computation_type.perform_indel_calling.perform_indel_calling_selector ) == 'do_not_perform_indel_calling':
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
79 -I
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
80 #end if
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
81 #else:
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
82 ${genotype_likelihood_computation_type.base_position_on_reads}
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
83 ${genotype_likelihood_computation_type.output_mapping_quality}
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
84 #end if
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
85 --output '$output_mpileup'
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
86 ]]></command>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
87
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
88 <configfiles>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
89 <configfile name="excluded_read_groups"><![CDATA[
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
90 #set pasted_data = ''
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
91 #if str( $advanced_options.advanced_options_selector ) == "advanced":
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
92 #if str( $advanced_options.exclude_read_group.exclude_read_groups ) == "paste":
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
93 #set pasted_data = '\t'.join( str( $advanced_options.exclude_read_group['read_groups'] ).split() )
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
94 #end if
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
95 #end if
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
96 ${pasted_data}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
97 ]]></configfile>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
98 <configfile name="pasted_regions"><![CDATA[
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
99 #set pasted_data = ''
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
100 #if str( $advanced_options.advanced_options_selector ) == "advanced":
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
101 #if str( $advanced_options.limit_by_region.limit_by_regions ) == "paste":
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
102 #set pasted_data = '\t'.join( str( $advanced_options.limit_by_region['region_paste'] ).split() )
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
103 #end if
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
104 #end if
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
105 ${pasted_data}
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
106 ]]></configfile>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
107 </configfiles>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
108
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
109 <inputs>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
110 <conditional name="reference_source">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
111 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
112 <option value="cached">Use a built-in genome</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
113 <option value="history">Use a genome from the history</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
114 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
115 <when value="cached">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
116 <param name="input_bam" type="data" format="bam" multiple="True" min="1" label="BAM file(s)">
7
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
117 <validator type="unspecified_build" />
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
118 <validator message="Sequences are not currently available for the specified build." metadata_column="1" metadata_name="dbkey" table_name="fasta_indexes" type="dataset_metadata_in_data_table" />
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
119 </param>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
120 <param name="ref_file" type="select" label="Using reference genome">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
121 <options from_data_table="fasta_indexes" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
122 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
123 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
124 <when value="history">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
125 <param name="input_bam" type="data" format="bam" multiple="True" min="1" label="BAM file(s)">
7
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
126 <validator check="bam_index" message="Metadata missing, click the pencil icon in the history item and use the auto-detect feature to correct this issue." type="metadata" />
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
127 </param>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
128 <param name="ref_file" type="data" format="fasta" label="Using reference genome" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
129 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
130 </conditional>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
131 <conditional name="genotype_likelihood_computation_type">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
132 <param name="genotype_likelihood_computation_type_selector" type="select" label="Genotype Likelihood Computation">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
133 <option selected="True" value="perform_genotype_likelihood_computation">Perform genotype likelihood computation (--VCF, --BCF options)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
134 <option value="do_not_perform_genotype_likelihood_computation">Do not perform genotype likelihood computation (output pileup)</option>
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
135 </param>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
136 <when value="perform_genotype_likelihood_computation">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
137 <param name="output_format" type="select" label="Choose the output format">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
138 <option value="--VCF">VCF</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
139 <option value="--BCF">BCF</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
140 </param>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
141 <param name="compressed" argument="--uncompressed" type="boolean" truevalue="" falsevalue="--uncompressed" checked="False" label="Compress output" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
142 <param name="output_tags" argument="--output-tags" type="select" optional="True" multiple="True" display="checkboxes" label="Optional tags to output">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
143 <option value="DP">DP (Number of high-quality bases)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
144 <option value="DPR">DRP (Number of high-quality bases for each observed allele)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
145 <option value="DV">DV (Number of high-quality non-reference bases)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
146 <option value="DP4">DP4 (Number of high-quality ref-forward, ref-reverse, alt-forward and alt-reverse bases)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
147 <option value="INFO/DPR">INFO/DPR (Number of high-quality bases for each observed allele)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
148 <option value="SP">SP (Phred-scaled strand bias P-value)</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
149 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
150 <conditional name="perform_indel_calling">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
151 <param name="perform_indel_calling_selector" type="select" label="Perform INDEL calling">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
152 <option selected="True" value="perform_indel_calling_def">Perform INDEL calling using default options</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
153 <option value="perform_indel_calling">Perform INDEL calling and set advanced options</option>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
154 <option value="do_not_perform_indel_calling">Do not perform INDEL calling (-I)</option>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
155 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
156 <when value="perform_indel_calling_def" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
157 <when value="perform_indel_calling">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
158 <param name="gap_open_sequencing_error_probability" argument="--open-prob" type="integer" value="40" label="Phred-scaled gap open sequencing error probability" help="Reducing this value leads to more indel calls" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
159 <param name="gap_extension_sequencing_error_probability" argument="--ext-prob" type="integer" value="20" label="Phred-scaled gap extension sequencing error probability" help="Reducing this value leads to longer indels" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
160 <param name="coefficient_for_modeling_homopolymer_errors" argument="--tandem-qual" type="integer" value="100" label="Coefficient for modeling homopolymer errors" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
161 <param name="skip_indel_calling_above_sample_depth" argument="--max-idepth" type="integer" value="250" label="Skip INDEL calling if the average per-sample depth is above" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
162 <param name="minimum_gapped_reads_for_indel_candidates" argument="--min-ireads" type="integer" value="1" label="Minimum gapped reads for indel candidates" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
163 <param name="minimum_gapped_read_fraction" argument="--gap-frac" type="float" value="0.002" label="Minimum fraction of gapped reads" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
164 <param name="gapped_read_per_sample" argument="--per-sample-mF" type="boolean" truevalue="-p" falsevalue="" checked="False" label="Apply --min-ireads and --gap-frac values on a per-sample basis" help="By default both options are applied to reads pooled from all samples"/>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
165 <repeat name="platform_list_repeat" title="Platform for INDEL candidates" help="--platforms">
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
166 <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"/>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
167 </repeat>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
168 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
169 <when value="do_not_perform_indel_calling" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
170 </conditional>
7
bfc4517aa037 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_mpileup commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 6
diff changeset
171
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
172 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
173 <when value="do_not_perform_genotype_likelihood_computation">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
174 <param name="base_position_on_reads" argument="--output-BP" type="boolean" truevalue="-O" falsevalue="" checked="False" label="Output base positions on reads" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
175 <param name="output_mapping_quality" argument="--output-MQ" type="boolean" truevalue="-s" falsevalue="" checked="False" label="Output mapping quality" />
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
176 </when>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
177 </conditional>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
178 <conditional name="advanced_options">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
179 <param name="advanced_options_selector" type="select" label="Set advanced options">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
180 <option selected="True" value="basic">Basic</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
181 <option value="advanced">Advanced</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
182 </param>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
183 <when value="basic" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
184 <when value="advanced">
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
185 <conditional name="filter_by_flags">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
186 <param name="filter_flags" type="select" label="Set filter by flags">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
187 <option selected="True" value="nofilter">Do not filter</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
188 <option value="filter">Filter by flags to exclude or require</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
189 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
190 <when value="filter">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
191 <param name="require_flags" argument="--incl-flags" type="select" multiple="True" display="checkboxes" label="Require">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
192 <option value="1">Read is paired</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
193 <option value="2">Read is mapped in a proper pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
194 <option value="4">The read is unmapped</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
195 <option value="8">The mate is unmapped</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
196 <option value="16">Read strand</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
197 <option value="32">Mate strand</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
198 <option value="64">Read is the first in a pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
199 <option value="128">Read is the second in a pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
200 <option value="256">The alignment or this read is not primary</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
201 <option value="512">The read fails platform/vendor quality checks</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
202 <option value="1024">The read is a PCR or optical duplicate</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
203 </param>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
204 <param name="exclude_flags" argument="--excl-flags" type="select" multiple="True" display="checkboxes" label="Exclude">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
205 <option value="1">Read is paired</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
206 <option value="2">Read is mapped in a proper pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
207 <option value="4">The read is unmapped</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
208 <option value="8">The mate is unmapped</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
209 <option value="16">Read strand</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
210 <option value="32">Mate strand</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
211 <option value="64">Read is the first in a pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
212 <option value="128">Read is the second in a pair</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
213 <option value="256">The alignment or this read is not primary</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
214 <option value="512">The read fails platform/vendor quality checks</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
215 <option value="1024">The read is a PCR or optical duplicate</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
216 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
217 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
218 <when value="nofilter" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
219 </conditional>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
220 <conditional name="limit_by_region">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
221 <param name="limit_by_regions" argument="--positions" type="select" label="Select regions to call">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
222 <option selected="True" value="no_limit">Do not limit</option>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
223 <option value="history">From a BED file</option>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
224 <option value="paste">Paste a list of regions or BED</option>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
225 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
226 <when value="history">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
227 <param name="bed_regions" type="data" format="bed" label="BED file">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
228 <validator type="dataset_ok_validator" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
229 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
230 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
231 <when value="paste">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
232 <param name="region_paste" type="text" area="true" size="10x35" label="Regions" help="Paste a list of regions in BED format or as a list of chromosomes and positions" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
233 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
234 <when value="no_limit" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
235 </conditional>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
236 <conditional name="exclude_read_group">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
237 <param name="exclude_read_groups" argument="--exclude-RG" type="select" label="Select read groups to exclude">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
238 <option selected="True" value="no_limit">Do not exclude</option>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
239 <option value="history">From a text file</option>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
240 <option value="paste">Paste a list of read groups</option>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
241 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
242 <when value="history">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
243 <param name="read_groups" type="data" format="txt" label="Text file">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
244 <validator type="dataset_ok_validator" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
245 </param>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
246 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
247 <when value="paste">
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
248 <param name="group_paste" type="text" area="true" size="10x35" label="Read groups" help="Paste a list of read groups" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
249 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
250 <when value="no_limit" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
251 </conditional>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
252 <param name="ignore_overlaps" argument="--ignore-overlaps" type="boolean" truevalue="-x" falsevalue="" checked="False" label="Disable read-pair overlap detection" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
253 <param name="skip_anomalous_read_pairs" argument="--count-orphans" type="boolean" truevalue="-A" falsevalue="" checked="False" label="Do not skip anomalous read pairs in variant calling" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
254 <param name="disable_probabilistic_realignment" argument="--no-BAQ" type="boolean" truevalue="-B" falsevalue="" checked="False" label="Disable probabilistic realignment for the computation of base alignment quality (BAQ)" help="BAQ is the Phred-scaled probability of a read base being misaligned. Applying this option greatly helps to reduce false SNPs caused by misalignments" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
255 <param name="coefficient_for_downgrading" argument="--adjust-MQ" type="integer" value="0" label="Coefficient for downgrading mapping quality for reads containing excessive mismatches" help="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" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
256 <param name="max_reads_per_bam" argument="--max-depth" type="integer" max="1024" min="1" value="250" label="Max reads per BAM" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
257 <param name="extended_BAQ_computation" argument="--redo-BAQ" type="boolean" truevalue="-E" falsevalue="" checked="False" label="Redo BAQ computation" help="Ignore existing BQ tags" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
258 <param name="minimum_mapping_quality" argument="--min-MQ" type="integer" value="0" label="Minimum mapping quality for an alignment to be used" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
259 <param name="minimum_base_quality" argument="--min-BQ" type="integer" value="13" label="Minimum base quality for a base to be considered" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
260 <param name="region_string" argument="--region" type="text" value="" label="Only generate pileup in region" help="If used in conjunction with --positions, then considers the intersection of the two requests. Defaults to all sites" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
261 </when>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
262 </conditional>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
263 </inputs>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
264 <outputs>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
265 <data name="output_mpileup" format="pileup" label="${tool.name} on ${on_string}">
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
266 <change_format>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
267 <when format="bcf" input="genotype_likelihood_computation_type.output_format" value="--BCF" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
268 <when format="vcf" input="genotype_likelihood_computation_type.output_format" value="--VCF" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
269 </change_format>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
270 </data>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
271 </outputs>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
272 <tests>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
273 <test>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
274 <param name="reference_source_selector" value="history" />
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
275 <param name="ref_file" ftype="fasta" value="phiX.fasta" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
276 <param name="input_bam" ftype="bam" value="samtools_mpileup_in_1.bam" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
277 <param name="genotype_likelihood_computation_type_selector" value="do_not_perform_genotype_likelihood_computation" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
278 <param name="advanced_options_selector" value="basic" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
279 <param name="base_position_on_reads" value="true" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
280 <param name="output_mapping_quality" value="true" />
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
281 <output name="output_mpileup" file="samtools_mpileup_out_1.pileup" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
282 </test>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
283 <test>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
284 <param name="reference_source_selector" value="history" />
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
285 <param name="ref_file" ftype="fasta" value="phiX.fasta" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
286 <param name="input_bam" ftype="bam" value="phiX.bam" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
287 <param name="genotype_likelihood_computation_type_selector" value="perform_genotype_likelihood_computation" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
288 <param name="gap_extension_sequencing_error_probability" value="20" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
289 <param name="coefficient_for_modeling_homopolymer_errors" value="100" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
290 <param name="perform_indel_calling_selector" value="perform_indel_calling" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
291 <param name="skip_indel_calling_above_sample_depth" value="250" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
292 <param name="gap_open_sequencing_error_probability" value="40" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
293 <param name="platform_list_repeat" value="0" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
294 <param name="advanced_options_selector" value="basic" />
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
295 <param name="genotype_likelihood_computation_type|output_format" value="VCF" />
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
296 <output name="output_mpileup" file="samtools_mpileup_out_2.vcf" ftype="vcf" lines_diff="8" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
297 </test>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
298 <test>
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
299 <param name="reference_source_selector" value="history" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
300 <param name="ref_file" ftype="fasta" value="phiX.fasta" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
301 <param name="input_bam" ftype="bam" value="samtools_mpileup_in_1.bam" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
302 <param name="genotype_likelihood_computation_type_selector" value="do_not_perform_genotype_likelihood_computation" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
303 <param name="advanced_options_selector" value="advanced" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
304 <param name="minimum_base_quality" value="0" /><!-- most reads have ultra low quality resuling in empty columns -->
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
305 <param name="base_position_on_reads" value="true" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
306 <param name="output_mapping_quality" value="true" />
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
307 <output name="output_mpileup" file="samtools_mpileup_out_3.pileup" />
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
308 </test>
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
309 </tests>
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
310 <help><![CDATA[
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
311 **What it does**
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
312
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
313 Report variants for one or multiple BAM files. Alignment records are grouped by sample identifiers in @RG header lines.
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
314 If sample identifiers are absent, each input file is regarded as one sample.
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
315
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
316 **Notes**: Assuming diploid individuals.
8
583abf29fc8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_mpileup commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 7
diff changeset
317 ]]></help>
4
c6fdfe3331d6 Uploaded
devteam
parents: 3
diff changeset
318 <expand macro="citations" />
0
44a18a94d7a9 Uploaded tool tarball.
devteam
parents:
diff changeset
319 </tool>