#!/bin/bash

(Rscript  /home/production/cxgn/sgn/R/solgwas/solgwas_script.R /home/production/volume/tmp/solgwas_files/solgwas_download_3ar6x_phenotype.txt /home/production/volume/tmp/solgwas_files/solgwas_download_3ar6x_genotype.txt ease.of.peeling.root.cortex.visual.rating.1-7 /home/production/volume/tmp/solgwas_files/solgwas_download_3ar6x_ease_of_peeling_root_cortex_visual_rating_1-7_figure3.png /home/production/volume/tmp/solgwas_files/solgwas_download_3ar6x_ease_of_peeling_root_cortex_visual_rating_1-7_figure4.png 0 0 /home/production/volume/tmp/solgwas_files/solgwas_download_3ar6x_ease_of_peeling_root_cortex_visual_rating_1-7_gwasresults_pheno.csv;

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

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