mkatari-bioinformatics-august-2013-gatknotes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mkatari-bioinformatics-august-2013-gatknotes [2014/07/09 07:18] – mkatari | mkatari-bioinformatics-august-2013-gatknotes [2015/06/08 07:45] – mkatari | ||
---|---|---|---|
Line 153: | Line 153: | ||
-GF GT -GF GQ \ | -GF GT -GF GQ \ | ||
-o PTC_human.gatk.vcf.table | -o PTC_human.gatk.vcf.table | ||
+ | </ | ||
+ | |||
+ | In order to filter your vcf file based on quality measures, depth, and also statistical significance, | ||
+ | |||
+ | < | ||
+ | java -Xmx2g -jar / | ||
+ | -R / | ||
+ | -T VariantFiltration \ | ||
+ | -o namikonga_albert_filter.vcf \ | ||
+ | --variant / | ||
+ | --filterExpression "QD < 2.0 || MQ < 40.0 || FS > 60.0 || HaplotypeScore > | ||
+ | --filterName " | ||
+ | |||
+ | </ | ||
+ | |||
+ | Good descriptions of the different information on vcf files [[https:// | ||
+ | |||
+ | Finally to save the SNPs that passed your filter, you simply use the selectvariant tool. | ||
+ | |||
+ | < | ||
+ | |||
+ | java -Xmx2g -jar / | ||
+ | -T SelectVariants \ | ||
+ | --variant namikonga_albert_filter.vcf \ | ||
+ | -o namikonga_albert_filter_only.vcf \ | ||
+ | -ef \ | ||
+ | -R / | ||
+ | |||
</ | </ |
mkatari-bioinformatics-august-2013-gatknotes.txt · Last modified: 2016/08/17 08:37 by mkatari