My perl smells like a beginner’s fear of writing a code that he will not be able to read again in six months time :-) Hence I did everything as explicitly as possible, including all parentheses. I was not aware that being explicit would slow the code in perl. Is this correct?
BTW, the slowest sub seems to be “get_phenotype” I think it take up to 25 milliseconds on my machine, which is a lot compared to the rest of the code. Can you see anything that might be causing the slowdown in that sub?