Truncation of protein sequences for fast profile alignment with application to subcellular localization