Added compatibility with bisulfite case
moved table and functions from stringutils
minnor changes in string utils