szpiech / lassip

LASSI-Plus: A program to calculate haplotype frequency spectrum statistics
GNU General Public License v3.0
7 stars 2 forks source link

ERROR: Failed to open popfile.txt for reading #5

Closed James-S-Santangelo closed 4 months ago

James-S-Santangelo commented 4 months ago

Hello,

I'm trying to run lassi using the following command:

lassip --vcf Chr05_Occ_Urban_whatshapPhased_shapeitPhased.vcf.gz --hapstats --salti --winsize 201 --winstep 100 --threads 2 --pop popfile.txt --out Chr05_Occ_Urban_salti_test

However, I'm receiving the following error:

ERROR: Failed to open popfile.txt for reading.
terminate called after throwing an instance of 'int'

I've tried changing the delimiter in the popfile and removing underscores in sample names but receive the same error each time. Any idea what might be happening?

Here is the popfile:

popfile.txt

Thanks! James

James-S-Santangelo commented 4 months ago

Of course I solved the issue two seconds later and it was all my fault to begin with 😅