nt=$(nproc) | nt=$(nproc) | ||||
if [${normal_bam}];then | |||||
INPUT="-i ${tumor_bam} -i ${normal_bam}" | |||||
SAMPLE="--tumor_sample ${tumor_name} --normal_sample ${normal_name}" | |||||
else | |||||
INPUT="-i ${tumor_bam}" | |||||
SAMPLE="--tumor_sample ${tumor_name}" | |||||
fi | |||||
INPUT="-i ${tumor_bam} -i ${normal_bam}" | |||||
SAMPLE="--tumor_sample ${tumor_name} --normal_sample ${normal_name}" | |||||
sentieon driver -t $nt -r ${ref_dir}/${ref_fasta} \ | sentieon driver -t $nt -r ${ref_dir}/${ref_fasta} \ | ||||
$INPUT \ | $INPUT \ |