KudryashevLab / TomoBEAR

TomoBEAR is a configurable and customizable modular pipeline for streamlined processing of cryo-electron tomographic data for subtomogram averaging.
https://github.com/KudryashevLab/TomoBEAR/wiki
Other
26 stars 6 forks source link

Difficulty installing / Wiki outdated? #30

Closed walidabualafia closed 5 months ago

walidabualafia commented 5 months ago

Issue type

Build/Install

TomoBEAR source

source code (via interactive MATLAB session), standalone binary (using MATLAB libraries)

TomoBEAR version

v0.5.0

Computing system

HPC cluster (interactive computing node)

Issue description

I could not find any resources to properly install the standalone binary. The install_TomoBEAR.sh script (mentioned in the wiki) does not seem to exist in any of the releases or even in the repository. Am I looking for the wrong thing?

I tried installing it for MATLAB instead, and I tried executing runTomoBear("local", "/the/absolute/path/to/ribosome_example.json"), but Matlab is not recognizing runTomoBear as a function. Do you know what might cause this? Not sure where to look.

Input configuration (JSON) file

N/A. Used default example. I'd be happy to send defaults.json by email.

Additional info

No response

GPU model and memory

NVIDIA A100-SXM4-80GB

CUDA version(s)

CUDA11.4

Software setup

No response

ArtsemiY commented 5 months ago

Hi @walidabualafia , thanks for interest! Unfortunately, we have not produced standalone binaries for the latest versions, since code base refactoring is needed, sorry for that! However, full MATLAB version is accessible to work with. The install_tomoBEAR.sh script should be created by yourself and activated, as noted in the instructions here. We haven't put it in the repository since it is supposed to fetch the repository code itself. Afterwards you need to configure the TomoBEAR defaults.json as described here, which I assume you have done. Finally, to initialize MATLAB session to be able to use TomoBEAR, you should go to location of TomoBEAR repository in terminal and launch bash script run_matlab.sh as described here. This will open MATLAB session with activated TomoBEAR. You should stay in the same directory (so, TomoBEAR code directory), from where you may launch runTomoBEAR(...) command (please, note capitalization in the function name). We also have some video-tutorials with the first one outlining installation procedure, the corresponding links you may find on the main page of the repository. Hope it clarifies procedure! Otherwise feel free to drop me an email and we will try to solve it.

walidabualafia commented 5 months ago

@ArtsemiY,

Thank you so much for the quick response. Any chance TomoBEAR works with one of the newer MATLAB versions?

Additionally, does it accept AreTomo2 instead of AreTomo?

Thank you! :)

walidabualafia commented 5 months ago

I just went ahead and installed all the same versions as the ones mentioned in the wiki. I installed the whole toolchain and added it to the configurations/default.json file. Nonetheless, runTomoBear() still is not recognized. I'm attaching a screenshot of the error for your reference:

Screenshot 2024-03-14 at 10 34 32

Have you seen this before? Do you happen to know how to force MATLAB to recognize the runTomoBear() function?

Thank you!

ArtsemiY commented 5 months ago

Dear @walidabualafia ,

Please, email to me ( artsemi.yushkevich@mdc-berlin.de ) your filled-in configurations/defaults.json and let's schedule a troubleshooting call via email :)

Best, Artsemi

walidabualafia commented 5 months ago

Hi @ArtsemiY. Thanks for the call! It seems to be working perfectly now.

Best, Walid