Griffan / VerifyBamID

VerifyBamID2: A robust tool for DNA contamination estimation from sequence reads using ancestry-agnostic method.
http://griffan.github.io/VerifyBamID/
94 stars 15 forks source link

Generating resource files #51

Closed z1242099843 closed 1 year ago

z1242099843 commented 1 year ago

Hi, I have a VCF file containing only variant positions and allele frequency information without genotype data for any sample. When I tried to create resource files using VB2, an error occurred. I would like to manually generate the resource files and I understand the contents of .bed and .mu files, but I do not know how the .UD file is generated. I wonder if .UD file is related to genotype data, and how I can generate it without the genotype data.

Thanks for any help you can give me.

Griffan commented 1 year ago

Hi, the resource files are generated based on the genotype matrix represented by VCF GT columns. You do need the genotype data to produced customized resource files.