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