diff --git a/bwa.wdl b/bwa.wdl
index 6cd0cdaeac4e2cefe08e8171608be38106a05994..6f71b2f7541771f761feea7b8b36377dc7cae02f 100644
--- a/bwa.wdl
+++ b/bwa.wdl
@@ -83,7 +83,7 @@ task mem {
         INPUT=/dev/stdin OUTPUT=${outputFile}
     }
     output {
-        File samFile = select_first([outputFile])
+        File alignedFile = select_first([outputFile])
     }
     runtime {
         cpu: select_first([threads])
diff --git a/samtools.wdl b/samtools.wdl
index 91fc3178fa08dddc5529de9bb22217582198f4e8..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644
--- a/samtools.wdl
+++ b/samtools.wdl
@@ -1,28 +0,0 @@
-task getContigMostCoverage {
-    String? preCommand
-    File bamFile
-    String? outputFilePath = "mostCoveredContig.bam"
-    command <<<
-        set -e -o pipefail
-        ${preCommand}
-        samtools view -hb wgs1.bam $( \
-            samtools idxstats wgs1.bam \
-            | grep -ve "^\*" \
-            | awk '{ print $1"\t"($3/$2)}' \
-            | sort -rnk2 \
-            | head -n 1 \
-            | cut -f1) \
-        > ${outputFilePath}
-        samtools index ${outputFilePath}
-    >>>
-
-    output {
-        File contig = outputFilePath
-    }
-
-    parameter_meta {
-        preCommand: "This command is run before running the samtools command. Can be used to set up environments such as conda."
-        bamFile: "Must be a sorted BAM file with an index"
-        outputFilePath: "where the output file is stored"
-    }
-}
\ No newline at end of file