run_analyze function

Runs the analysis step for a startr project.