Dear Aloop, very sorry for your troubles! It looks like we have a typo in the example command lines for Script 4 in the User Manual! The -db argument needs to be followed by a number. In the sample command line, it is immediately followed by the -min argument, which is what is causing the problem. Simplest solution is to follow -db with the number of genotypes being used for Mock Reference construction. For example, if you are using only the single most read-abundant genotype, your command should be:
shashi_bhushan_tripathi@SBT:~/PTCMB/GBS-SNP-CROP-POLYGO/Polygo_Complete_Ananlysis/parsed/demultiplexed$ perl GBS-SNP-CROP-4.pl -vs /usr/local/bin/vsearch -d SE -b barcodesID.txt -t 10 -cl consout -p 0.01 -id 0.93 -db 1 -min 32 -MR
POLYGO.MR
I hope that helps,
Iago