Skip to content

Commit aef655d

Browse files
committed
Add cnv & sv tests
1 parent e6a68a5 commit aef655d

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ addons:
1313
cache:
1414
packages: true
1515

16+
python:
17+
- '3.7'
18+
19+
install:
20+
- pip install SigProfilerMatrixGenerator
21+
22+
1623
warnings_are_errors: false
1724

1825
script: R -f test.R

test.R

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
library(devtools)
2-
devtools::install_github("AlexandrovLab/SigProfilerMatrixGeneratorR@development")
3-
library(SigProfilerMatrixGeneratorR)
2+
install_github("AlexandrovLab/SigProfilerMatrixGeneratorR@development")
3+
4+
library(reticulate)
5+
py_config()
6+
7+
library(SigProfilerMatrixGeneratorR)
8+
9+
cnv <- CNVMatrixGenerator("BATTENBERG",
10+
"./test_data/CNV/Battenberg_test.tsv",
11+
"test_CNV",
12+
"./test_data/output_CNV")
13+
14+
15+
sv <- SVMatrixGenerator("./test_data/SV",
16+
"test_CNV",
17+
"./test_data/output_SV")
18+

0 commit comments

Comments
 (0)