Skip to contents

Reads a pairwise genome alignment in MAF format. The file can be plain text or compressed with gzip.

Usage

readMAF(inputFileName)

Arguments

inputFileName

The name of the file to read

Value

a list object with containg coordinates of the alignments in both genomes and other information such as alignment width and number of matches.

Details

Known limitations: Does not expand shell metacharacters. Trusts blindly file extension to determine compression. Does not perform any validation on the file format. Assumes that the score comes first in the 'a' lines.