Comments (3)
I was trying to figure out how to use the -gf
feature so I looked at your files as examples.
I don't know if this is helpful, but the first genbank file you provided (rep_H153520460_plas_col.txt
) doesn't actually have any instances of NCLOOJ_*
in it - is that perhaps why some genes don't get put into the groups you defined?
Edit:
Ah nevermind I've figured out how this works and see why only one of your genbank files match the feature table :)) Disregard this
from clinker.
Hello, I had the same problem.
I have 24 groups and when i run it without -gf it assigns different colors to the corresponding groups. When I run the code with -gf and the .csv, only 5 groups are colored and it is assigning those functions incorrectly to genes that do not have those functions.
code:
clinker *gb -p -gf output4.csv
csv file:
output4.csv
Can someone help me understand why they are not assigning all the functions to their respective genes?
Thanks
from clinker.
Unfortunately I think you are both hitting some weirdness with how the genes get grouped and I don't have a good resolution for it. Currently they are computed by finding disjoint sets of genes based on the gene-gene alignments - if there is an alignment between genes in two different defined function groups, they will be merged into a single group leading to the incorrect function/colour. You could try raising the identity/similarity cutoffs to avoid low quality alignments which lead to bad merges (e.g. the correct match may have 100% identity, but some gene from another group has a ~30% identity match). Alternatively, if you specify the function for EVERY gene you are looking at and use the --no_align
flag (i.e. no alignments are performed), the colours should work but the gene-gene links will be lost.
from clinker.
Related Issues (20)
- Conda package errors HOT 3
- Similarity score and plotting HOT 1
- Can't save changes to session HOT 2
- update 0.0.28 HOT 3
- the legend HOT 4
- How to visualize a gene on a large chromosome?
- Use clinker to visualize individual exons rather than whole gene?
- ValueError: not enough values to unpack (expected 2, got 1)
- Error in clinker HTML plotting function
- Errors in using gff and faa file
- The output result has no information HOT 4
- some issues for -mo --matrix_out parameter HOT 2
- Locus inversion showing incorrect locations
- Possible bug in cluster similarity output (-mo option)
- -gf/--gene_functions not working?
- try example encouter error
- Gene and species limit HOT 1
- Broken pipe error when using clinker to plot gene clusters HOT 2
- Renaming coding sequence back to gene number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clinker.