MUMMER(1)

✨ MUMMER(1) β€” General Commands Manual ✨

okay bestie, welcome to mummer(1) πŸ’– this is the General Commands Manual page for the whole mummer package β€” a whole lil family of tools that do sequence alignment of multiple genomes. it's a big one so buckle up, we're doing this in parts 🫢


🌸 NAME 🌸

mummer β€” package for sequence alignment of multiple genomes 🧬✨


πŸ’… SYNOPSIS πŸ’…

mummer-annotate <gapfile><datafile>
combineMUMs <RefSequence><MatchSequences><GapsFile>
dnadiff [options]<reference><query> or [options]-d<deltafile>
exact-tandems <file><min-match-len>
gaps
mapview [options]<coordsfile>[UTRcoords][CDScoords]
mgaps [-d<DiagDiff>][-f<DiagFactor>][-l<MatchLen>][-s<MaxSeparation>]
mummer [options]<reference-file><query-files>
mummerplot [options]<matchfile>
nucmer [options]<Reference><Query>
nucmer2xfig
promer [options]<Reference><Query>
repeat-match [options]<genome-file>
run-mummer1 <fastareference><fastaquery><prefix>[-r]
run-mummer3 <fastareference><multi-fastaquery><prefix>
show-aligns [options]<deltafile><refID><qryID>

so like, the input here is the .delta output of either the nucmer program or the promer program, and you pass it right on the command line πŸŽ€

the output goes to stdout, and it's made up of all the alignments between the query and reference sequences you named on the command line. all of them. every single one. no skimping πŸ’―

⚠️ NOTE: no sorting is done by default, so the alignments will be ordered exactly as they're found in the <deltafile> input. it's giving "first come first served" and honestly? iconic.
show-coords [options]<deltafile>
show-snps [options]<deltafile>
show-tiling [options]<deltafile>

πŸ¦‹ DESCRIPTION πŸ¦‹

this section is just vibes and honestly it's empty in the original too, so we move πŸ™ˆ


πŸ‘‘ OPTIONS πŸ‘‘

okay so all the tools β€” except for gaps β€” obey the -h, --help, -V and --version options, exactly as one would expect. and bestie, this help is excellent, it makes these man pages basically obsolete. i said what i said πŸ’…


πŸ“ combineMUMs πŸ“

combines MUMs in <GapsFile> by extending matches off ends and between MUMs ✨

  • <RefSequence> is a fasta file of the reference sequence
  • <MatchSequences> is a multi-fasta file of the sequences matched against the reference

the flags, in order:

  • -D β€” only output to stdout the difference positions and characters
  • -n β€” allow matches only between nucleotides, i.e., ACGTs
  • -N num β€” break matches at <num> or more consecutive non-ACGTs
  • -q tag β€” used to label query match
  • -r tag β€” used to label reference match
  • -S β€” output all differences in strings
  • -t β€” label query matches with query fasta header
  • -v num β€” set verbose level for extra output
  • -W file β€” reset the default output filename witherrors.gaps
  • -x β€” don't output .cover files
  • -e β€” set error-rate cutoff to e (e.g. 0.02 is two percent)

🌈 dnadiff 🌈

runs comparative analysis of two sequence sets using nucmer and its associated utilities with recommended parameters πŸ”₯ see the MUMmer documentation for a more detailed description of the output.

it produces the following output files:

  • .report β€” summary of alignments, differences and SNPs
  • .delta β€” standard nucmer alignment output
  • .1delta β€” 1-to-1 alignment from delta-filter -1
  • .mdelta β€” M-to-M alignment from delta-filter -m
  • .1coords β€” 1-to-1 coordinates from show-coords -THrcl .1delta
  • .mcoords β€” M-to-M coordinates from show-coords -THrcl .mdelta
  • .snps β€” SNPs from show-snps -rlTHC .1delta
  • .rdiff β€” classified ref breakpoints from show-diff -rH .mdelta
  • .qdiff β€” classified qry breakpoints from show-diff -qH .mdelta
  • .unref β€” unaligned reference IDs and lengths (if applicable)
  • .unqry β€” unaligned query IDs and lengths (if applicable)

πŸ’– MANDATORY:

  • reference β€” set the input reference multi-FASTA filename
  • query β€” set the input query multi-FASTA filename
  • or
  • delta file β€” unfiltered .delta alignment file from nucmer

πŸ’– OPTIONS:

  • -d|delta β€” provide precomputed delta file for analysis
  • -h
  • --help β€” display help information and exit
  • -p|prefix β€” set the prefix of the output files (default "out")
  • -V
  • --version β€” display the version information and exit

🧚 mapview 🧚

  • -h
  • --help β€” display help information and exit
  • -m|mag β€” set the magnification at which the figure is rendered, this is an option for fig2dev which is used to generate the PDF and PS files (default 1.0)
  • -n|num β€” set the number of output files used to partition the output, this is to avoid generating files that are too large to display (default 10)
  • -p|prefix β€” set the output file prefix (default "PROMER_graph or NUCMER_graph")
  • -v
  • --verbose β€” verbose logging of the processed files
  • -V
  • --version β€” display the version information and exit
  • -x1 coord β€” set the lower coordinate bound of the display
  • -x2 coord β€” set the upper coordinate bound of the display
  • -g|ref β€” if the input file is provided by mgaps, set the reference sequence ID (as it appears in the first column of the UTR/CDS coords file)
  • -I β€” display the name of query sequences
  • -Ir β€” display the name of reference genes

πŸ’œ mummer πŸ’œ

finds and outputs (to stdout) the positions and length of all sufficiently long maximal matches of a substring in <query-file> and <reference-file> 🎯

  • -mum β€” compute maximal matches that are unique in both sequences
  • -mumcand β€” same as -mumreference
  • -mumreference β€” compute maximal matches that are unique in the reference-sequence but not necessarily in the query-sequence (default)
  • -maxmatch β€” compute all maximal matches regardless of their uniqueness
  • -n β€” match only the characters a, c, g, or t; they can be in upper or in lower case
  • -l β€” set the minimum length of a match; if not set, the default value is 20
  • -b β€” compute forward and reverse complement matches
  • -r β€” only compute reverse complement matches
  • -s β€” show the matching substrings
  • -c β€” report the query-position of a reverse complement match relative to the original query sequence
  • -F β€” force 4 column output format regardless of the number of reference sequence inputs
  • -L β€” show the length of the query sequences on the header line

✨ nucmer ✨

nucmer generates nucleotide alignments between two mutli-FASTA input files. two output files are generated:

  • the .cluster output file lists clusters of matches between each sequence
  • the .delta file lists the distance between insertions and deletions that produce maximal scoring alignments between each sequence

πŸŽ€ MANDATORY:

  • Reference β€” set the input reference multi-FASTA filename
  • Query β€” set the input query multi-FASTA filename

πŸŽ€ OPTIONS:

  • --mum β€” use anchor matches that are unique in both the reference and query
  • --mumcand β€” same as --mumreference
  • --mumreference β€” use anchor matches that are unique in in the reference but not necessarily unique in the query (default behavior)
  • --maxmatch β€” use all anchor matches regardless of their uniqueness
  • -b|breaklen β€” set the distance an alignment extension will attempt to extend poor scoring regions before giving up (default 200)
  • -c|mincluster β€” sets the minimum length of a cluster of matches (default 65)
  • --[no]delta β€” toggle the creation of the delta file (default --delta)
  • --depend β€” print the dependency information and exit
  • -d|diagfactor β€” set the clustering diagonal difference separation factor (default 0.12)
  • --[no]extend β€” toggle the cluster extension step (default --extend)
  • -f
  • --forward β€” use only the forward strand of the Query sequences
  • -g|maxgap β€” set the maximum gap between two adjacent matches in a cluster (default 90)
  • -h
  • --help β€” display help information and exit
  • -l|minmatch β€” set the minimum length of a single match (default 20)
  • -o
  • --coords β€” automatically generate the original NUCmer1.1 coords output file using the show-coords program
  • --[no]optimize β€” toggle alignment score optimization, i.e. if an alignment extension reaches the end of a sequence, it will backtrack to optimize the alignment score instead of terminating the alignment at the end of the sequence (default --optimize)
  • -p|prefix β€” set the prefix of the output files (default "out")
  • -r
  • --reverse β€” use only the reverse complement of the Query sequences
  • --[no]simplify β€” simplify alignments by removing shadowed clusters. turn this option off if aligning a sequence to itself to look for repeats (default --simplify)

🌟 promer 🌟

promer generates amino acid alignments between two mutli-FASTA DNA input files. two output files are generated:

  • the .cluster output file lists clusters of matches between each sequence
  • the .delta file lists the distance between insertions and deletions that produce maximal scoring alignments between each sequence

the DNA input is translated into all 6 reading frames in order to generate the output, but the output coordinates reference the original DNA input πŸ‘‘

πŸ¦„ MANDATORY:

  • Reference β€” set the input reference multi-FASTA DNA file
  • Query β€” set the input query multi-FASTA DNA file

πŸ¦„ OPTIONS:

  • --mum β€” use anchor matches that are unique in both the reference and query
  • --mumcand β€” same as --mumreference
  • --mumreference β€” use anchor matches that are unique in in the reference but not necessarily unique in the query (default behavior)
  • --maxmatch β€” use all anchor matches regardless of their uniqueness

okay bestie we're still in the options, I know, but the mummer flag buffet is nearly done, stay with me πŸ’–

  • -b|breaklen β€” how far an alignment extension will try to push through a poorly-scoring region before it gives up, measured in amino acids (default 60)
  • -c|mincluster β€” the minimum length of a cluster of matches, measured in amino acids (default 20)
  • --[no]delta β€” toggles whether the delta file gets made at all (default --delta)
  • --depend β€” prints the dependency info and then dips ✌️
  • -d|diagfactor β€” the clustering diagonal difference separation factor (default .11)
  • --[no]extend β€” toggles the cluster extension step (default --extend)
  • -g|maxgap β€” the biggest gap allowed between two adjacent matches inside a cluster, measured in amino acids (default 30)
  • -l|minmatch β€” the minimum length of a single match, measured in amino acids (default 6)
  • -m|masklen β€” the maximum bookend masking length, measured in amino acids (default 8)
  • -o, --coords β€” automatically generates the original PROmer1.1 .coords output file using the show-coords program
  • --[no]optimize β€” toggles alignment score optimization. like, if an alignment extension reaches the end of a sequence, it'll backtrack to optimize the alignment score instead of just terminating the alignment at the end of the sequence (default --optimize)
  • -p|prefix β€” sets the prefix of the output files (default "out")
  • -x|matrix β€” picks the alignment matrix number: 1 [BLOSUM 45], 2 [BLOSUM 62] or 3 [BLOSUM 80] (default 2)

πŸŽ€ repeat-match πŸŽ€

finds all the maximal exact matches in <genome-file> β€” no notes, just vibes πŸ¦‹

  • -E β€” use exhaustive (slow) search to find matches. bestie, it's thorough but it's slow, you've been warned 🐌
  • -f β€” forward strand only, don't use the reverse complement
  • -n # β€” set minimum exact match length to #
  • -t β€” only output tandem repeats
  • -V # β€” set the level of verbose (debugging) printing to #

✨ show-aligns ✨

  • -h β€” display help information
  • -q β€” sort alignments by the query start coordinate
  • -r β€” sort alignments by the reference start coordinate
  • -w int β€” set the screen width β€” default is 60
  • -x int β€” set the matrix type β€” default is 2 (BLOSUM 62), other options include 1 (BLOSUM 45) and 3 (BLOSUM 80)
    • note: only has effect on amino acid alignments

πŸ’… show-coords πŸ’…

  • -b β€” merges overlapping alignments regardless of match dir or frame, and does not display any identity information
  • -B β€” switch output to btab format
  • -c β€” include percent coverage information in the output
  • -d β€” display the alignment direction in the additional FRM columns (default for promer)
  • -g β€” deprecated option. Please use 'delta-filter' instead
  • -h β€” display help information
  • -H β€” do not print the output header
  • -I float β€” set minimum percent identity to display
  • -k β€” knockout (do not display) alignments that overlap another alignment in a different frame by more than 50% of their length, AND have a smaller percent similarity or are less than 75% of the size of the other alignment (promer only)
  • -l β€” include the sequence length information in the output
  • -L long β€” set minimum alignment length to display
  • -o β€” annotate maximal alignments between two sequences, i.e. overlaps between reference and query sequences
  • -q β€” sort output lines by query IDs and coordinates
  • -r β€” sort output lines by reference IDs and coordinates
  • -T β€” switch output to tab-delimited format

Input is the .delta output of either the nucmer or the promer program passed on the command line.

Output is to stdout, and it's a list of coordinates, percent identity, and other useful info about the alignment data sitting in the .delta file you fed it as input.

NOTE: no sorting is done by default, so the alignments will be ordered exactly as found in the <deltafile> input. fr fr, no sneaky reordering 🌸

🫢 show-snps 🫢

  • -C β€” do not report SNPs from alignments with an ambiguous mapping, i.e. only report SNPs where the [R] and [Q] columns equal 0 and do not output these columns
  • -h β€” display help information
  • -H β€” do not print the output header
  • -I β€” do not report indels
  • -l β€” include sequence length information in the output
  • -q β€” sort output lines by query IDs and SNP positions
  • -r β€” sort output lines by reference IDs and SNP positions
  • -S β€” specify which alignments to report by passing 'show-coords' lines to stdin
  • -T β€” switch to tab-delimited format
  • -x int β€” include x characters of surrounding SNP context in the output, default 0

Input is the .delta output of either the nucmer or promer program passed on the command line.

Output is to stdout, and it's a list of SNPs (or amino acid substitutions for promer) with positions and other useful info. Output will be sorted with -r by default, and the [BUFF] column will always refer to the sequence whose positions have been sorted. That value is the distance from this SNP to the nearest mismatch (end of alignment, indel, SNP, etc) in the same alignment, while the [DIST] column is the distance from this SNP to the nearest sequence end. SNPs where the [R] and [Q] columns are greater than 0 should be evaluated with caution, because those columns specify the number of other alignments overlapping this position. Use -C to make sure SNPs are only reported from unique alignment regions. protect your peace and your SNP calls πŸ’œ

🌈 show-tiling 🌈

  • -a β€” describe the tiling path by printing the tab-delimited alignment region coordinates to stdout
  • -c β€” assume the reference sequences are circular, and allow tiled contigs to span the origin
  • -g int β€” set maximum gap between clustered alignments [-1, INT_MAX]
    • a value of -1 will represent infinity
    • (nucmer default = 1000)
    • (promer default = -1)
  • -i float β€” set minimum percent identity to tile [0.0, 100.0]
    • (nucmer default = 90.0)
    • (promer default = 55.0)
  • -l int β€” set minimum length contig to report [-1, INT_MAX]
    • a value of -1 will represent infinity
    • (common default = 1)
  • -p file β€” output a pseudo molecule of the query contigs to 'file'
  • -R β€” deal with repetitive contigs by randomly placing them in one of their copy locations (implies -V 0)
  • -t file β€” output a TIGR style contig list of each query sequence that sufficiently matches the reference (non-circular)
  • -u file β€” output the tab-delimited alignment region coordinates of the unusable contigs to 'file'
  • -v float β€” set minimum contig coverage to tile [0.0, 100.0]
    • (nucmer default = 95.0) sum of individual alignments
    • (promer default = 50.0) extent of syntenic region
  • -V float β€” set minimum contig coverage difference [0.0, 100.0], i.e. the difference needed to determine one alignment is 'better' than another alignment
    • (nucmer default = 10.0) sum of individual alignments
    • (promer default = 30.0) extent of syntenic region
  • -x β€” describe the tiling path by printing the XML contig linking information to stdout

Input is the .delta output of the nucmer program, run on very similar sequence data, or the .delta output of the promer program, run on divergent sequence data.

Output is to stdout, and it's the predicted location of each aligning query contig as mapped to the reference sequences. These coordinates reference the extent of the entire query contig, even when only a certain percentage of the contig was actually aligned (unless the -a option is used). Columns are, start in ref, end in ref, distance to next contig, length of this contig, alignment coverage, identity, orientation, and ID respectively. πŸ‘‘


🌟 SEE ALSO 🌟

http://mummer.sourceforge.net/

Open source MUMmer 3.0 is described in Versatile and open software for comparing large genomes. S. Kurtz, A. Phillippy, A.L. Delcher, M. Smoot, M. Shumway, C. Antonescu, and S.L. Salzberg, Genome Biology (2004), 5:R12.

πŸ’– AUTHOR πŸ’–

mummer was written by S. Kurtz, A. Phillippy, A.L. Delcher, M. Smoot, M. Shumway, C. Antonescu, and S.L. Salzberg.


and that's a wrap bestie, you made it to the end of MUMMER(1) πŸŽ€ this whole icon of a manual page is dated May 21, 2005, and it's living in the MUMMER(1) section of your man pages β€” go forth and align something gorgeous, ily, no cap πŸ¦‹βœ¨