Heads up:
We’re moving the GATK website, docs and forum to a new platform. Read the full story and breakdown of key changes on this blog.
If you happen to see a question you know the answer to, please do chime in and help your fellow community members. We encourage our fourm members to be more involved, jump in and help out your fellow researchers with their questions. GATK forum is a community forum and helping each other with using GATK tools and research is the cornerstone of our success as a genomics research community.We appreciate your help!

Test-drive the GATK tools and Best Practices pipelines on Terra

Check out this blog post to learn how you can get started with GATK and try out the pipelines in preconfigured workspaces (with a user-friendly interface!) without having to install anything.

Transform VCF file changing only variant ids

OliverROliverR Broad InstituteMember, Broadie

I want to read a VCF file and write out another VCF file that is equivalent to the first one except that variant ids have been changed. How would I do that? A VCFFileReader gives me an iterator of VariantContext - can I get a copy of a VariantContext with everything identical except for variant id?


 Best, Oliver

Best Answer


  • OliverROliverR Broad InstituteMember, Broadie

    Awesome, thanks!

Sign In or Register to comment.