Bash code to run data analysis.