R package with supporting routines for the SCAN2 pipeline. These routines may not be particularly useful when separate from the main pipeline.
See https://github.com/parklab/SCAN2 for the full pipeline.
This package requires command line access to a Linux system. There are 3 reasons:
- Custom tabix parsing to read in large files. This uses a command line
tabix
executable piped into the *nixcut
command. Sometimes tabix is replaced by a simplegunzip -c
when no genomic region is given. - The bedtoolsr package: this is a wrapper around bedtools executables.
- The SigProfilerMatrixGeneratorR package: another wrapper (via the R R<->python reticulate interface) to a python library.
After installing r-scan2, the user must download and install a reference genome for SigProfilerMatrixGenerator. See the SCAN2 pipeline README for detailed instructions.