Vcf-compare two multi-sample vcf files
2
1
Entering edit mode
7.0 years ago
AB ▴ 360

Hi,

I have two large multi-sample vcf files. The samples in both files are the same except the snp's were called using different programs. i want to see if they match. I am not sure if vcf-compare works. I gave it a shot and it returned all zeros. Is there any other way i can compare two multi-sample vcf files?

Thanks

vcf-compare vcftools • 4.8k views
ADD COMMENT
1
Entering edit mode
7.0 years ago

Is there any other way i can compare two multi-sample vcf files?

you could use picard/GenotypeConcordance

Evaluate genotype concordance between callsets.This tool evaluates the concordance between genotype calls for samples in different callsets where one is being considered as the truth (aka standard, or reference) and the other as the call that is being evaluated for accuracy.

java -jar picard.jar GenotypeConcordance \
      CALL_VCF=input.vcf \
      CALL_SAMPLE=sample_name \
      O=gc_concordance.vcf \
      TRUTH_VCF=truth_set.vcf \
      TRUTH_SAMPLE=truth_sample#
ADD COMMENT
0
Entering edit mode
6.3 years ago
maduh17 ▴ 10

!!!!!!!!!!!!!!!!! I found a link saying that GATK's GenotypeConcordance is being outphased: https://gatkforums.broadinstitute.org/gatk/discussion/5795/genotype-concordance-output

So might wanna just use picard as Pierre suggested

ADD COMMENT

Login before adding your answer.

Traffic: 2359 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