Using the coordinate mappings of the 5 ′ and 3 ′ adjacent chain - blocks of each chain - gap,
the non-aligning reference sequence of a chain - gap is inserted into the query genome at the corresponding position, where placed gaps are oriented relative to the genome they are placed in.