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

Problem in SeqArray::seqVCF2GDS - Parsing the vcf header fails #74

Open
iaia87 opened this issue Apr 15, 2022 · 2 comments
Open

Problem in SeqArray::seqVCF2GDS - Parsing the vcf header fails #74

iaia87 opened this issue Apr 15, 2022 · 2 comments

Comments

@iaia87
Copy link

iaia87 commented Apr 15, 2022

Erreur dans AsDataFrame(s[i], c(T = "ID", T = "Number", T = "Type", T = "Description", :
No 'ID'. Parsing the VCF header fails.

I don't know why I have this error, I create my vcf with SeqArray. I think that I have a problem in my header, but how to resolve that ?

I have looked in the github repository, but I don't find out the answer.

Here you are a little vision of the header in terminal window :

##fileformat=VCFv4.2
##fileDate=20211109
##source=SeqArray_Format_v1.0
##INFO=<>
##INFO=<>
##FILTER=<ID=PASS,Description="All filters passed">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT DEPAOUKW00002_DEPAOUKW00002 DEPAOUKW00003_DEPAOUKW00003 DEPAOUKW00005_DEPAOUKW00005 DEPAOUKW00008_DEPAOUKW00008 DEP
AOUKW00009_DEPAOUKW00009 DEPAOUKW00011_DEPAOUKW00011 [.....]
21 14625201 21:14625201:T:C T C 100 PASS filter=PASS GT 0/1 0/0 0/0 0/0 0/0 1/1 0/0 1/1 0/1 0/1 0/1 0/0 0/0 0/1 0/1 0/0 0/0 0/1 0/0 0/0 0/1 0/1 0/1 0/1 0/0 0/1 0/0 0/0 0/0 [.....]

Thanks for your help and for the package, I really enjoy !
Laura

@zhengxwen
Copy link
Owner

The line ##INFO=<> should be removed.
It is not a standard format.

@iaia87
Copy link
Author

iaia87 commented May 9, 2022

Thanks a lot !

I will try and I will tell you !

Have a good day,
Laura

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