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