Mercurial > repos > ryanmorin > nextgen_variant_identification
comparison SNV/snvmix.xml @ 0:74f5ea818cea
Uploaded
author | ryanmorin |
---|---|
date | Wed, 12 Oct 2011 19:50:38 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:74f5ea818cea |
---|---|
1 <tool id="snvmix" name="SNVMix" version="0.12.1-rc1"> | |
2 <requirements> | |
3 <requirement type="package">SNVMix</requirement> | |
4 </requirements> | |
5 <description>performs SNV calling on a bam file</description> | |
6 <command interpreter="python"> | |
7 snvmix.py | |
8 -i $input1 | |
9 -d ${input1.metadata.dbkey} | |
10 -o $output_snvmix | |
11 -t $type | |
12 #if $positionFile == "yes": | |
13 -l $pos | |
14 #else: | |
15 -l 'none' | |
16 #end if | |
17 -x ${GALAXY_DATA_INDEX_DIR} | |
18 -q $q | |
19 -Q $Q | |
20 -f $full | |
21 -R $keep_dups | |
22 -c $keep_chastity | |
23 </command> | |
24 <inputs> | |
25 <param name="type" type="select" label="model used"> | |
26 <option value="MB">Filter on map quality AND base quality (MB)</option> | |
27 <option value="SNVMix1">SNVMix1</option> | |
28 <option value="mb">Lowest between map and base quality is used (mb)</option> | |
29 <option value="m">Filter on map quality and use as a surrogate for base quality (m)</option> | |
30 <option value="b">Filter on base quality and set map quality to 1 (b)</option> | |
31 <option value="Mb">Filter on map quality and use both map and base qualities (Mb)</option> | |
32 </param> | |
33 <conditional name="refOrHistory"> | |
34 <param name="reference" type="select" label="Will you select a reference genome from your history or use a built-in index?"> | |
35 <option value="indexed">Use a built-in index</option> | |
36 <option value="history">Use one from the history</option> | |
37 </param> | |
38 <when value="indexed"> | |
39 <param name="input1" type="data" format="bam" label="Select the BAM file to generate the pileup file for"> | |
40 <validator type="unspecified_build" /> | |
41 <validator type="dataset_metadata_in_file" filename="sam_fa_indices.loc" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." line_startswith="index" /> | |
42 </param> | |
43 </when> | |
44 <when value="history"> | |
45 <param name="input1" type="data" format="bam" label="Select the BAM file to generate the pileup file for" /> | |
46 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference genome" /> | |
47 </when> | |
48 </conditional> | |
49 <param name="q" type="integer" value="19" label="Cutoff Phred value for Base Quality, anything less than or equal to this value is ignored" /> | |
50 <param name="Q" type="integer" value="19" label="Cutoff Phred value for Map Quality, anything less than or equal to this value is ignored" /> | |
51 <conditional name="positionFile"> | |
52 <param name="positions" type="select" label="Will you provide a set of positions for SNV calling?"> | |
53 <option value="no">No, call variants at every position</option> | |
54 <option value="yes">Yes, select one from the history</option> | |
55 </param> | |
56 <when value="yes"> | |
57 <param name="pos" type="data" format="tabular" label="select the tab-delimited file containing positions"> | |
58 </param> | |
59 </when> | |
60 </conditional> | |
61 <param name="full" type="select" label="Do you want SNVMix to calculate probabilities for each of these positions? (only works in conjunction with above option)"> | |
62 <option value="no">No, I just want possible variants output</option> | |
63 <option value="yes">Yes (I know this could generate a huge file)</option> | |
64 </param> | |
65 <param name="keep_dups" type="select" label="Do you want SNVMix to include reads flagged as duplicates? (only works if Picard or some other tool has set this bit in your bam file"> | |
66 <option value="no">No (ignore duplicates for variant calling)</option> | |
67 <option value="yes">Yes (use all reads)</option> | |
68 </param> | |
69 <param name="keep_chastity" type="select" label="Do you want SNVMix to include reads flagged as failing the chastity filter? (only works if Picard or some other tool has set this bit in your bam file"> | |
70 <option value="no">No (ignore filtered reads for variant calling)</option> | |
71 <option value="yes">Yes (use all reads)</option> | |
72 </param> | |
73 </inputs> | |
74 | |
75 <outputs> | |
76 <data format="tabular" name="output_snvmix" label="${tool.name}: Raw SNVMix calls" /> | |
77 </outputs> | |
78 <help> | |
79 | |
80 **What it does** | |
81 | |
82 This tool uses the SNVMix model (Goya et al) to call single nucleotide variants (SNVs) from a bam file. The various models described in the study are provided (e.g. SNVMix1, MB, Mb etc.). The most commonly-used models are MB (the default) and SNVMix1. The former thresholds on base quality and mapping quality and uses both qualities in the variant prediction while the latter filters on both and only uses the allele counts in the model. The output is a tab-delimited file that should be passed through the accompanying filtering script prior to use. | |
83 | |
84 </help> | |
85 </tool> |