Hello, I am trying to use CalculateHsMetrics to calculate my on target coverage. I keep getting an error :
Exception in thread "main" java.lang.NumberFormatException: For input string: " 52186190 "
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
My file looks like this:
chr6 52186190 52186409 + chr6:52186190-52186409
chr6 52186190 52186409 + chr6:52186190-52186409
chr6 52186398 52186587 + chr6:52186398-52186587
chr6 52186576 52186740 + chr6:52186576-52186740
chr6 52186729 52186866 + chr6:52186729-52186866
can someone guide what might be going wrong.
Can you please share the command you tried?
Also I wonder why there is similar entries in two lines for "52186409"? Try to remove and run.
Athul
It was case of non-tab seperation. Thanks!