Robaina/Pynteny

Pynteny search results table: sorting when "--unordered"

Closed this issue · 3 comments

Entries in Pynteny's main results table are sorted by gene number within each contig. However, this sorting doesn't make much sense when "--unordered"

Actually, it does make sense to sort hits by gene number, what will happen is that different orderings may appear for different contgs

However, it may happen that a contig contains more than one match for an unordered (synteny) pattern. In these cases, we could end up with duplicated sequences, because the synteny matching sets may overlap (since it is unordered) depending on the maximum allowed gene distance.

We could add a step to remove duplicated sequences within the same contig.

Duplicates removed