gamcil / clinker

Gene cluster comparison figure generator
MIT License
507 stars 66 forks source link

Feature request: match gene order #25

Closed alexweisberg closed 3 years ago

alexweisberg commented 3 years ago

Hi, The recent updates to clinker are great. The javascript GUI is a little slow when I have ~60 samples of 5 or 6 genes each, so flipping the orientation of each gene fragment takes a while. It would be nice to have an option to pick a gene as a reference, and flip the orientation of all other strains contigs with that gene to match the orientation. Right now its just based on the gene orientation from each original genome. Alternatively, an option to minimize inversions would be cool, basically flipping contigs so that there are as few "twists" in the final output as possible.

gamcil commented 3 years ago

Ah good idea, will try to add this for the next release. Maybe just left click to center like it is now, but this option in the right click menu? The second part will take a little more thinking.

gamcil commented 3 years ago

Added in clinker v0.0.10

alexweisberg commented 3 years ago

This is great! Thank you for adding it.

sbthandras commented 1 year ago

How do you use this feature?