Open samuelcajahuaringa opened 8 months ago
The line adducts = geom.ionize(method = 'explicit', ion_list = ['H+'], element_list = ['O', 'N'])
will have generated possible adducts. Downstream activities would include conformational sampling by molecular dynamics, conformer downselection, density functional theory-based geometry optimization, and, finally, CCS prediction.
These tasks have all been developed as snakemake and nextflow workflows, which you found. However, these are intended to be run outside the ISiCLE API. For example, snakemake is invoked as snakemake --snakefile PATH {ARGS}
.
We currently do not have documentation detailing the workflow usage, so I would encourage you to familiarize yourself with snakemake and/or nextflow documentation.
Thanks for the advice @smcolby, if possible use the ccs.nf to test that example, the ccs.bf file that is found in workflows/ccs/nextflow-local/ccs.nf.
Hello isicle developers
I have installed nextflow and I try to use ccs.nf file but I have the follow problem:
(isicle) oscar.macollunco@sorgan-cpu6:~/isicle/workflows/ccs/nextflow-local$ nextflow run ccs.nf -config nextflow.config
N E X T F L O W ~ version 23.10.1
Launching ccs.nf
[loving_pauling] DSL2 - revision: 94cf33a3b4
executor > local (1)
[b2/140a44] process > adducts (1) [100%] 1 of 1, failed: 1 ✘
[- ] process > conformers -
[- ] process > dft -
[- ] process > mobility -
ERROR ~ Error executing process > 'adducts (1)'
Caused by:
Missing output file(s) *.joblib
expected by process adducts (1)
Command executed:
import isicle import yaml import os import sys from os.path import *
cwd = "/home/oscar.macollunco/isicle/workflows/ccs/nextflow-local" with open(f"{cwd}/config.yaml", "r") as f: config = yaml.load(f, Loader=yaml.FullLoader)
geom = isicle.io.load("dimethylglycine.mol") geom = geom.initial_optimize(embed=True)
adducts = geom.ionize(ion_list=config['adducts']['ion_list'], element_list=config['adducts']['element_list'], method=config['adducts']['method'])
for add in adducts.adducts: outputpath = f'{add.basename}{add.ion}_{add.adductID}.joblib' isicle.io.save(output_path, add)
Command exit status: 0
Command output: (empty)
Work dir: /home/oscar.macollunco/isicle/workflows/ccs/nextflow-local/work/b2/140a44e0830fd74b84d4de9ef53d4d
Tip: when you have fixed the problem you can continue the execution adding the option -resume
to the run command line
-- Check '.nextflow.log' file for details
again is the joblib file,
Any help would be much appreciated.
I am actually not familiar with NextFlow (I've used Snakemake). I'm copying @jessbade here, as she has more experience with NextFlow.
Hello Isicle developers,
I try to reproduce the example of collision cross section. The Isicle was installed correctly according to the message
the structure of example is dimethylglycine.mol
I am trying to get started using isicle but im running into an issue when following the CCS example presented here.
where i found the 'ccs_adducts.joblib' that is a job submission file? can you send me a example.
Any help would be much appreciated.