First, let’s look at our input files:
We have two FASTA files:
These FASTA files come from the MUMmer tutorial.
Let’s set up some variables to make our commands cleaner:
Let’s start by aligning two genomes using the MUMmer4 package. We use nucmer because that is MUMmer’s aligner for nucleotide sequences (“nuc”), i.e. DNA or RNA sequences, and here we are aligning DNA.
This will create a delta file containing the alignments. The --prefix option sets the prefix for output files.
Let’s look at the first few lines of the delta file:
The delta file format is not very human-readable, so in the next step we’ll convert it to a more useful format.