SHOW-DIFF(1)
๐ SHOW-DIFF(1) โ user commands, but make it cute
okay bestie, so show-diff is the little tool that spills the tea on structural differences โ it's part of the mummer package, and yes it's iconic for that ๐
โจ NAME โจ
show-diff โ show diff information (part of mummer package) ๐ฆ
๐ธ SYNOPSIS ๐ธ
show-diff [options]<deltafile>
๐ DESCRIPTION ๐
-fโ output diff information as AMOS features โจ-hโ display help information ๐โโ๏ธ-Hโ do not show header ๐ซ-qโ show diff information for queries ๐-rโ show diff information for references (this is the default, no cap) ๐
It outputs a list of structural differences for each sequence in the reference and the query, sorted by position. So for a reference sequence R and its matching query sequence Q, the differences get sorted into these lil categories:
GAPโ a gap between two mutually consistent alignments ๐ณ๏ธDUPโ an inserted duplication ๐ฏBRKโ other inserted sequence ๐งฉJMPโ a rearrangement ๐ฆINVโ a rearrangement with inversion ๐SEQโ a rearrangement with another sequence ๐
The first five columns of the output are: seq ID, feature type, feature start, feature end, and feature length. Extra columns get added depending on the feature type, because of course they do ๐
heads up! Negative feature lengths mean there are overlapping adjacent alignment blocks. Not a glitch, just math ๐ญ
Here's what the output looks like for each type:
IDR GAP gap-start gap-end gap-length-R gap-length-Q gap-diff
IDR DUP dup-start dup-end dup-length
IDR BRK gap-start gap-end gap-length
IDR JMP gap-start gap-end gap-length
IDR INV gap-start gap-end gap-length
IDR SEQ gap-start gap-end gap-length prev-sequence next-sequence
Positions always reference the sequence with the given ID, fr fr.
The sum of the fifth column (ignoring negative values) is the total amount of inserted sequence ๐งฎโจ Summing the fifth column after removing DUP features gives you the total unique inserted sequence ๐ซถ
important bestie!! Note that unaligned sequence is not counted, and could represent additional "unique" sequences ๐ See the documentation for tips on how to interpret these alignment break features, iykyk ๐
and that's the whole vibe, bestie ๐ this page is from mummer 3.23, dated April 2015 โ go off, you got this ๐โจ๐
๐ฆ where this page comes from
- debian bookworm: mummer 3.23+dfsg-8 ยท Artistic-1.0-Perl
- debian trixie: mummer 3.23+dfsg-8 ยท Artistic-1.0-Perl
- ubuntu jammy: mummer 3.23+dfsg-7 ยท Artistic-1.0-Perl
- ubuntu noble: mummer 3.23+dfsg-8 ยท Artistic-1.0-Perl
- ubuntu questing: mummer 3.23+dfsg-8
- ubuntu resolute: mummer 3.23+dfsg-8build1 ยท Artistic-1.0-Perl
- ubuntu stonking: mummer 3.23+dfsg-8build1 ยท Artistic-1.0-Perl
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms