@@ -26,14 +26,16 @@ task sentieon_TNseq{ | |||
set -exo | |||
export SENTIEON_LICENSE=${SENTIEON_LICENSE} | |||
nt=$(nproc) | |||
REGION=${regions} | |||
NORMAL=${normal_bam} | |||
if [-z ${regions} ]; then | |||
if [[ -z "$REGION" ]]; then | |||
INTERVAL="--interval ${regions} --interval_padding ${interval_padding}" | |||
else: | |||
INTERVAL="" | |||
fi | |||
if [-z ${normal_bam}];then | |||
if [[ -z "$NORMAL" ]];then | |||
INPUT="-i ${tumor_bam} -i ${normal_bam}" | |||
SAMPLE="--tumor_sample ${tumor_name} --normal_sample ${normal_name}" | |||
else: |