You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a snakemake workflow from this github repo the workflow runs in two conda environments. One of the two environments requires pysam as a dependency, but when I ran the workflow I received a ModuleNotFoundError for pysam and when I ran conda list within the environment I saw that pysam was not installed. After manually activating the conda environment and installing pysam 0.20.0 (the version the repo was tested with), I ran the workflow again and I still receive the same error. This is despite verifying that pysam is now in the environment using conda list while the environment is activated. Here is the terminal output when I manually activate the environment and explicitly execute the problematic script:
(/home/ayush/evo-genome-analysis/.snakemake/conda/e7058f7e8daa0d39e1ca146fe09d6f2d_) ayush@DESKTOP-45HGJK1:~/evo-genome-analysis$ python3 scripts/pileup/extract_nonprimary.py --bam test_data/output/mapped_reads/RefWT113017-W/E8G_trimmed_WTRef_bow_sorted_collated.bam --csv test_data/output/pileup/RefWT113017-W/non_primary/E8G_trimmed_WTRef_bow_sorted_collated/non_primary.csv
Traceback (most recent call last):
File "/home/ayush/evo-genome-analysis/scripts/pileup/extract_nonprimary.py", line 1, in <module>
import pysam
ModuleNotFoundError: No module named 'pysam'
What could be the cause of this? Please let me know if I need to provide any additional information. Thank you!
The text was updated successfully, but these errors were encountered:
I am running a snakemake workflow from this github repo the workflow runs in two conda environments. One of the two environments requires pysam as a dependency, but when I ran the workflow I received a ModuleNotFoundError for pysam and when I ran conda list within the environment I saw that pysam was not installed. After manually activating the conda environment and installing pysam 0.20.0 (the version the repo was tested with), I ran the workflow again and I still receive the same error. This is despite verifying that pysam is now in the environment using conda list while the environment is activated. Here is the terminal output when I manually activate the environment and explicitly execute the problematic script:
What could be the cause of this? Please let me know if I need to provide any additional information. Thank you!
The text was updated successfully, but these errors were encountered: