I'm running stacks 2.0 on my university's cluster with the following script:
denovo_map.pl -M 3 -n 0 -T 15 -o /path/to/output/directory --popmap /path/to/map --samples /path/to/samples -X "populations: -p 3 -r 0.80 --fstats --genepop --vcf"
I'm doing this on 272 samples that have already gone through the process rad command. I checked the log, and it goes through sample by sample as expected. When it gets to sample 231, it reads the infput file, loads the rad stacks, estimates stack coverage, assembled the stacks, merges secondary stacks, estimates final coverage, and then fails at this step:
"Calling consensus sequences and haplotypes for catalog assembly...
Writing tags, SNPs, and alleles files...
Refetching read IDs...Error: Unable to open tag file for writing.
I'm going to try deleting that sample and continuing. But do you know what went wrong?
Thanks!