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!
Transform VCF file changing only variant ids
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?