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

Error loading hapmap and vcf files #63

Open
PaulineSnor opened this issue Mar 17, 2021 · 4 comments
Open

Error loading hapmap and vcf files #63

PaulineSnor opened this issue Mar 17, 2021 · 4 comments

Comments

@PaulineSnor
Copy link

Hello,

How can I adress this error ?

Error in hapmap_parser_map(hmp_file[1], out) :
ERROR: Wrong HAPMAP file, no line begin with "rs#".

The first line of my file starts with rs# so I do not really know what the probem is...

I also tried to load my VCF file but I had another error despite having of course a line starting with #CHROM.

Error in vcf_parser_map(vcf_file = vcf_file, out = out) :
ERROR: Wrong VCF file, no line begin with "#CHROM".

Thanks,

Pauline

@NikeeShrestha
Copy link

Did you find the solution for this?

@PaulineSnor
Copy link
Author

PaulineSnor commented Feb 28, 2023 via email

@jdavis-132
Copy link

For future reference: this error is solved by changing the headers to match those given in the example code. For vcf files, this is 6 lines beginning with '##' prior to the line with '#CHROM'.

@PaulineSnor
Copy link
Author

PaulineSnor commented Mar 15, 2023 via email

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

3 participants