Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.vcf file has a GT half-call. #17

Open
PengJia6 opened this issue Nov 4, 2021 · 3 comments
Open

.vcf file has a GT half-call. #17

PengJia6 opened this issue Nov 4, 2021 · 3 comments

Comments

@PengJia6
Copy link

PengJia6 commented Nov 4, 2021

Hi,

I used LDBlockShow to analysis my vcf file. But I got the following error.

Error: Line 5230 of .vcf file has a GT half-call.
Use --vcf-half-call to specify how these should be processed

but I did not find --vcf-half-call option in this command.

BTW, the version of the LDBlockShow I used is 1.40. I have 74915 phased SNV from 32 samples.

My command is as follows

LDBlockShow -InVCF final.snv.alt.vcf.gz -OutPut ./this_snv_LD -Region chr10:65726063-73410226

Thanks!

@hewm2008
Copy link
Contributor

hewm2008 commented Nov 5, 2021

Dear @PengJia6
I think some format of VCF file.

if your vcf format is haploid vcf format, I suggest to make some changes. haploid ---》 Diploid
you should change the GT
"0" ---> "0|0" or "0/0"
"1" ---> "1|1" or "1/1"
In theory, the data of the haploid ---> diploid VCF data, which does not affect the change of Decay.
BGI-shenzhen/PopLDdecay#7

also you can send me your data to my email, I try to run this for you.

@PengJia6
Copy link
Author

PengJia6 commented Nov 5, 2021

Thanks for your response!

My sample is diploid, I removed the record with missed GT, such as "./." or "./1", and it worked.

Thanks again!
Peng

@hewm2008
Copy link
Contributor

hewm2008 commented Nov 5, 2021

Thanks for using the software.
best wishes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants