-
Notifications
You must be signed in to change notification settings - Fork 13
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
vcf2db without samples #38
Comments
+1 on this request |
Your faux vcf is wrong - you need to add, bare minimum, Also, you need to add a FORMAT header field to define what
|
Here's a super barebones python script that will add a fake
|
Hi there,
I annotated a VCF of Clinvar variants using vcfanno and would like to create a database using vcf2db. However, there are no samples in the VCF. I tried adding a fake sample in the header and then making a ped file to go along with this, but am getting an error with this:
File "cyvcf2/cyvcf2.pyx", line 932, in cyvcf2.cyvcf2.Variant.gt_bases.get (cyvcf2/cyvcf2.c:22059)
ValueError: range() step argument must not be zero
I am guessing this is because there are no genotypes? Is there anyway to upload this vcf without samples? I have attached 2 VCFs that are each 1000 lines. The one that has _Copy in the title is the original; the other one has the fake sample added. I also attached my fake ped file.
Thanks,
Parkes
clinvar_noncoding_pathogenic_headed_NoAnno_Split_VEP_annotated_HeaderFixed_Copy_1000.vcf.gz
fake.ped.gz
clinvar_noncoding_pathogenic_headed_NoAnno_Split_VEP_annotated_HeaderFixed_1000.vcf.gz
The text was updated successfully, but these errors were encountered: