Hi All,
I have got the following errors when reading vcf file with import_vcf. Could you please give some suggestions?
[task-result-getter-2] WARN org.apache.spark.scheduler.TaskSetManager - Lost task 992.0 in stage 4.0 (TID 75210, xxxxx.xxxx.xxxx.xxx.xxx, executor 10): is.hail.utils.HailException: xxxxx.vcf.bgz: variant chr1:118938389:C:T,A: INFO field MQ0:
unable to convert [0, 0] (of class java.util.ArrayList) to Int:
caught scala.MatchError: ([0, 0],Int) (of class scala.Tuple2)
offending line: chr1 118938389 rs115277817 C T,A 4580.04 PASS AC=9,1;AF=0.00…
at is.hail.utils.ErrorHandling$class.fatal(ErrorHandling.scala:10)
at is.hail.utils.package$.fatal(package.scala:27)
at is.hail.utils.TextContext.wrapException(Context.scala:11)
at is.hail.utils.WithContext.map(Context.scala:27)
at is.hail.io.vcf.LoadVCF$$anonfun$15$$anonfun$apply$7.apply(LoadVCF.scala:310)
at is.hail.io.vcf.LoadVCF$$anonfun$15$$anonfun$apply$7.apply(LoadVCF.scala:309)
at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
at org.apache.spark.shuffle.sort.UnsafeShuffleWriter.write(UnsafeShuffleWriter.java:166)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:96)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:53)
at org.apache.spark.scheduler.Task.run(Task.scala:99)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:322)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Kind regards,
Jiaowei