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

refactor: Updated the counts-umi-smk rule and it's scripts to python3 #93

Merged

Conversation

bioinformaticsguy
Copy link
Contributor

Created new files for scripts with the suffix _python3 and also added the pysam library in the python3 environment that was needed by the python scripts

…as it is needed in the FastQ2doubleIndexBAM_python3.py script.
  File "/home/ali/Documents/MPRAsnakeflow/workflow/rules/../scripts/count/FastQ2doubleIndexBAM_python3.py", line 281, in <module>
    outfiles[None][0].write(forward)
  File "pysam/libcalignmentfile.pyx", line 1710, in pysam.libcalignmentfile.AlignmentFile.write
  File "pysam/libcalignmentfile.pyx", line 1742, in pysam.libcalignmentfile.AlignmentFile.write
OSError: sam_write1 failed with error code -1
[E::bgzf_close] File write failed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I add it here because it is a minor thing (actually because of the Snakefile): change regex strings in the Snakefile to raw strings as mentioned here

@Ampholyt Ampholyt merged commit a25af78 into kircherlab:development Jan 24, 2024
3 of 4 checks passed
@bioinformaticsguy bioinformaticsguy deleted the counts-umi-smk-script-update branch January 24, 2024 18:57
visze pushed a commit to visze/MPRAsnakeflow that referenced this pull request Jul 31, 2024
…k-script-update

refactor: Updated the counts-umi-smk rule and it's scripts to python3
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

Successfully merging this pull request may close these issues.

2 participants