Skip to content

Commit

Permalink
Improvements in R script
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Feb 27, 2025
1 parent db93147 commit 26354c5
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 134 deletions.
4 changes: 2 additions & 2 deletions bedboss/bedstat/bedstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ def bedstat(
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
"bedstat",
"tools",
"regionstat.R",
"regionstat_cli.R",
)
assert os.path.exists(rscript_path), FileNotFoundError(
f"'{rscript_path}' script not found"
)
command = (
f"Rscript {rscript_path} --bedfilePath={bedfile} "
f"--fileId={bed_digest} --openSignalMatrix={open_signal_matrix} "
f"--openSignalMatrix={open_signal_matrix} "
f"--outputFolder={outfolder_stats_results} --genome={genome} "
f"--ensdb={ensdb} --digest={bed_digest}"
)
Expand Down
Loading

0 comments on commit 26354c5

Please sign in to comment.