If I have contigs A, B and C and the annotations for each in a GFF3 file what is the algorithm for merging their annotations when the contigs are merged into the single sequence ABC?
For instance the start, stop coordinates and phase should be incremented accordingly. E.g. The start and stop position for gene x on contig B should be incremented by the length of contig A and the phase should also be updated by A % 3.
What other considerations are there?
How do you do merging? With some padding of gaps (A-NNN-B---C), or ends are touching (ABC)?
Either case. I'm asking with respect to the scaffold software I'm writing - http://next.gs.