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 Contamination failed #21

Open
SarahL-UU opened this issue Dec 3, 2024 · 0 comments
Open

ERROR Contamination failed #21

SarahL-UU opened this issue Dec 3, 2024 · 0 comments

Comments

@SarahL-UU
Copy link

SarahL-UU commented Dec 3, 2024

Hi! I tried running haplocheck on some VCF files. If works on the sample NA12878 which has about 3000+ coverage in the VCF (in the HTML file it said 2400 coverage) for the SNPs but for another sample which has around 1700x get an error. Both samples are run using the same pipeline and haplocheck command. I get this error:

haplocheck 1.3.2
https://github.com/genepi/haplocheck
(c) 2020 Sebastian Schoenherr, Hansi Weissensteiner, Lukas Forer

Check for Contamination..
RUN Load file...
java.lang.NumberFormatException: For input string: "."
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.base/java.lang.Double.parseDouble(Double.java:543)
at java.base/java.lang.Double.valueOf(Double.java:506)
at importer.VcfImporter.load(VcfImporter.java:202)
at genepi.haplocheck.steps.ContaminationStep.detectContamination(ContaminationStep.java:67)
at genepi.haplocheck.steps.ContaminationStep.run(ContaminationStep.java:36)
at genepi.haplocheck.commands.ContaminationCommand.call(ContaminationCommand.java:55)
at genepi.haplocheck.commands.ContaminationCommand.call(ContaminationCommand.java:1)
at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
at picocli.CommandLine.access$1100(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
at picocli.CommandLine.execute(CommandLine.java:2058)
at genepi.haplocheck.App.main(App.java:32)
ERROR Contamination failed

Thank you in advance! :)

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

1 participant