Hi Fabio. Thanks for refering to my Github repository. However, my code is not the source of the STACKS package, just a set of scripts to manage GBS projects and run STACKS itself.
STACKS can be found here: http://catchenlab.life.illinois.edu/stacks/
handling PCR duplicate reads ?
Duplicates In The Context Of Deep Sequencing