-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import rmatspipeline
: ImportError: rmats_turbo_v4_3_0/rmatspipeline.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK8BamTools12BamAlignment10GetTagTypeERKSsRc
#390
Comments
The user didn't reply, but I think the error was due to different compilers being used for building bamtools and then building rmatspipeline similar to this older post: #21 (comment) The build sets compiler environment variables based on the gfortran, gcc, and g++ it finds: https://github.com/Xinglab/rmats-turbo/blob/v4.3.0/build_rmats#L71 Potentially this issue could happen if Can you try running from a fresh copy of the source code? The build output should show which compilers are being used |
@EricKutschera ...
installing to ~/rmats_turbo_v4_3_0/conda_envs/rmats/lib/R/library/00LOCK-Darts/00new/Darts/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Darts)
Loading required package: Darts
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘Darts’ Then the build stopped and the bash is out of the $which R
~/rmats_turbo_v4_3_0/conda_envs/rmats/bin/R > library(Darts)
> library(PAIRADISE)
Loading required package: nloptr
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
> library(Matrix)
> library(mixtools)
mixtools package, version 2.0.0, Released 2022-12-04
This package is based upon work supported by the National Science Foundation under Grant No. SES-0518772 and the Chan Zuckerberg Initiative: Essential Open Source Software for Science (Grant No. 2020-255193). and the python $which python
~/rmats_turbo_v4_3_0/conda_envs/rmats/bin/python
$python rmats.py
Traceback (most recent call last):
File "/lila/data/chen/dan/bin/rmats_turbo_v4_3_0/rmats.py", line 19, in <module>
from rmatspipeline import run_pipe
ImportError: /lila/data/chen/dan/bin/rmats_turbo_v4_3_0/rmatspipeline.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK8BamTools12BamAlignment10GetTagTypeERKSsRc |
I think the error
That is the expected behavior where gcc and g++ are the same version (13.2.0) and both found in Can you also post the output of these commands:
My output shows
The build specifies the location of the bamtools library for the cython compile step: https://github.com/Xinglab/rmats-turbo/blob/v4.3.0/rMATS_pipeline/setup.py#L9 If your |
@EricKutschera #export CC=/bin/gcc
#export FC=/bin/gfortran python rmats.py
ERROR: BAM/FASTQ required. Please check b1, b2, s1 and s2. |
import rmatspipeline
: ImportError: /lila/home/lid/rmats_turbo_v4_3_0/rmatspipeline.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK8BamTools12BamAlignment10GetTagTypeERKSsRcimport rmatspipeline
: ImportError: rmats_turbo_v4_3_0/rmatspipeline.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZNK8BamTools12BamAlignment10GetTagTypeERKSsRc
Hello
I installed
rMATS
by./build_rmats --conda
, and activate therMATS
conda evironmentBut
python
can't importrmatspipeline
:$python
How should I solve this problem?
Thanks
The text was updated successfully, but these errors were encountered: