Closed talioto closed 5 months ago
Yes. I'm getting it with:
ploidy = (math.floor(chrom_num / haploid_number))
So for Erebia palarica is:
38/22=1.73 -> 1
This is because I'm using one query to get all the data, and ploidy does not result from that query. But I'm adding another query to fix this. Give me a couple of hours to test this fix.
Hi @talioto would you like to try this update: https://raw.githubusercontent.com/diegomics/EARs/main/make_EAR.py
Let me know if it works for you. If it does, I will merge it into this repo.
Hi @diegomics
I just tested it on ilGraIsab1.1 and now it correctly reports the goat's ploidy.
ilGraIsab1.1_EAR_ploidy_fixed.pdf
Thanks for your quick response, Fernando
Thanks @gitcruz Merging now
Something is going wrong here.