Skip to content
Snippets Groups Projects
Commit 2904ac24 authored by nfontrod's avatar nfontrod
Browse files

src/db_utils/interactions/bedtools.py: creation of the required directory if...

src/db_utils/interactions/bedtools.py: creation of the required directory if they don't exist at the beginning of function 'main_bedtools'
parent 7bac84b3
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,9 @@ def main_bedtools() -> None:
Launch bedtools slop and bedtools intersect commands for exons and genes.
"""
Config.exon_output.parent.mkdir(exist_ok=True, parents=True)
Config.pet_vs_exon_output.mkdir(exist_ok=True, parents=True)
Config.pet_vs_gene_output.mkdir(exist_ok=True, parents=True)
launch_bedtools_slop(Config.exon, Config.exon_window, Config.exon_output)
launch_bedtools_slop(Config.gene, Config.gene_window, Config.gene_output)
launch_bedtools_intersect(Config.exon_output,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment