add option for arbratary length truncate, error msg cleanup
add option for arbratary length truncate, error msg cleanup

MG-RAST/pipeline,wgerlach/pipeline,wgerlach/pipeline,MG-RAST/pipeline,teharrison/pipeline,MG-RAST/pipeline,teharrison/pipeline,wgerlach/pipeline,teharrison/pipeline