pblischak / HyDe

Hybridization detection using phylogenetic invariants
http://hybridization-detection.readthedocs.io
GNU General Public License v3.0
41 stars 15 forks source link

"number of sites specified is not equal to number of sites in data file" #20

Closed rakeuler closed 3 years ago

rakeuler commented 3 years ago

Hi, I'm getting a confusing error, and I'm not sure what to do about it. My files have 515571 sites but won't accept that input. I've attached a screenshot where all I've done is changed the number after -s. image Thanks, Rachel

pblischak commented 3 years ago

Hi Rachel,

Is the data file that you're using in Phylip format (with the number of individuals and number of sites at the top)? HyDe tries to do some spot checking to make sure that everything matches up in the input matrix. That's definitely a little strange that it switches depending on which number you use for the -n flag, though. Do all the rows in your input file have the same number of sites?

Paul