#!/bin/bash

(Rscript  /home/production/cxgn/sgn/R/solgwas/solgwas_script.R /home/production/volume/tmp/solgwas_files/solgwas_download_Sh_9j_phenotype.txt /home/production/volume/tmp/solgwas_files/solgwas_download_Sh_9j_genotype.txt dry.matter.content.percentage /home/production/volume/tmp/solgwas_files/solgwas_download_Sh_9j_dry_matter_content_percentage_figure3.png /home/production/volume/tmp/solgwas_files/solgwas_download_Sh_9j_dry_matter_content_percentage_figure4.png 0 0 /home/production/volume/tmp/solgwas_files/solgwas_download_Sh_9j_dry_matter_content_percentage_gwasresults_pheno.csv;

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

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