Mercurial > repos > anton > vcffilter
comparison vcffilter.xml @ 2:77e44d465705 draft
Uploaded
author | anton |
---|---|
date | Mon, 12 May 2014 16:32:03 -0400 |
parents | e5dd21db760b |
children | 6c2640e8ecbb |
comparison
equal
deleted
inserted
replaced
1:e5dd21db760b | 2:77e44d465705 |
---|---|
48 -F, --tag-fail tag vcf records as negatively filtered with this tag, print all records | 48 -F, --tag-fail tag vcf records as negatively filtered with this tag, print all records |
49 -A, --append-filter append the existing filter tag, don't just replace it | 49 -A, --append-filter append the existing filter tag, don't just replace it |
50 -a, --allele-tag apply -t on a per-allele basis. adds or sets the corresponding INFO field tag | 50 -a, --allele-tag apply -t on a per-allele basis. adds or sets the corresponding INFO field tag |
51 -v, --invert inverts the filter, e.g. grep -v | 51 -v, --invert inverts the filter, e.g. grep -v |
52 -o, --or use logical OR instead of AND to combine filters | 52 -o, --or use logical OR instead of AND to combine filters |
53 -r, --region specify a region on which to target the filtering (must be used in conjunction with -f or -g | |
53 | 54 |
54 Filters are specified in the form {ID} {operator} {value}:: | 55 Filters are specified in the form {ID} {operator} {value}:: |
55 | 56 |
56 -f "DP > 10" # for info fields | 57 -f "DP > 10" # for info fields |
57 -g "GT = 1|1" # for genotype fields | 58 -g "GT = 1|1" # for genotype fields |
58 -f "CpG" # for 'flag' fields | 59 -f "CpG" # for 'flag' fields |
60 | |
61 Any number of filters may be specified. They are combined via logical AND unless --or is specified on the command line. For convenience, you can specify "QUAL" to refer to the quality of the site, even though it does not appear in the INFO fields. | |
59 | 62 |
60 Operators can be any of: =, !, <, >, pipe, & | 63 Operators can be any of: =, !, <, >, pipe, & |
61 | 64 |
62 Any number of filters may be specified. They are combined via logical AND | |
63 unless --or is specified on the command line. | |
64 | 65 |
65 For convenience, you can specify "QUAL" to refer to the quality of the site, even | 66 To restrict output to a specific location use -r option (much be used in conjunction with -g or -f):: |
66 though it does not appear in the INFO fields. | 67 |
68 -r chr20:14000-15000 # only output calls between positions 14,000 and 15,000 on chromosome 20 | |
69 -r chrX # only output call on chromosome X | |
70 | |
71 ----- | |
72 | |
73 Vcffilter is a part of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib). | |
67 | 74 |
68 </help> | 75 </help> |
69 </tool> | 76 </tool> |