#!/bin/bash

(Rscript  /home/production/cxgn/sgn/R/solgwas/solgwas_script.R /home/production/volume/tmp/solgwas_files/solgwas_download_ajGzP_phenotype.txt /home/production/volume/tmp/solgwas_files/solgwas_download_ajGzP_genotype.txt fresh.shoot.weight.measurement.in.kg.per.plot /home/production/volume/tmp/solgwas_files/solgwas_download_ajGzP_fresh_shoot_weight_measurement_in_kg_per_plot_figure3.png /home/production/volume/tmp/solgwas_files/solgwas_download_ajGzP_fresh_shoot_weight_measurement_in_kg_per_plot_figure4.png 0 0 /home/production/volume/tmp/solgwas_files/solgwas_download_ajGzP_fresh_shoot_weight_measurement_in_kg_per_plot_gwasresults_pheno.csv;

FINISH_TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S%z"); 
echo "333    $FINISH_TIMESTAMP" >> /home/production/volume/logs/job_finish.log ;

) > /home/production/volume/tmp/solgwas_files/job_RuYrU9/out 2> /home/production/volume/tmp/solgwas_files/job_RuYrU9/err