CAST-genomics / haptools

Ancestry and haplotype aware simulation of genotypes and phenotypes for complex trait analysis
https://haptools.readthedocs.io
MIT License
18 stars 4 forks source link

fix: Added logic to finding all coord files #201

Closed mlamkin7 closed 1 year ago

mlamkin7 commented 1 year ago

Added logic in simgenotype on lines 386-387 and 872-873 to check if file ending in .map will even have chr{1-22,X} before grabbing the group to prevent the code from erroring out even though we have valid coordinate files in the directory.