Skip to content

Commit

Permalink
chord cli: bsgenome required beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Dec 15, 2024
1 parent 004cb52 commit 58faee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
- gha-test
- docker_update
env:
atoken: ${{ secrets.ANACONDA_UPLOAD_TOKEN }}
recipe_path: conda/recipe
Expand Down
2 changes: 2 additions & 0 deletions inst/cli/chord.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ chord_add_args <- function(subp) {

chord_parse_args <- function(args) {
cli::cli_h1("Started running CHORD!")
# CHORD requires this to be loaded...
suppressPackageStartupMessages(library("BSgenome.Hsapiens.UCSC.hg38"))
res <- sigrap::chord_run(
vcf.snv = args$snv, vcf.sv = args$sv,
sample.name = args$sample, outpath = args$out
Expand Down

0 comments on commit 58faee4

Please sign in to comment.