#!/bin/bash

(Rscript  /home/production/cxgn/sgn/R/solgwas/solgwas_script.R /home/production/volume/tmp/solgwas_files/solgwas_download_iRHB6_phenotype.txt /home/production/volume/tmp/solgwas_files/solgwas_download_iRHB6_genotype.txt harvest.index.variable /home/production/volume/tmp/solgwas_files/solgwas_download_iRHB6_harvest_index_variable_figure3.png /home/production/volume/tmp/solgwas_files/solgwas_download_iRHB6_harvest_index_variable_figure4.png 0 0 /home/production/volume/tmp/solgwas_files/solgwas_download_iRHB6_harvest_index_variable_gwasresults_pheno.csv;

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

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