schneebergerlab / plotsr

Tool to plot synteny and structural rearrangements between genomes
MIT License
286 stars 28 forks source link

Error importing pysam. #39

Closed bijendrabio closed 1 year ago

bijendrabio commented 1 year ago

Hello, I received following error while running syRI: $ syri -c A_B.bam -r A.fa -q B.fa -F B --pref

Traceback (most recent call last): File "syri/pyxFiles/synsearchFunctions.pyx", line 240, in syri.synsearchFunctions.readCoords File "syri/pyxFiles/synsearchFunctions.pyx", line 117, in syri.synsearchFunctions.readSAMBAM File "/home/miniconda3/envs/plotsr/lib/python3.8/site-packages/pysam/init.py", line 5, in from pysam.libchtslib import * ImportError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Kindly suggest!

Kind regards, B

mnshgl0110 commented 1 year ago

Hi. It seems that you have missing libraries in your environment and as a result pysam cannot load properly. You can try this: https://unix.stackexchange.com/questions/283607/libraries-libcrypto-so-1-0-0-cannot-open-shared-object-file-no-such-file-or-d Or reinstall pysam in a new work python environment. Or can also contact pysam developers https://github.com/pysam-developers/pysam

bijendrabio commented 1 year ago

@mnshgl0110 Got it. I solved it. Thanks

bijendrabio commented 1 year ago

Hi. It seems that you have missing libraries in your environment and as a result pysam cannot load properly. You can try this: https://unix.stackexchange.com/questions/283607/libraries-libcrypto-so-1-0-0-cannot-open-shared-object-file-no-such-file-or-d Or reinstall pysam in a new work python environment. Or can also contact pysam developers https://github.com/pysam-developers/pysam