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

ImportError with Singularity #196

Open
aCoalBall opened this issue Oct 11, 2023 · 0 comments
Open

ImportError with Singularity #196

aCoalBall opened this issue Oct 11, 2023 · 0 comments

Comments

@aCoalBall
Copy link

Hi there,

Im trying to run in the singularity container. However it reports the following error

singularity exec --bind /usr/lib/locale/ /home/coalball/singularity_files/pepper_deepvariant-r0.8.simg run_pepper_margin_deepvariant call_variant -b dorado_sorted.bam -f /home/coalball/ref/ncbi-genomes-2023-05-19/GCF_009914755.1_T2T-CHM13v2.0_genomic.fna -o `pwd` -t 4 --ont_r9_guppy5_sup --sample_name HG001 -p PMDV_FINAL 2>&1 | tee pmdv.log 
[10-11-2023 07:23:18] INFO: VARIANT CALLING MODULE SELECTED
[10-11-2023 07:23:18] INFO: [1/9] RUNNING THE FOLLOWING COMMAND
-------
mkdir -p /home/coalball/projects/myNanoporeProject/data/HG001; 
mkdir -p /home/coalball/projects/myNanoporeProject/data/HG001/logs; 
mkdir -p /home/coalball/projects/myNanoporeProject/data/HG001/intermediate_files; 
cp /opt/pepper_models/PEPPER_VARIANT_ONT_R941_GUPPY5_SUP_V8.pkl /home/coalball/projects/myNanoporeProject/data/HG001/intermediate_files
-------
[10-11-2023 07:23:19] INFO: [2/9] RUNNING THE FOLLOWING COMMAND
-------
time pepper_variant call_variant -b dorado_sorted.bam -f /home/coalball/ref/ncbi-genomes-2023-05-19/GCF_009914755.1_T2T-CHM13v2.0_genomic.fna -t 4 -m /home/coalball/projects/myNanoporeProject/data/HG001/intermediate_files/PEPPER_VARIANT_ONT_R941_GUPPY5_SUP_V8.pkl -o /home/coalball/projects/myNanoporeProject/data/HG001/pepper/ --no_quantized  -s HG001 --ont_r9_guppy5_sup 2>&1 | tee /home/coalball/projects/myNanoporeProject/data/HG001/logs/1_pepper.log
-------
Traceback (most recent call last):
  File "/usr/local/bin/pepper_variant", line 5, in <module>
    from pepper_variant.pepper_variant import main
  File "/usr/local/lib/python3.8/dist-packages/pepper_variant/pepper_variant.py", line 11, in <module>
    from pepper_variant.modules.python.ImageGenerationUI import ImageGenerationUtils
  File "/usr/local/lib/python3.8/dist-packages/pepper_variant/modules/python/ImageGenerationUI.py", line 13, in <module>
    from pepper_variant.modules.python.AlignmentSummarizer import AlignmentSummarizer
  File "/usr/local/lib/python3.8/dist-packages/pepper_variant/modules/python/AlignmentSummarizer.py", line 3, in <module>
    from pysam import VariantFile
  File "/home/coalball/.local/lib/python3.8/site-packages/pysam/__init__.py", line 4, in <module>
    from pysam.libchtslib import *
ImportError: libcrypto.so.10: cannot open shared object file: No such file or directory

Could anyone tell me how to fix it?

Thanks

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