#!/bin/sh
cd ~/research/gTiger/Article_citsci/open_code
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A1.0_reporting_propensity_data_prep.r A1.0_reporting_propensity_data_prep.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A1.0_spain_sampling_cell_grid.r A1.0_spain_sampling_cell_grid.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A1.1_reporting_propensity_resampling.r A1.1_reporting_propensity_resampling.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A1.1_tigacell_muni_proportions.r A1.1_tigacell_muni_proportions.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A2_reporting_propensity_model.r A2_reporting_propensity_model.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A3_reporting_propensity_predictions.r A3_reporting_propensity_predictions.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A4_biweek_reports_sampling_effort_prep.r A4_biweek_reports_sampling_effort_prep.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A4_ovitrap_model_dataset_prep.r A4_ovitrap_model_dataset_prep.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A5_mosquito_alert_model.r A5_mosquito_alert_model.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A5_ovitrap_model.r A5_ovitrap_model.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A6_ovitrap_mosquiti_alert_comparison.r A6_ovitrap_mosquiti_alert_comparison.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore A7_commuting_risks.r A7_commuting_risks.out 
/home/soft/R-3.2.1/bin/R CMD BATCH --no-save --no-restore figures_maps_animated.r figures_maps_animated.out 

# run using:
# qsub -pe make 20 -l h_vmem=6G -m bea -M johnrbpalmer@gmail.com research/gTiger/Article_citsci/open_code/run_all.sh