Mercurial > repos > wolma > mimodd_main
annotate vcf_filter.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_vcf_filter" name="MiModD VCF Filter" version="@MIMODD_WRAPPER_VERSION@"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
2 <description> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
3 extracts lines from a vcf variant file based on field-specific filters |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
4 </description> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
5 <macros> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
6 <import>macros.xml</import> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
7 </macros> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
8 <expand macro="requirements" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
9 <expand macro="stdio" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
10 <expand macro="version_command" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
11 <command><![CDATA[ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
12 mimodd vcf-filter |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
13 '$inputfile' -o '$outputfile' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
14 #if len($datasets): |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
15 -s |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
16 #for $i in $datasets |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
17 '$i.sample' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
18 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
19 --gt |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
20 #for $i in $datasets |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
21 ## remove whitespace from free-text input |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
22 '#echo ("".join($i.GT.split()) or "ANY")#' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
23 #echo " " |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
24 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
25 --dp |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
26 #for $i in $datasets |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
27 $i.DP |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
28 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
29 --gq |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
30 #for $i in $datasets |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
31 $i.GQ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
32 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
33 --af |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
34 #for $i in $datasets |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
35 '#echo ($i.AF or "::")#' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
36 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
37 #end if |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
38 #if len($regions): |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
39 -r |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
40 #for $i in $regions |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
41 #if $i.stop: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
42 '$i.chrom:$i.start-$i.stop' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
43 #else: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
44 '$i.chrom:$i.start' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
45 #end if |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
46 #end for |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
47 #end if |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
48 #if $vfilter: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
49 --vfilter |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
50 ## remove ',' and replace with ' ' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
51 '#echo ('" "'.join($vfilter.split(',')))#' |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
52 #end if |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
53 $vartype |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
54 ]]></command> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
55 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
56 <inputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
57 <param name="inputfile" type="data" format="vcf" label="VCF input file" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
58 <repeat name="datasets" title="Sample-specific Filter" default="0" min="0"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
59 <param name="sample" type="text" label="sample" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
60 help="name of a sample as it appears in the VCF input file and that indicates the sample that this filter should be applied to."> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
61 <expand macro="lex_sam_header" message="Non-ASCII characters are not valid in sample names." /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
62 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
63 <param name="GT" type="text" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
64 label="genotype pattern(s) for the inclusion of variants" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
65 help="keep only variants for which the genotype of the sample matches the specified pattern; format: x/x where x = 0 is wildtype and x = 1 is mutant. Multiple genotypes can be specified as a comma-separated list."> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
66 <validator type="expression" message="Malformed genotype pattern">not value or all(c.isdigit() or c in './|' for token in value.split(',') for c in token.strip(' '))</validator> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
67 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
68 <param name="DP" type="integer" value="0" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
69 label="depth of coverage for the sample at the variant site" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
70 help="keep only variants with at least this sample-specific coverage at the variant site" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
71 <param name="GQ" type="integer" value="0" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
72 label="genotype quality for the variant in the sample" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
73 help="keep only variants for which the genotype prediction for the sample has at least this quality" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
74 <param name="AF" type="text" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
75 label="allelic fraction filter" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
76 help="expected format: [allele number]:[minimal fraction]:[maximal fraction]; keep only variants for which the fraction of sample-specific reads supporting a given allele number is between minimal and maximal fraction; if allele number is omitted, the filter operates on the most frequent non-reference allele instead"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
77 <validator type="expression" message="Malformed allelic fraction filter">not value or all(c.isdigit() or c in '.:' for c in value)</validator> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
78 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
79 </repeat> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
80 <repeat name="regions" title="Region Filter" default="0" min="0" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
81 help="Filter variant sites by their position in the genome. If multiple Region Filters are specified, all variants that fall in ONE of the regions are reported."> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
82 <param name="chrom" type="text" label="Chromosome"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
83 <expand macro="lex_sam_header" message="Non-ASCII characters are not valid in chromosome names." /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
84 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
85 <param name="start" type="text" label="Region Start"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
86 <validator type="expression" message="an integer number is required">not value or value.isdigit()</validator> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
87 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
88 <param name="stop" type="text" label="Region End"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
89 <validator type="expression" message="an integer number is required">not value or value.isdigit()</validator> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
90 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
91 </repeat> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
92 <param name="vartype" type="select" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
93 label="Select the types of variants to include in the output"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
94 <option value="">all types of variants</option> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
95 <option value="--no-indels">exclude indels</option> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
96 <option value="--indels-only">only indels</option> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
97 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
98 <param name="vfilter" type="text" label="sample" |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
99 help="Filter output by sample name; only the sample-specific columns with their sample name matching any of the comma separated filters will be retained in the output."> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
100 <expand macro="lex_sam_header" message="Non-ASCII characters are not valid in sample names." /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
101 </param> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
102 </inputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
103 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
104 <outputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
105 <data name="outputfile" format="vcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
106 </outputs> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
107 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
108 <tests> |
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 <param name="inputfile" value="a.vcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
111 <repeat name="datasets"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
112 <param name="sample" value="N2" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
113 <param name="GT" value="0/0" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
114 </repeat> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
115 <output name="outputfile" ftype="vcf" compare="diff"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
116 <assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
117 <has_text text="GT:PL:DP:DPR:GQ	0/0" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
118 <not_has_text text="GT:PL:DP:DPR:GQ	1/1" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
119 <not_has_text text="GT:PL:DP:DPR:GQ	0/1" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
120 </assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
121 </output> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
122 </test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
123 <test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
124 <param name="inputfile" value="a.vcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
125 <repeat name="regions"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
126 <param name="chrom" value="chrX" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
127 </repeat> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
128 <output name="outputfile" ftype="vcf"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
129 <assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
130 <has_text text="chrX	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
131 <not_has_text text="chrI	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
132 <not_has_text text="chrII	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
133 <not_has_text text="chrIII	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
134 <not_has_text text="chrIV	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
135 <not_has_text text="chrV	" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
136 </assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
137 </output> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
138 </test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
139 <test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
140 <param name="inputfile" value="a.vcf" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
141 <param name="vartype" value="--no-indels" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
142 <param name="vfilter" value="ot266" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
143 <output name="outputfile" ftype="vcf"> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
144 <assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
145 <not_has_text text="INDEL;" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
146 <has_line line="#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	ot266" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
147 </assert_contents> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
148 </output> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
149 </test> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
150 </tests> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
151 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
152 <help><![CDATA[ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
153 .. class:: infomark |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
154 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
155 **What it does** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
156 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
157 The tool filters a variant file in VCF format to generate a new VCF file with only a subset of the original variants. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
158 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
159 The following types of variant filters can be set up: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
160 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
161 1) Sample-specific filters: |
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 Filter variants based on their characteristics in the sequenced reads of a specific sample. Multiple sample-specific filters are combined by logical AND, i.e., only variants that pass ALL sample-specific filters are kept. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
164 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
165 2) Region filters: |
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 Filter variants based on the genomic region they affect. Multiple region filters are combined by logical OR, i.e., variants passing ANY region filter are kept. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
168 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
169 3) Variant type filter: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
170 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
171 Filter variants by their type, i.e. whether they are single nucleotide variations (SNVs) or indels |
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 In addition, the *sample* filter can be used to reduce the samples encoded in a multi-sample VCF file to just those specified by the filter. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
174 The *sample* filter is included mainly for compatibility reasons: if an external tool cannot deal with the multisample file format, but instead looks only at the first sample-specific column of the file, you can use the filter to turn the multi-sample file into a single-sample file. Besides, the filter can also be used to change the order of the samples since it will sort the samples in the order specified in the filter field. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
175 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
176 **Examples of sample-specific filters:** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
177 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
178 *Simple genotype pattern* |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
179 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
180 genotype pattern: 1/1 ==> keep all variants in the vcf input file for which the specified sample's genotype is homozygous mutant |
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 *Complex genotype pattern* |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
183 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
184 genotype pattern: 0/1, 0/0 ==> keep all variants for which the sample's genotype is either heterozygous or homozygous wildtype |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
185 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
186 *Multiple sample-specific filters* |
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 Filter 1: genotype pattern: 0/0, Filter 2: genotype pattern 1/1: |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
189 ==> keep all variants for which the first sample's gentoype is homozygous wildtype **and** the second sample's genotype is homozygous mutant |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
190 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
191 *Combining sample-specific filter criteria* |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
192 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
193 genotype pattern: 1/1, depth of coverage: 3, genotype quality: 9 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
194 ==> keep variants for which the sample's genotype is homozygous mutant **and** for which this genotype assignment is corroborated by a genotype quality score of at least 9 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
195 **and** at least three reads from the sample cover the variant site |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
196 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
197 **TIP:** |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
198 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
199 As in the example above, genotype quality is typically most useful in combination with a genotype pattern. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
200 It acts then, effectively, to make the genotype filter more stringent. |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
201 |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
202 @HELP_FOOTER@ |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
203 ]]></help> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
204 <expand macro="citations" /> |
f0f2795de2c7
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
wolma
parents:
diff
changeset
|
205 </tool> |