Skip to content

Issue with ALLOWNOCHIASMATA=0 for ploid levels > 4 #2

@tpbilton

Description

@tpbilton

Hi

I am have issues trying to run pedigreeSim for simulating hexaploids and octaploids when I have ALLOWNOCHIASMATA=0. It gives the following error message:

> java -jar PedigreeSim.jar sim_run1_ploid4_Depth5_ep0.par
Parameter file=sim_run1_ploid4_Depth5_ep0.par
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 14
        at PedigreeSim.Multivalent.allChromChiasmata(Multivalent.java:593)
        at PedigreeSim.Quadrivalent.doCrossingOver(Quadrivalent.java:422)
        at PedigreeSim.Multivalent.doMeiosis(Multivalent.java:79)
        at PedigreeSim.Individual.doMeiosis(Individual.java:284)
        at PedigreeSim.Individual.mating(Individual.java:231)
        at PedigreeSim.Main.simulateHaploStructs(Main.java:1334)
        at PedigreeSim.Main.simulate(Main.java:295)
        at PedigreeSim.Main.main(Main.java:47)

It works fine though with ALLOWNOCHIASMATA=1. Just wondering if this is a bug or just a limitation of the software?

I have attached the input files for pedigreeSim that I was using (sim_test_pedigreeSim_octaploid.zip).

Many thanks,
Timothy

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