xiaolei-lab / rMVP

:postbox: A Memory-efficient, Visualization-enhanced, and Parallel-accelerated Tool For Genome-Wide Association Study
Apache License 2.0
273 stars 69 forks source link

Error loading hapmap and vcf files #63

Open PaulineSnor opened 3 years ago

PaulineSnor commented 3 years ago

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 commented 1 year ago

Did you find the solution for this?

PaulineSnor commented 1 year ago

No I just ended up using GAPIT package instead.

Cheers


De : Nikee Shrestha @.> Envoyé : lundi 27 février 2023 23:51 À : xiaolei-lab/rMVP @.> Cc : Pauline Hessenauer @.>; Author @.> Objet : Re: [xiaolei-lab/rMVP] Error loading hapmap and vcf files (#63)

Did you find the solution for this?

— Reply to this email directly, view it on GitHubhttps://github.com/xiaolei-lab/rMVP/issues/63#issuecomment-1447572016, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATI3CISOE5P2JWPM6E5FOKDWZV75JANCNFSM4ZLE6YNQ. You are receiving this because you authored the thread.Message ID: @.***>

jdavis-132 commented 1 year ago

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 commented 1 year ago

Oh ok, thanks !


De : jdavis-132 @.> Envoyé : mardi 14 mars 2023 16:10 À : xiaolei-lab/rMVP @.> Cc : Pauline Hessenauer @.>; Author @.> Objet : Re: [xiaolei-lab/rMVP] Error loading hapmap and vcf files (#63)

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'.

— Reply to this email directly, view it on GitHubhttps://github.com/xiaolei-lab/rMVP/issues/63#issuecomment-1468763206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATI3CIRRXTVAZ3B6WPBAMGLW4DGELANCNFSM4ZLE6YNQ. You are receiving this because you authored the thread.Message ID: @.***>