annotate snp_caller_caller.xml @ 0:aa82b2e54055 draft

planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
author wolma
date Sat, 11 Nov 2017 18:19:22 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
1 <tool id="mimodd_varcall" name="MiModD Variant Calling"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
2 version="@MIMODD_WRAPPER_VERSION@">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
3 <description>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
4 generates a BCF file of position-specific variant likelihoods and coverage information based on a reference sequence and reads aligned against it
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
5 </description>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
6 <macros>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
7 <import>macros.xml</import>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
8 <macro name="test_mentions_samples">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
9 <assert_stdout>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
10 <has_text_matching expression="000.+N2" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
11 <has_text_matching expression="266-1.+ot266" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
12 </assert_stdout>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
13 </macro>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
14 </macros>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
15 <expand macro="requirements" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
16 <expand macro="stdio" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
17 <expand macro="version_command" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
18 <command><![CDATA[
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
19 mimodd varcall
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
20 #if str($reference.source) == "cached":
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
21 '$reference.genome.fields.path'
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
22 #else:
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
23 '$reference.genome'
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
24 #end if
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
25 #for $input_file in $list_input
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
26 '$input_file'
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
27 #end for
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
28 --index-files
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
29 #for $input_file in $list_input
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
30 '${input_file.metadata.bam_index}'
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
31 #end for
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
32 --ofile '$ofile'
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
33 $group_by_id
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
34 $adv_settings.md5_check
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
35 --max-depth $adv_settings.max_depth
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
36 --verbose
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
37 --quiet
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
38 ]]></command>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
39
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
40 <inputs>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
41 <conditional name="reference">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
42 <param name="source" type="select"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
43 label="Will you select a reference genome from your history or use a built-in genome?">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
44 <option value="cached">Use a built-in genome</option>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
45 <option value="history">Use a genome from my history</option>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
46 </param>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
47 <when value="cached">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
48 <param name="genome" type="select"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
49 label="reference genome"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
50 help="The fasta reference genome that variants should be called against.">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
51 <options from_data_table="all_fasta" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
52 </param>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
53 </when>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
54 <when value="history">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
55 <param name="genome" type="data" format="fasta"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
56 label="reference genome"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
57 help="The fasta reference genome that variants should be called against."/>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
58 </when>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
59 </conditional>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
60 <param name="list_input" type="data" multiple="true" format="bam"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
61 label="Aligned reads input dataset(s)"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
62 help="Select at least one dataset to call variants on. If you select several datasets or a dataset collection, this tool will perform joint variant calling on all of them and produce a single, possibly multisample, output dataset." />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
63 <param name="group_by_id" type="boolean" truevalue="-i" falsevalue="" checked="false"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
64 label="group reads based on read group id only"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
65 help="If selected, this option ensures that only the read group id (but not the sample name) is considered in grouping reads in the input file(s). If turned off, read groups with identical sample names are automatically pooled and analyzed together even if they come from different NGS runs." />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
66 <section name="adv_settings" title="More options" expanded="False">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
67 <param name="md5_check" type="boolean" truevalue="" falsevalue="-x" checked="true"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
68 label="md5 sum verification of contigs/chromosomes"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
69 help="leave turned on to avoid accidental variant calling against a wrong reference genome version (see the tool help below)." />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
70 <param name="max_depth" type="integer" value="250" min="0"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
71 label="average sample depth cap limit (default: 250)"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
72 help="only relevant for very large sample numbers and/or very high sample coverage; increase to use more of the data, decrease to save memory"/>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
73 </section>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
74 </inputs>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
75
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
76 <outputs>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
77 <data name="ofile" format="bcf"
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
78 label="Variant Calls from MiModd Variant Calling on ${on_string}">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
79 <actions>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
80 <conditional name="reference.source">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
81 <when value="cached">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
82 <action type="metadata" name="dbkey">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
83 <option type="from_data_table" name="all_fasta" column="1" offset="0">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
84 <filter type="param_value" ref="reference.genome" column="0" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
85 </option>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
86 </action>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
87 </when>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
88 </conditional>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
89 </actions>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
90 </data>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
91 </outputs>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
92
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
93 <tests>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
94 <test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
95 <conditional name="reference">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
96 <param name="source" value="history" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
97 <param name="genome" value="a.fa" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
98 </conditional>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
99 <param name="list_input" value="a.bam" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
100 <expand macro="test_mentions_samples" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
101 </test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
102 <test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
103 <conditional name="reference">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
104 <param name="source" value="history" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
105 <param name="genome" value="a.fa" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
106 </conditional>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
107 <param name="list_input" value="a_part1.bam,a_part2.bam" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
108 <expand macro="test_mentions_samples" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
109 </test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
110 <test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
111 <conditional name="reference">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
112 <param name="source" value="history" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
113 <param name="genome" value="a.fa" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
114 </conditional>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
115 <param name="list_input" value="a.bam" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
116 <param name="group_by_id" value="true" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
117 <section name="adv_settings">
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
118 <param name="md5_check" value="false" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
119 <param name="max_depth" value="1000" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
120 </section>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
121 <assert_command>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
122 <has_text text="-i" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
123 <has_text text="-x" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
124 <has_text text="--max-depth 1000" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
125 </assert_command>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
126 </test>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
127 </tests>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
128 <help><![CDATA[
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
129 .. class:: infomark
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
130
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
131 **What it does**
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
132
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
133 The tool transforms the read-centered information in the aligned reads input
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
134 datasets into position-centered information including variant call statistics
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
135 (using samtools mpileup and bcftools internally).
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
136
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
137 **It produces a BCF file that serves as the basis for all further variant
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
138 analyses with MiModD**.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
139
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
140 -----
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
141
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
142 **Notes on Advanced Settings:**
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
143
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
144 **MD5 checksums**
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
145
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
146 By default, the tool will check whether the input BAM dataset(s) provide(s) MD5
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
147 checksums for the reference genome contig/chromosome sequences used during read
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
148 alignment (e.g., the *MiModD Read Alignment* tool stores these in the BAM file
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
149 header). If it finds MD5 sums for all sequences, it will compare them to the
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
150 checksums of the reference genome sequences used in the current tool run and
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
151 abort with an error message if there is a discrepancy between them. If it finds
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
152 contigs/chromosomes with matching checksum, but different names in the aligned
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
153 reads dataset(s) and the reference genome dataset, it will use the name from
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
154 the reference genome in its output.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
155
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
156 This behavior has two benefits:
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
157
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
158 1) It protects from accidental variant calling against a wrong reference genome
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
159 (*i.e.*, a different one than that used during the alignment step), which would
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
160 result in wrong calls. This is the primary reason why we recommend to leave the
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
161 check activated.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
162
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
163 2) It provides an opportunity to change sequence names between aligned reads
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
164 files and variant call files by providing a reference genome file with altered
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
165 sequence names (but identical sequence data).
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
166
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
167 Since there may be rare cases where you *really* want to align against a
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
168 reference genome with different checksums (e.g., you may have edited the
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
169 reference sequence based on the alignment results), the check can be turned
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
170 off, but only do this if you know *exactly* why.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
171
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
172
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
173 **Average sample depth cap limit**
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
174
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
175 For each of a total of ``M`` BAM input datasets, the tool will only pile up a
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
176 maximum number of reads ``N`` per position to avoid excessive memory usage with
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
177 very large numbers of samples sequenced at high coverage.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
178 N will be calculated as the maximum of ``8000/M`` and ``DEPTH*S``, where ``S``
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
179 is the maximum number of samples found in a single input dataset and ``DEPTH``
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
180 is the *average sample depth cap limit* specified in the tool form.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
181
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
182 This parameter, thus sets the average depth of the pile-up per sample that is
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
183 guaranteed to be used even when there is a very large number of samples. As can
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
184 be seen from the formula above, however, it will rarely become relevant for any
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
185 regular-size analysis.
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
186
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
187
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
188 @HELP_FOOTER@
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
189 ]]></help>
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
190 <expand macro="citations" />
aa82b2e54055 planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
wolma
parents:
diff changeset
191 </tool>