Comments (4)
Thank you for the kind words Shail,
this one was definitely a very dull error on my side, my bad.
With the recent commit it should be fixed, as I wrote the code as if the logging option was always chosen.
I'll suggest to clone again the repository and moving your files in the new one, to try again.
Feel free to reopen if the problem is not properly fixed.
Best regards,
Matteo
from kemet.
i used --log option but now throws a a new error
`python kemet.py genomes/mcs.fasta -a kofamkoala --hmm_mode kos --log
Traceback (most recent call last):
File "kemet.py", line 2531, in
ktest, KOs = kofamXktest(file, file.rsplit(".",1)[0]+".ktest", KAnnotation_directory, ktests_directory)
File "kemet.py", line 155, in kofamXktest
fastaslice = spacer.index(" ",1)+1
ValueError: substring not found
`
The same error occurs with the updated repository (without --log option)
i used kofamkoala ko output as kegg annotations. e.g.
g1.t1
g2.t1 K01689
g3.t1
g4.t1 K22696
from kemet.
Hi again,
the log issue is solved then.
Regarding this other problem with kofam, I believe it is due to a wrong annotation type selection.
In the KEMET toy folder, here, there are indications on the expected format of annotation files, how those should be structured, based on the various softwares output.
From the example you added, KoFamKOALA with KO output results in a "kaas-like" annotation as the "bin1_ko.txt" file from toy folder (i.e. a tab separated file, with two fields - 1st for gene name/locus, 2nd for KEGG KO).
Therefore, I'd suggest to clean the output folders (the ones with "reports") use a different command than the one you used, as KEMET won't find any KoFamKOALA formatted files:
python kemet.py genomes/mcs.fasta -a kaas --hmm_mode kos --log
I'll also highlight the formatting rules fom other potential users! Thanks.
This should resolve the issue.
from kemet.
thanks. that worked.
from kemet.
Related Issues (15)
- Dealing with different MAG completness? HOT 1
- conversion to python package HOT 5
- Custom Modules? HOT 1
- "ktest" file error - due to file naming convention HOT 5
- Kofamscan format problem HOT 7
- Merge multiple KEMET results HOT 2
- 'ktest' error HOT 1
- Equivocal README & file-naming problems HOT 5
- How to use the script to convert the KEGG module file to <module_id>.kk? HOT 3
- Incorrect recognition of MAG filename HOT 1
- Module completeness as stand-alone package HOT 4
- Error regarding output directory HOT 7
- Create .kk files
- add_taxonomy_from_gtdb-tk.py - help! HOT 5
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 kemet.