Giter VIP home page Giter VIP logo

Comments (12)

akalpokas avatar akalpokas commented on July 3, 2024 1

Yup, that works. Thanks for your help!

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024 1

No problem, thanks for reporting. Once the full 2023.1.0 release is available I'll delete the pre-release packages. This will avoid other people running into the same issue in future.

from biosimspace.

RiesBen avatar RiesBen commented on July 3, 2024 1

ah! my bad! but yes the the fix works (I was installing it like this: conda install -c conda-forge biosimspace - that's where my confusion came from)

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

Yes, it looks like we've incorrectly specified the Sire version range for our 2023 pre-release version of BioSimSpace. You should also be able to fix things by specifying the Sire version. For example, I think the 2023.0.2 development version of Sire should work with the latest devel conda package.

mamba create -n biosimspace23-dev -c conda-forge -c michellab/label/dev sire=2023.0.2 biosimspace

from biosimspace.

RiesBen avatar RiesBen commented on July 3, 2024

Hej, fyi: I have the same problem with your conda-forge version :(

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

Thanks, we don't have a package on conda-forge. Does the solution posted above not work for you?

from biosimspace.

velocirraptor23 avatar velocirraptor23 commented on July 3, 2024

Hi, I have installed biosimspace on this way. However when I am analyzing the relative free-energy value it gives an error.

AnalysisError Traceback (most recent call last)
Cell In[12], line 1
----> 1 pmf_free, overlap_matrix_free = BSS.FreeEnergy.Relative.analyse(f'o_xylene_benzene/free')
2 pmf_bound, overlap_matrix_bound = BSS.FreeEnergy.Relative.analyse(f'o_xylene_benzene/bound')
3 freenrg_rel = BSS.FreeEnergy.Relative.difference(pmf_bound, pmf_free)

File /cluster/ddu/cmmartinez001/miniconda3/envs/biosimspace-dev/lib/python3.9/site-packages/BioSimSpace/FreeEnergy/_relative.py:431, in Relative.analyse(work_dir)
429 # SOMD.
430 if len(data) > 0:
--> 431 return Relative._analyse_somd(work_dir)
433 # Now check for GROMACS output.
434 else:
435 data = glob(work_dir + "/lambda*/gromacs.xvg")

File /cluster/ddu/cmmartinez001/miniconda3/envs/biosimspace-dev/lib/python3.9/site-packages/BioSimSpace/FreeEnergy/_relative.py:605, in Relative._analyse_somd(work_dir)
598 proc = _subprocess.run(
599 _Utils.command_split(command),
600 shell=False,
601 stdout=_subprocess.PIPE,
602 stderr=_subprocess.PIPE,
603 )
604 if proc.returncode != 0:
--> 605 raise _AnalysisError("SOMD free-energy analysis failed!")
607 # Re-run without subsampling if the subsampling has resulted in less than 50 samples.
608 with open("%s/mbar.txt" % work_dir) as file:

AnalysisError: SOMD free-energy analysis failed!

In a previosu version it worked without any problem. Not sure if the code has been updated. Thanks

Cesar

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

Thanks, I'll try to reproduce this later and get back to you.

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

Hmmm, it's working for me with some existing ethane/methanol solvation free energy data. Is it possible to share the data for which it's failing. You could also edit the file shown in the error message above to print the standard output and error, e.g.:

print(proc.stdout)
print(proc.stderr)

(Do the above after adding text=True to the subprocess.run parameters.)

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

For reference, I did find an issue with our GROMACS analysis which resulted from the new (well, not so new) way we split command-line arguments for subprocess. This means that we now need to expand the glob for xvg files prior to running gmx bar. This is now fixed. For the few cases I've tested, SOMD analysis still appears to work just fine.

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

Also, when we figure out what the actual problem is I'll move it to a new issue thread, since it appears to have nothing to do with the original question. In future, please open a new issue when the query us unrelated. It makes book-keeping much easier.

Cheers.

from biosimspace.

lohedges avatar lohedges commented on July 3, 2024

I've tested using some example output from here (same system as you are looking at) and it still works for me.

from biosimspace.

Related Issues (20)

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.