Greetings-- I've complied Stacks to run on an M2 Mac laptop-- using a test set of 26 paired samples- ustacks and cstacks execute well however I am getting this "unable to parse catalog error". The catalogs are in the same folder as the output from cstacks -- Stacks9-- below-- The Dropbox Folder is LOCAL and offline, so no writing problems.
Thanks for suggestions and help, and would be glad to know it is a obvious beginner's error :-)
Bud Freeman, UGA
Specs: M2Max, 96gb Osx 14.2 Stacks v 2.64
Percina % sh CSstacks.sh
Searching for matches by sequence identity...
Unable to open '$/Users/bud/Dropbox/Percina/Stacks9/catalog'
Error: Unable to parse catalog, '$/Users/bud/Dropbox/Percina/Stacks9/catalog'
terminate called after throwing an instance of 'std::exception'
what(): std::exception
CSstacks.sh: line 41: 4732 Abort trap: 6 sstacks -P $/Users/bud/Dropbox/Percina/Stacks9 -M /Users/bud/Dropbox/Percina/Perc_population_map_p9.txt -p 12
Hi,
I am unsure why you have a ‘$’ in your path to the stacks directory in your sstacks command, but as the program says, “Unable to open '$/Users/bud/Dropbox/Percina/Stacks9/catalog'” , it is unable to open the path, which seems to begin with ‘$’ (of course, ‘$’ is usually used as the command line prompt in the shell, so maybe you inadvertently included it in your sstacks path?).
julian