Skip to content
New issue

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

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

Already on GitHub? # to your account

Haplogrep error with a vcf-merge file. #45

Open
VGDEC opened this issue Aug 25, 2021 · 1 comment
Open

Haplogrep error with a vcf-merge file. #45

VGDEC opened this issue Aug 25, 2021 · 1 comment

Comments

@VGDEC
Copy link

VGDEC commented Aug 25, 2021

Hi,
I have created a merged vcf file using vcf-merge tool for ~1000 samples.
When I am trying to provide this file as an input for the haplogrep, it is showing the following error:

Start Classification...
java.lang.NumberFormatException: For input string: "."
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at java.lang.Double.valueOf(Double.java:502)
at importer.VcfImporter.load(VcfImporter.java:205)
at genepi.commands.HaplogrepCommand.call(HaplogrepCommand.java:156)
at genepi.commands.HaplogrepCommand.call(HaplogrepCommand.java:20)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine.execute(CommandLine.java:2078)
at genepi.App.main(App.java:59)

Kindly, please suggest what should be done.

@seppinho
Copy link
Owner

seppinho commented Sep 7, 2021

Thanks, can you provide a minimal input file? Looks like there is a variant included in the file with an AF of ".". (We currently allow an AF of > 0.0).

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

No branches or pull requests

2 participants