Git Product home page Git Product logo

Comments (8)

iquasere avatar iquasere commented on August 16, 2024

Hi there!

I see two issues here, one being reported and the other silently failing. "taxon_name" of your data seems to be a column of booleans, but it should be a column of species names. Also, it seems KEGGCharter could not find KOs from your KEGG IDs.

Could you please share the command you are using to run KEGGCharter, and the input file (or a subset of it)?

from keggcharter.

rfour92 avatar rfour92 commented on August 16, 2024

Hello,

thank you for your prompt reply, I highly appreciate it

so my main goal is to be able to visualize KEGG codes of a given genera and determine the number of times each KO occurs.

I understand this is not the main goal of this tool but I think it can work if I introduced the data as RNA transcript count.

an example,
#######
gene_ name | ko | occ
gene_1 | K01923 | 43
#######
gene_name: gene name - place holder
ko = kegg codes,
occurances: the number of times the KO was detected.

the way I get the data is using eggnog-mapper then merge all annotation output and count the number of times each gene was detected.

I am more than happy to supply the full file if needed.

from keggcharter.

iquasere avatar iquasere commented on August 16, 2024

Supplying the full file AND the command used will allow me to understand what is going wrong. KEGGCharter is still very limited in what KEGG IDs it can handle, and it seems it can't handle yours. Also, seems to be some pickle on your taxonomy information. Therefore, to reproduce the error and diagnose it, I need to reproduce what you have done.

If KEGGCharter runs fine with the example data, it is failing to interpret your particular data, and I require it to understand what is going on.

from keggcharter.

rfour92 avatar rfour92 commented on August 16, 2024

test.xlsx

of course,
please find the attached file and here is the command I used
keggcharter.py -f test.xlsx -tcol occ -gcol gene_name -it -keggc ko -o KEGG_Test

thank you

from keggcharter.

iquasere avatar iquasere commented on August 16, 2024

What is the purpose of the occ column in this data?

from keggcharter.

rfour92 avatar rfour92 commented on August 16, 2024

occ stands for occurrence and it should reflect the number of times a given ko is detected, like in a pan-genome

example: out of 50 species within genera, how many of them had glucokinase. lets assume the answer is 40.
so for glucokinase within genus x, the occurrence is 40

from keggcharter.

iquasere avatar iquasere commented on August 16, 2024

A couple of things here, first you should update KEGGCharter to version 0.4.1 (the latest) as with your example I found some problems I hadn't yet tackled. This version will be available soon, so please wait a bit until it is released (likely today). About your command, it should be set as

keggcharter.py -f test.xlsx -it "My taxonomy" -gcol occ -tcol occ -koc ko
  • -it parameter takes as input a value, a string, which will be used to represent the taxonomy in the maps.
  • since you are inputting KOs, you should input them with the -koc parameter, instead of the -keggc one
  • the columns parameters in KEGGCharter do have weird names, but the same value should be inputted to -gcol and -tcol parameters here because those parameters concern quantification, and the only quantification here is in the "occ" column

from keggcharter.

iquasere avatar iquasere commented on August 16, 2024

Closing this as fixed by the two commits today, if version 0.4.1 doesn't meet your needs please do inform here.

from keggcharter.

Related Issues (17)

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.