Exclude Mutations from Mutation List
1
1
Entering edit mode
Haiying.Kong ▴ 110
@haiyingkong-9254
Last seen 5.0 years ago
Germany

I have a list of mutations as VCF1.vcf, and another list of mutations as VCF2.vcf.

I need to exclude mutations in VCF1.vcf that are appearing in VCF2,vcf, and save the result as a new vcf file.

What could be the most elegant way of doing this?

variantannotation • 907 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 5 days ago
United States

This could be a job for VariantAnnotation::filterVcf(), including the prefilter= argument; see the filterVcf vignette available from the VariantAnnotation landing page https://bioconductor.org/packages/VariantAnnotation, as well as help page. It's difficult to provide additional help without knowing what 'appearing in' means in a computational  sense.

ADD COMMENT
0
Entering edit mode

Thank you so much. The information you provided is more than enough help  :)

ADD REPLY

Login before adding your answer.

Traffic: 1128 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6