ParseMummer: Supplementary Software for the paper
Domazet-Loso, M. and Haubold, B. (2009). Efficient 
Estimation of Pairwise Ditances between Genomes. 
Submitted.

PURPOSE
Extract pairwise Jukes-Cantor distances from
alignments returned by MUMmer.

GETTING STARTED
1) Type make to generate the programs parseDelta and parseOut.
2) parseDelta takes as input a *.delta file generated by MUMmer.
3) parseOut takes as input a file generated by parseDelta
   and generates a distance matrix in PHYLIP format.

EXAMPLE SESSION
1) Run nucmer (part of MUMmer) on the two example sequences:
nucmer s1.fa s2.fa
2) Parse the delta file generated by nucmer:
parseDelta out.delta out.parse
3) Generate a file containing the names of the two input sequences:
cat s1.fa s2.fa | grep \> | perl -pe 's/>//' > names.txt
4) Convert the output of parseDelta to a PHYLIP distance matrix:
parseOut out.parse names.txt out.dist 2

CONTACT
Mirjana Domazet-Loso
mdomazet@evolbio.mpg.de