modify smallRNA pipeline to be better error-handling