general tool to batch manipulate sequence strings