Skip to content

KeyError: 'samples' using complex pipeline #285

Description

@kirannazarali

I hope you are doing well. I am trying to run the evcouplings complex pipeline using the sample_config_file by providing 2 UniProt protein ids. I also followed the instructions for the necessary installations and requirements based on the ReadMe file, and I have provided the paths to these installations in the config file. The align_1, align_2, and concatenate steps run through successfully with the appropriate output files. However, I am receiving a KeyError: 'samples' error during the couplings step. Below is the stack trace of the error. Prior to the error, _couplings.incfg and _ECs.txt were generated. I would really appreciate your help in resolving this error. Thank you!

Traceback (most recent call last):
File "/ihome/djishnu/krn34/.local/bin/evcouplings_runcfg", line 8, in
sys.exit(app())
File "/ihome/crc/install/python/ondemand-jupyter-python3.8/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/ihome/crc/install/python/ondemand-jupyter-python3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/ihome/crc/install/python/ondemand-jupyter-python3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/ihome/crc/install/python/ondemand-jupyter-python3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/utils/pipeline.py", line 583, in app
outcfg = run(**kwargs)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/utils/pipeline.py", line 570, in run
return execute_wrapped(**config)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/utils/pipeline.py", line 508, in execute_wrapped
outcfg = execute(**config)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/utils/pipeline.py", line 187, in execute
outcfg = runner(**incfg)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/couplings/protocol.py", line 974, in run
return PROTOCOLSkwargs["protocol"]
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/couplings/protocol.py", line 521, in complex
outcfg, ecs, segments = infer_plmc(**kwargs)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/couplings/protocol.py", line 203, in infer_plmc
plmc_result = ct.run_plmc(
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/couplings/tools.py", line 285, in run_plmc
iter_df, out_fields = parse_plmc_log(stderr)
File "/ihome/djishnu/krn34/.local/lib/python3.8/site-packages/evcouplings/couplings/tools.py", line 98, in parse_plmc_log
eff_samples = float(matches["samples"][0])
KeyError: 'samples'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions