We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e1bd3 commit 7616d69Copy full SHA for 7616d69
1 file changed
Handlers/Haplotype_Caller.sh
@@ -70,7 +70,15 @@ function Haplotype_Caller_GATK4() {
70
declare -a sample_array=($(grep -E ".bam" "${sample_list}")) # Turn the list into an array
71
# Perform the most basic checks
72
mkdir -p "${out}" # Make sure the out directory exists
73
-
+ # Check if tmp variable is empty, if not empty make directory
74
+ if [ -z $test_var ]; then
75
+ # tmp variable is empty
76
+ echo "Not using temp directory, proceeding..."
77
+ else
78
+ echo "Making temp directory"
79
+ mkdir -p "${tmp}"
80
+ fi
81
+
82
# Check if we need to fix quality scores
83
if [[ ${qscores} == true ]]
84
then
0 commit comments