Skip to content
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

mapping pipeline fails at infer experiment rule due to missing pysam libraries #15

Open
mmilek opened this issue Apr 1, 2022 · 0 comments

Comments

@mmilek
Copy link
Contributor

mmilek commented Apr 1, 2022

Current conda_env.yaml installs samtools 1.3.1 and does not handle the shared library libcrypto.so.1.0.0. correctly with pysam.

+ infer_experiment.py -r /fast/projects/cubit/18.12/static_data/annotation/GENCODE/M12/GRCm38/gencode.vM12.chr_scaff.annotation.bed -i mapping/star/P1153_wt3.all_mates/out/star.P1153_wt3.all_mates.bam -q 255
Traceback (most recent call last):
  File "/data/gpfs-1/users/milekm_c/work/miniconda/envs/sea_snap/bin/infer_experiment.py", line 53, in <module>
    from qcmodule import SAM
  File "/data/gpfs-1/users/milekm_c/work/miniconda/envs/sea_snap/lib/python3.9/site-packages/qcmodule/SAM.py", line 22, in <module>
    import pysam
  File "/data/gpfs-1/users/milekm_c/work/miniconda/envs/sea_snap/lib/python3.9/site-packages/pysam/__init__.py", line 5, in <module>
    from pysam.libchtslib import *
ImportError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

Workaround: create environment with conda_env_mapping_sc.yaml in development branch. This will install samtools 1.9 and the proper libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant