Giter Site home page Giter Site logo

Comments (3)

ElinaFF avatar ElinaFF commented on August 23, 2024

Hi @Danissss
The error in your command is with the "-i" option. You gave it a string ( "CN1C=NC(CC@HC(O)=O)=C1") instead of a file.

So you juste have to create a file with at least the two necessary columns as the first line : SMILES,Adducts, and then put as lines the SMILES you want to predict with their adducts. In your case it could be CN1C=NC(C[C@H](N)C(O)=O)=C1,M+H if you want the CCS of this molecule to be calculated for the M+H ionization.

So the final command line would be ./DeepCCS predict -mp ../saved_models/default/ -ap ../saved_models/default/ -i test.csv -o result.csv , where test.csv is the file with your SMILES.

Hope it helps !
Γ‰lina

from deepccs.

Danissss avatar Danissss commented on August 23, 2024

Thanks for the clarification!

from deepccs.

Danissss avatar Danissss commented on August 23, 2024

I suggest to provide the sample test file as error indicates ValueError: Supplied file must contain at leat 2 columns named 'SMILES' and 'Adducts'. use the provided template if needed.

// test.csv
SMILES,Adducts
CN1C=NC(C[C@H](N)C(O)=O)=C1,M+H

Also, I need to use

import sys
sys.path.insert("some relative path")

to make the relative import works.

OS: MacOS Catalina
Python: 3.6
Env: Anaconda

from deepccs.

Related Issues (12)

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.