Skip to content

Slice Index Issue #5

@bahodge11

Description

@bahodge11

Hello, I hope you are still active and can take a look at this issue.

I really appreciate this tool and it's exactly what I need for this analysis I want to do. I got it to run successfully for one gene I am targeting, but subsequent runs produce this error below. Any idea of how to fix it?

State of the environmental variables is:
Reading and loading the VCF file, starting time is: 2023-06-22 18:10:54.331633410 UTC
VCF file have been parsed and encoded into a vector of intermediate representations, finished at: 2023-06-22 18:10:54.460827388 UTC
Loading the Reference file, starting time is: 2023-06-22 18:10:54.460852699 UTC
Computing and writing the stats, starting at: 2023-06-22 18:10:54.584141699 UTC
Computing and writing the stats, finished at: 2023-06-22 18:10:54.595452264 UTC
Generating personalized genomes: starting at: 2023-06-22 18:10:54.595485265 UTC
thread 'main' panicked at 'slice index starts at 472 but ends at 470', src/data_structures/InternalRep/task.rs:44:13
stack backtrace:
0: 0x55a25e03898d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h921cf086d0ef20b8
1: 0x55a25e05db9c - core::fmt::write::hf0aa30ff334a9235
2: 0x55a25e029605 - std::io::Write::write_fmt::h902734c65e10d510
3: 0x55a25e02b3bb - std::panicking::default_hook::{{closure}}::h86354e502aca82ae
4: 0x55a25e02af14 - std::panicking::default_hook::ha18b4592ba9082c9
5: 0x55a25e02b983 - std::panicking::rust_panic_with_hook::h9e34f5b5abdfbd04
6: 0x55a25e038e97 - std::panicking::begin_panic_handler::{{closure}}::h93c670e762f8fadf
7: 0x55a25e038acc - std::sys_common::backtrace::__rust_end_short_backtrace::ha4e10635ecbaeddf
8: 0x55a25e02b4c2 - rust_begin_unwind
9: 0x55a25df493b1 - core::panicking::panic_fmt::hf95d9be5b00d03d0
10: 0x55a25df49532 - core::slice::index::slice_index_order_fail::h9da2087726676b15
11: 0x55a25df8d40a - ppgg::data_structures::InternalRep::task::Task::execute::hfeaf576032bd08ea
12: 0x55a25df57a4f - ppgg::data_structures::InternalRep::gir::GIR::execute::ha33c0f25eaca0609
13: 0x55a25df954c7 - ppgg::data_structures::InternalRep::personalized_genome::PersonalizedGenome::from_proband_instruction::h903b555b04f03d51
14: 0x55a25df8dbfe - <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::fold::h6f00db3e3500e287
15: 0x55a25df676f0 - alloc::vec::source_iter_marker::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec>::from_iter::h9d59386bd01e46ec
16: 0x55a25df584b8 - ppgg::parts::exec::execute::h457c745f66534687
17: 0x55a25df4a365 - vcf2prot::main::h5768d3693f2e71bc
18: 0x55a25df4a9f3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h868a9627fbe84de0
19: 0x55a25df4aa09 - std::rt::lang_start::{{closure}}::h7f1bf298e9017141
20: 0x55a25e02e9c1 - std::rt::lang_start_internal::he96cac7542744f48
21: 0x55a25df4a782 - main
22: 0x2b68d861c555 - __libc_start_main
23: 0x55a25df49b0e -
24: 0x0 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions