bowtie2_index: Make index for Rbowtie2

View source: R/Functions.R

bowtie2_indexR Documentation

Make index for Rbowtie2

Description

Make index for Rbowtie2

Usage

bowtie2_index(
  genomeFasta,
  outIndex = gsub("\\.fa|\\.fasta|\\.fna", "", genomeFasta),
  overwrite = F,
  threads = 1
)

Arguments

genomeFasta

path to file to process.

outIndex

path to output index.

overwrite

overwrite existing output files, TRUE or FALSE (default).

threads

number of threads to use, default is 1.

Value

Path to index

Author(s)

Kathryn Rozen-Gagnon

Examples

testFasta <- system.file("extdata/hg19Small.fa",package="CLIPflexR")
myIndex <-suppressWarnings(bowtie2_index(testFasta, overwrite = TRUE))

kathrynrozengagnon/CLIPflexR documentation built on Dec. 8, 2022, 7:31 p.m.