Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tpbilton opened this issue Apr 11, 2021 · 5 comments
Open

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

tpbilton opened this issue Apr 11, 2021 · 5 comments

Comments

@tpbilton
Copy link

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

@RoelandV
Copy link
Member

RoelandV commented Apr 12, 2021 via email

@tpbilton
Copy link
Author

Dear Roeland,

Thank you replying so promptly and clarifying the situation.

In regard to your question: The geneticist around in New Zealand (particular those with expertise in linkage mapping) have tended to take the view that at least one recombination needs to occur for a stable meiosis and thus why I was looking to use ALLOWNOCHIASMATA=0. I understand that this is not what is taught most standard first-year university genetics textbooks. If you think that there is a strong reason for using ALLOWNOCHIASMATA=1, then I might stick with this option (I'm not a geneticist but am trying to keep things as realistic as possible in my simulations).

Many thanks,
Timothy

@RoelandV
Copy link
Member

RoelandV commented Apr 12, 2021 via email

@tpbilton
Copy link
Author

Dear Roeland,

Thanks for the clarification. I understand now where you are coming from and that makes a lot sense. I don't think I quite understand what that argument does initially (and changing the name would probably help there).

I think I will use ALLOWNOCHIASMATA=1 going forward.

Cheers,
Timothy

@RoelandV
Copy link
Member

RoelandV commented Apr 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants