Comments (8)
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.
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.
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.
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.
What is the purpose of the occ
column in this data?
from keggcharter.
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.
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.
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)
- need help with -gcol param HOT 6
- Usage with eggnog-mapper output HOT 1
- could not download resources HOT 2
- GTDB taxonomic info HOT 2
- nonexplicit error message HOT 5
- abundance info HOT 1
- Help with multiple Genomes HOT 10
- question about transforming KO IDs and losing data HOT 2
- possible bug in main script HOT 3
- Missing 1 species and nothing is highlighted HOT 7
- Example run on reCOGnizer output HOT 2
- HTTP Error 400 at EC conversion HOT 3
- Explanations Needed with Quantifications HOT 6
- Invalid file format now after implementation of regex checks HOT 3
- using output reCOgnizer... error HOT 8
- import error after install HOT 3
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 keggcharter.