PAF.md

July 12, 2019 ยท View on GitHub

PAF: a Pairwise mApping Format

PAF is a text format describing the approximate mapping positions between two set of sequences. PAF is TAB-delimited with each line consisting of the following predefined fields:

ColTypeDescription
1stringQuery sequence name
2intQuery sequence length
3intQuery start (0-based; BED-like; closed)
4intQuery end (0-based; BED-like; open)
5charRelative strand: "+" or "-"
6stringTarget sequence name
7intTarget sequence length
8intTarget start on original strand (0-based)
9intTarget end on original strand (0-based)
10intNumber of residue matches
11intAlignment block length
12intMapping quality (0-255; 255 for missing)

If PAF is generated from an alignment, column 10 equals the number of sequence matches, and column 11 equals the total number of sequence matches, mismatches, insertions and deletions in the alignment. If alignment is not available, column 10 and 11 are still required but may be highly inaccurate.

A PAF file may optionally contain SAM-like typed key-value pairs at the end of each line.