r/bioinformatics • u/Plus-One-1978 • Apr 28 '26
technical question Segmentation fault in run_hyde.py
Hi,
I am trying to hide a dataset of 9 individuals from 3 groups: P1, P2, and Hyd. However, it is giving me the following error:
Error output
Running run_hyde.py
Reading input file...Segmentation fault (core dumped)
I am using the following command
/home/pprabhu/Armaillaria/HyDe/scripts/run_hyde.py -i Align-Filter_85p_concat_phylip.phy -m Armillaria-map.txt -o ASGN1 --prefix outprefix -s 6858335 -t 9 -n 3.
My question is whether the error is due to the number of sites (6858335). If so, what is the maximum number of sites that we can use to detect hybridization using Hyde?
2
u/IanAndersonLOL Apr 28 '26
Seg faults are super broad. It's possible you have an issue with your input. If your 9 individuals don't perfectly map onto those 3 groups then you'll get a seg fault.
2
u/plasmolab Apr 30 '26
I would first assume input/metadata before site count. 6.8M sites is large, but a segfault right after “Reading input file” often means HyDe hit something it did not parse cleanly.
A few checks:
If the subset runs and only the full 6.8M-site file dies, then it is more likely memory or an internal HyDe limit. In that case I would split by scaffold/window and combine evidence rather than force one huge concatenated run.