# HG changeset patch # User jbrayet # Date 1448439729 18000 # Node ID 8be7fb96589d1b6a176868ee89d92ef39ead2311 # Parent 695b40cab89b158b7ba95864a1a3d0be0e408460 Uploaded diff -r 695b40cab89b -r 8be7fb96589d samtools_calmd.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/samtools_calmd.xml Wed Nov 25 03:22:09 2015 -0500 @@ -0,0 +1,99 @@ + + recalculate MD/NM tags + + macros.xml + + + + + "$calmd_output" ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**What it does** + +Generates the MD tag using ``samtools calmd`` command. If the MD tag (see SAM format refernce below for explanation of SAM/BAM tags) is already present, this command will give a warning if the MD tag generated is different from the existing tag. Outputs a BAM file. The command has the following options:: + + -e change identical bases to '=' + -A modify the quality string + -r compute the BQ tag (without -A) or cap baseQ by BAQ (with -A) + -E extended BAQ for better sensitivity but lower specificity + +----- + +**NM and MD tags** + +From SAM format specification:: + + MD (string) String for mismatching positions. Regex : [0-9]+(([A-Z]|\^[A-Z]+)[0-9]+)*7 + NM (indeger) Edit distance to the reference, including ambiguous bases but excluding clipping + +See refernces for more information about SAM format tags. + + + +