Git Product home page Git Product logo

Comments (5)

iquasere avatar iquasere commented on July 17, 2024

Submitted a new version - 0.3.5 - which will soon be available. Do check if this has been improved

from keggcharter.

GaioTransposon avatar GaioTransposon commented on July 17, 2024

Installed the new version (0.4.1) and this now happens:

keggcharter.py -f reCOGnizer_results.tsv -o test -ecc "EC number" -mm "Fatty acid metabolism"

Created /shared/homes/152324/miniconda3/envs/keggcharter_env/bin/kc_kgmls
Created /shared/homes/152324/miniconda3/envs/keggcharter_env/bin/kc_csvs
2022-12-14 14:21:48: Arguments valid.
/shared/homes/152324/miniconda3/envs/keggcharter_env/bin/keggcharter.py:117: DtypeWarning: Columns (10) have mixed types. Specify dtype option on import or set low_memory=False.
  return pd.read_csv(file, sep='\t')
2022-12-14 14:22:16: Data successfully read.
Converting 1703 EC numbers to KOs through the KEGG API: 100%|███████████████████████████████████████████████████████████████████| 12/12 [00:13<00:00,  1.16s/it]
Converting 2365 KOs to EC numbers through the KEGG API: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 16/16 [00:17<00:00,  1.08s/it]
2022-12-14 14:25:27: Results saved to test/KEGGCharter_results.tsv
Traceback (most recent call last):
  File "/shared/homes/152324/miniconda3/envs/keggcharter_env/bin/keggcharter.py", line 489, in <module>
    main()
  File "/shared/homes/152324/miniconda3/envs/keggcharter_env/bin/keggcharter.py", line 437, in main
    args.genomic_columns = args.genomic_columns.split(',')
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

I don't have in this case a genomic column. As it is optional, keggcharter.py should not be complaining about it, right?

from keggcharter.

iquasere avatar iquasere commented on July 17, 2024

KEGGCharter always counts on one column of taxonomy and another of quantification to build the maps for. In KEGGCharter, this information can be inputted alternatively using the -it NAME_OF_TAXONOMY and -iq parameters, which will input taxonomy and quantification, respectively, replace the -tc and -gcols/-tcols parameters. -it requires NAME_OF_TAXONOMY as it is the value that will appear represented in the maps.

As you had complained before, this is not intuitively expressed in the interface. I will update when I have the time.

from keggcharter.

Calvin2077 avatar Calvin2077 commented on July 17, 2024

Hello quick question is quantification mandatory for the use of KEGGCharter or is there a way to make this data optional as currently my lab can't obtain quantification levels of our proteins?

Thank you very much.

from keggcharter.

iquasere avatar iquasere commented on July 17, 2024

You can input a mock quantification with the -iq parameter. In the future, I hope to make this more intuitive.

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.