diff --git a/variants/germline_vc.sh b/variants/germline_vc.sh index 59c5d0582fd5c8588d89cafc4a7277e4cf74cbbe..a4ff47e47d4e3ec6ef953a04d4f1e41affc8c648 100755 --- a/variants/germline_vc.sh +++ b/variants/germline_vc.sh @@ -83,12 +83,15 @@ then bgzip ${pair_id}.sam.vcf elif [[ $algo == 'fb' ]] then + paropt="--delay 1 --jobs 0 --memfree 2G" if [[ -z $isdocker ]] then module load freebayes/gcc/1.2.0 parallel/20150122 paropt="--delay 2 -j $NPROC" - else - paropt="--delay 1 --jobs 0 --memfree 2G" + fi + if [[ -n $biohpc ]] + then + paropt="--delay 2 -j $NPROC" fi bamlist='' for i in *.bam; do