We've moved!
This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!

Extracting ONLY heterozygous sites from vcf

I'm trying to extract only heterozygous sites from a file.
I see there is an option --genotypeFilterExpression and -select 'vc.getGenotype("SampleID").isHet()' but I'm confused about usage.

I tried
-select 'vc.getGenotype("mysample").isHet()' with the select variants, but nothing happened.
Is it a two step process?

Its noteworthy I'm working with a single sample vcf....


Sign In or Register to comment.