Clara-parabricks 4.2.0-1 container: rna_fq2bam; ERROR running STAR inside the container "error while loading shared libraries:"

How to run STAR to generate genome index inside container (version 2.7.2a)? This would probably solve many issues faced due to genome index mismatch.

I get error when running directly in container (singularity)
Singularity> /usr/local/parabricks/binaries/bin/star
/usr/local/parabricks/binaries/bin/star: error while loading shared libraries: cannot open shared object file: No such file or directory

Set your library path.

You need to 2 libraries. (, file is in /usr/local/parabricks/binaries/lib, and is in /usr/local/cuda-12.2/compat

so, you type following command in terminal. (But this command affect in this session only).


Thank you @Kibaick.Lee let me try that in the container! I am getting similar library error while running the ```
pbrun collectmultiplemetrics

what(): Record contains library that is missing from header:
Would you have suggestions on troubleshooting this error?