Git Product home page Git Product logo

Comments (3)

mhagar avatar mhagar commented on May 24, 2024

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.

Amgomez96 avatar Amgomez96 commented on May 24, 2024

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

without -gf:
Screen Shot 2023-12-19 at 13 13 44

with the csv
Screen Shot 2023-12-19 at 13 14 48

csv file:
output4.csv

Can someone help me understand why they are not assigning all the functions to their respective genes?

Thanks

from clinker.

gamcil avatar gamcil commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.