# HG changeset patch # User ulfschaefer # Date 1449140694 18000 # Node ID 0742a605c468372b9967e9c18d64e4d118e71198 # Parent a60184379a0f2350317455d52a0ca785abc33447 Uploaded diff -r a60184379a0f -r 0742a605c468 filter_vcf.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filter_vcf.xml Thu Dec 03 06:04:54 2015 -0500 @@ -0,0 +1,99 @@ + + filters a VCF file + + python + + + + + + + + + filter_vcf.sh + $output + $input + #for $sf in $snp_filter: + #for $name, $param in $sf.snp_filter_type.iteritems(): + #if $name not in [ "__current_case__", "snp_filter_type_selector" ]: + ${name}:"${param}" + #end if + #end for + #end for + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +usage: filter_vcf.py [-h] \-\-vcf VCF \-\-filters FILTERS \-\-output OUTPUT + +optional arguments: + +-h, \-\-help show this help message and exit + +\-\-vcf VCF, -v VCF VCF file to (re)filter. + +\-\-filters FILTERS, -f FILTERS Filter(s) to apply as key:threshold pairs, separated by comma. + +\-\-output OUTPUT, -o OUTPUT Location for filtered VCF to be written. + + +