DELTA-FILTER(1)
πΈ NAME πΈ
okay bestie, meet delta-filter β she reads a delta alignment file from either nucmer or promer and filters the alignments. that's the whole job description, and she does it flawlessly. she lives in the User Commands part of the manual, iykyk π
β¨ SYNOPSIS β¨
delta-filter [options]<deltafile>
π DESCRIPTION π
π the flags, one by one π
-1β 1-to-1 alignment, and it allows for rearrangements (it's the intersection of the-rand-qalignments, bestie, literally the overlap).-gβ 1-to-1 global alignment, and this one does not allow rearrangements. no shuffling. none. π-hβ display help information. she's telling you how to love her.-ifloat β set the minimum alignment identity[0, 100], default0.-lint β set the minimum alignment length, default0.-mβ many-to-many alignment allowing for rearrangements (the union of the-rand-qalignments).-qβ maps each position of each query to its best hit in the reference, allowing for reference overlaps.-rβ maps each position of each reference to its best hit in the query, allowing for query overlaps.-ufloat β set the minimum alignment uniqueness, i.e. percent of the alignment matching to unique reference AND query sequence[0, 100], default0.-ofloat β set the maximum alignment overlap for the-rand-qoptions as a percent of the alignment length[0, 100], default100.-vβ print the discarded alignments instead of the ones that pass the filters. like showing you the ones that didn't make the cut. iconic honestly.-bβ maps duplications (XOR of the-rand-qalignments β one or the other but not both).
so here's the tea π« β she reads a delta alignment file from either nucmer or promer and filters the alignments based on the command-line switches, leaving only the desired alignments, which get output to stdout in the same delta format as the input. clean. no notes.
if you're stacking multiple switches, the order of operations is literally this:
-i -l -u -q -r -g -m -1 -b
and if an alignment gets excluded by a preceding operation, it will be ignored by the succeeding operations. so it's out for good, no second chances, periodt.
π the -g vs -1 vs -m situation (important) π
an important distinction between the -g option and the -1 and -m options is that -g requires the alignments to be mutually consistent in their order, while -1 and -m are not required to be mutually consistent and therefore tolerate translocations, inversions, etc. she's flexible like that. π
in general cases, the -m option is the best choice β main character energy fr fr. however, -1 can be handy for applications such as SNP finding, which require a 1-to-1 mapping. and finally, for mapping query contigs, or sequencing reads, to a reference genome, use -q. that's her moment. β¨
the duplications printed with the -b option are -r and -q alignments that are not present in the 1-to-1 alignment. these alignments are also the difference between the -1 and -m alignments. π¦
π¦ SEE ALSO π¦
the -b option originates from mugsy, which provides a code copy of mummer with additional patches. the source can be found in SVN:
svn://svn.code.sf.net/p/mugsy/code/trunk
and that's the whole page, bestie β brought to you by mummer 3.23, dated April 2015. she's vintage, she's stable, she's slaying. πβ¨ππ«Ά
π¦ 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