Make index for Rbowtie2
bowtie2_index(
genomeFasta,
outIndex = gsub("\\.fa|\\.fasta|\\.fna", "", genomeFasta),
overwrite = F,
threads = 1
)
path to file to process.
path to output index.
overwrite existing output files, TRUE or FALSE (default).
number of threads to use, default is 1.
Path to index
testFasta <- system.file("extdata/hg19Small.fa",package="CLIPflexR")
myIndex <-suppressWarnings(bowtie2_index(testFasta, overwrite = TRUE))