Skip to content

Commit 132cae4

Browse files
committed
Added logging to genomicsDB untarring.
1 parent 08f077a commit 132cae4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

wdl/tasks/VariantCalling/SRJointGenotyping_simplified.wdl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ task ImportGVCFs {
223223
224224
let java_memory_size_mb=$((available_memory_mb-off_heap_memory_mb))
225225
226+
echo "--------------------------------" >&2
227+
date >&2
226228
echo "--------------------------------" >&2
227229
echo "Memory info:" >&2
228230
echo Total available memory: ${available_memory_mb} MB >&2
@@ -247,8 +249,13 @@ task ImportGVCFs {
247249
echo "--------------------------------" >&2
248250
249251
if [[ ~{has_existing_genomicsdb_tar} == "true" ]] ; then
252+
t_start=$(date +%s)
253+
date
250254
echo "Untarring existing GenomicsDB workspace: ~{existing_genomicsdb_tar}..."
251255
tar -xf ~{existing_genomicsdb_tar}
256+
date
257+
t_end=$(date +%s)
258+
echo "Untarring existing GenomicsDB workspace: ~{existing_genomicsdb_tar} took $((t_end - t_start)) seconds"
252259
fi
253260
254261
gatk --java-options "-Xms8192m -Xmx${java_memory_size_mb}m" \

0 commit comments

Comments
 (0)