Skip to content

Out of bounds error during normalization: freebayes #22

@stsmall

Description

@stsmall

Hi Brad,
I reran the same files with 0.2.1 and received a different set of errors. It again halted during the processing/normalization of the freebayes joint calling file.
If I was only going to use SNPs and not indels is it OK to remove indels/MNPs from the input files of (HaplotypeCaller, UnifiedGenotyper, Freebayes) prior to running ensemble? This set of file w/ SNPs only runs to completion. Since you closed the other issue I opened this as a new issue. Let me know if the offending input file is needed, it is 150mb but I can upload it to dropbox and provide a link.
thanks,
scott

Progress.log:
2015-01-05T00:16:50 :: State :begin :: {:desc "Starting variation analysis"}
2015-01-05T00:16:50 :: State :clean :: {:desc "Cleaning input VCF: combo"}
2015-01-05T02:03:45 :: State :merge :: {:desc "Merging multiple input files: combo"}
2015-01-05T02:03:45 :: State :prep :: {:desc "Prepare VCF, resorting to genome build: combo"}
2015-01-05T02:10:14 :: State :normalize :: {:desc "Normalize MNP and indel variants: combo"}
2015-01-05T02:10:14 :: State :clean :: {:desc "Cleaning input VCF: gatk-hc"}
2015-01-05T03:51:01 :: State :merge :: {:desc "Merging multiple input files: gatk-hc"}
2015-01-05T03:51:01 :: State :prep :: {:desc "Prepare VCF, resorting to genome build: gatk-hc"}
2015-01-05T03:56:43 :: State :normalize :: {:desc "Normalize MNP and indel variants: gatk-hc"}
2015-01-05T03:56:43 :: State :clean :: {:desc "Cleaning input VCF: gatk-ug"}
2015-01-05T06:05:23 :: State :merge :: {:desc "Merging multiple input files: gatk-ug"}
2015-01-05T06:05:23 :: State :prep :: {:desc "Prepare VCF, resorting to genome build: gatk-ug"}
2015-01-05T06:11:33 :: State :normalize :: {:desc "Normalize MNP and indel variants: gatk-ug"}
2015-01-05T06:11:33 :: State :clean :: {:desc "Cleaning input VCF: freebayes"}
2015-01-05T09:06:19 :: State :merge :: {:desc "Merging multiple input files: freebayes"}
2015-01-05T09:06:19 :: State :prep :: {:desc "Prepare VCF, resorting to genome build: freebayes"}

Stack:
Exception in thread "main" java.lang.IndexOutOfBoundsException
at clojure.lang.PersistentVector.arrayFor(PersistentVector.java:107)
at clojure.lang.PersistentVector.nth(PersistentVector.java:111)
at clojure.lang.RT.nth(RT.java:763)
at bcbio.variation.normalize$fix_vcf_line$fix_info__651.invoke(normalize.clj:273)
at bcbio.variation.normalize$fix_vcf_line.invoke(normalize.clj:280)
at bcbio.variation.normalize$vcf_by_chrom$write_by_chrom__662.invoke(normalize.clj:292)
at bcbio.variation.normalize$vcf_by_chrom$fn__665.invoke(normalize.clj:306)
at bcbio.variation.normalize$vcf_by_chrom.invoke(normalize.clj:300)
at bcbio.variation.normalize$write_prepped_vcf.invoke(normalize.clj:345)
at bcbio.variation.normalize$prep_vcf.doInvoke(normalize.clj:369)
at clojure.lang.RestFn.invoke(RestFn.java:969)
at bcbio.variation.combine$dirty_prep_work.invoke(combine.clj:147)
at bcbio.variation.combine$gatk_normalize.invoke(combine.clj:187)
at bcbio.variation.compare$prepare_vcf_calls$fn__7526.invoke(compare.clj:120)
at clojure.core$map$fn__4207.invoke(core.clj:2487)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:60)
at clojure.lang.Cons.next(Cons.java:39)
at clojure.lang.PersistentVector.create(PersistentVector.java:51)
at clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:31)
at clojure.core$vec.invoke(core.clj:354)
at bcbio.variation.compare$prepare_vcf_calls.invoke(compare.clj:121)
at bcbio.variation.compare$variant_comparison_from_config$iter__7582__7586$fn__7587.invoke(compare.clj:255)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:60)
at clojure.lang.RT.seq(RT.java:484)
at clojure.core$seq.invoke(core.clj:133)
at clojure.core$tree_seq$walk__4647$fn__4648.invoke(core.clj:4475)
at clojure.lang.LazySeq.sval(LazySeq.java:42)
at clojure.lang.LazySeq.seq(LazySeq.java:60)
at clojure.lang.LazySeq.more(LazySeq.java:96)
at clojure.lang.RT.more(RT.java:607)
at clojure.core$rest.invoke(core.clj:73)
at clojure.core$flatten.invoke(core.clj:6478)
at bcbio.variation.compare$variant_comparison_from_config.invoke(compare.clj:254)
at bcbio.variation.ensemble$consensus_calls.invoke(ensemble.clj:113)
at bcbio.variation.ensemble$_main.doInvoke(ensemble.clj:133)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:617)
at bcbio.variation.core$_main.doInvoke(core.clj:35)
at clojure.lang.RestFn.applyTo(RestFn.java:137)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions