Skip to content

Commit

Permalink
Update imputation.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdb authored May 20, 2022
1 parent 743b9f0 commit 58d3307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/geno_prep/imputation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ done

##begin to impute
echo -e "\n"
echo -e "Begin to impute the genotype data using impute2 \n"
echo -e "Imputing the genotype data with IMPUTE2... \n"


for i in `seq 1 ${nchr}`
Expand Down Expand Up @@ -84,7 +84,7 @@ done
## employ parallel computing for imputation
time ParaFly -c impute_params.txt -CPU $ncores
if [[ $(wc -l < impute_params.txt) -ne $(wc -l < impute_params.txt.completed) ]];then
echo -e "\nPlease note that some of the jobs are not finished !!! This could be a memeory allocation issue.\n"
echo -e "\nWarning: Some of the jobs are imcomplete! There could be a memeory allocation issue.\n"
kill -10 $job_id
fi

0 comments on commit 58d3307

Please sign in to comment.