#!/bin/bash

(Rscript  /home/production/cxgn/sgn/R/solgwas/solgwas_script.R /home/production/volume/tmp/solgwas_files/solgwas_download_smAGx_phenotype.txt /home/production/volume/tmp/solgwas_files/solgwas_download_smAGx_genotype.txt boiled.storage.root.color.visual.1-3 /home/production/volume/tmp/solgwas_files/solgwas_download_smAGx_boiled_storage_root_color_visual_1-3_figure3.png /home/production/volume/tmp/solgwas_files/solgwas_download_smAGx_boiled_storage_root_color_visual_1-3_figure4.png 0 0 /home/production/volume/tmp/solgwas_files/solgwas_download_smAGx_boiled_storage_root_color_visual_1-3_gwasresults_pheno.csv;

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

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