diff --git a/CHANGELOG.md b/CHANGELOG.md
index dec107859d6771adca59893efc99d29370d038da..e323acda8d084cc08cfb7ff7b169fda5eb763280 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,7 +11,7 @@ that users understand how the changes affect the new version.
 
 version 2.1.0-dev
 ---------------------------
-+ Updated parameter_meta sections for Minimap2 and TranscriptClean.
++ Updated parameter_meta sections for Minimap2 and TranscriptClean to wdl-aid format.
 + Updated cores variable for TALON.
 + Updated TALON to version 4.4.
 + Added parameter_meta sections to the following tools:
diff --git a/minimap2.wdl b/minimap2.wdl
index df439a81d8b429df888ea351ff88f3e2ccb0f3ad..da570ecf0c0008fd8255b661413ecbbd8be6b03c 100644
--- a/minimap2.wdl
+++ b/minimap2.wdl
@@ -96,18 +96,17 @@ task Mapping {
         Int kmerSize = 15
         Boolean outputSAM = false
         String outputPrefix
+        Boolean addMDtagToSAM = false
+        Boolean secondaryAlignment = false
         File referenceFile
         File queryFile
 
         Int? maxIntronLength
         Int? maxFragmentLength
-        Boolean? skipSelfAndDualMappings
         Int? retainMaxSecondaryAlignments
         Int? matchingScore
         Int? mismatchPenalty
         String? howToFindGTAG
-        Boolean? addMDtagToSAM
-        Boolean? secondaryAlignment
 
         Int cores = 4
         String memory = "30G"
@@ -122,6 +121,8 @@ task Mapping {
         ~{"-k " + kmerSize} \
         ~{true="-a" false="" outputSAM} \
         ~{"-o " + outputPrefix} \
+        ~{true="--MD" false="" addMDtagToSAM} \
+        --secondary=~{true="yes" false="no" secondaryAlignment} \
         ~{"-t " + cores} \
         ~{"-G " + maxIntronLength} \
         ~{"-F " + maxFragmentLength} \
@@ -130,8 +131,6 @@ task Mapping {
         ~{"-A " + matchingScore} \
         ~{"-B " + mismatchPenalty} \
         ~{"-u " + howToFindGTAG} \
-        ~{true="--MD" false="" addMDtagToSAM} \
-        --secondary=~{true="yes" false="no" secondaryAlignment} \
         ~{referenceFile} \
         ~{queryFile}
     }