clinker icon indicating copy to clipboard operation
clinker copied to clipboard

Truncating the middle of gene clusters & gene group legend

Open wearegroot91 opened this issue 3 years ago • 2 comments

Screen Shot 2022-01-18 at 5 28 08 PM

How do I remove genes that are within the middle of the cluster? The demo.gif shows this functionality is possible but I am not sure how to actually to do within firefox.

Also, is there a way to manually add groups to the legend for genes that didn't show similarity to others?

wearegroot91 avatar Jan 18 '22 22:01 wearegroot91

Hi, in the demo the gene cluster actually isn't being truncated in the middle - it consists of three different genomic loci as the cluster was found over three short genome contigs. This is done by having multiple records within a single GenBank file. To emulate that you would have to separate the A. niger region manually before feeding it into clinker.

As for the second question, you can't add groups for those genes directly through the visualisation, but you can specify groups using the -gf/--gene_functions argument. This is essentially just a two column CSV file with gene names and functions (take a look at https://github.com/gamcil/clinker/releases/tag/v0.0.23 for an example). Anything that's in that file will be added as a functional group in the plot.

gamcil avatar Feb 06 '22 01:02 gamcil

Hi, gamcil Sir. i want to use clinker just for few genes, is it possible to do that i mean i just wanna shows few genes which are around 30 in number in each genomes.

Thank you!

neelam19051 avatar Feb 13 '23 14:02 neelam19051