zhanxw / rvtests

Rare variant test software for next generation sequencing data
126 stars 41 forks source link

Wrong VCF header #122

Open JuRaGa opened 3 years ago

JuRaGa commented 3 years ago

Hi!

I am using the function "vcf2kinship" in rvtest to calculate a kinship matrix, but I am getting the error "Wrong VCF header", and I don't know why, as the VCF file seems correct? I cannot attach it for info because it is too big, but I hoped you could still advise?These are the lines in my script:

vcf2kinship --inVcf chrALL.imputed.mafge5pct.vcf.gz \ --ped PhenoFile.txt \ --bn \ --out kinship_matrix \ --xLabel X \ --xHemi \ --minMAF .05 \ --thread 12

Thanks for your help!