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 -r and -q alignments, 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.
  • -i float β€” set the minimum alignment identity [0, 100], default 0.
  • -l int β€” set the minimum alignment length, default 0.
  • -m β€” many-to-many alignment allowing for rearrangements (the union of the -r and -q alignments).
  • -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.
  • -u float β€” set the minimum alignment uniqueness, i.e. percent of the alignment matching to unique reference AND query sequence [0, 100], default 0.
  • -o float β€” set the maximum alignment overlap for the -r and -q options as a percent of the alignment length [0, 100], default 100.
  • -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 -r and -q alignments β€” 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. πŸ’–βœ¨πŸŽ€πŸ«Ά