writeFastaFromGR: write a fasta file of specified read_size from reference...

View source: R/functions_multimapping.R

writeFastaFromGRR Documentation

write a fasta file of specified read_size from reference sequence for alignment

Description

write a fasta file of specified read_size from reference sequence for alignment

Usage

writeFastaFromGR(
  gr,
  fasta_file,
  mc = parallel::detectCores() - 4,
  genome = BSgenome.Hsapiens.UCSC.hg38::Hsapiens,
  read_size = 75,
  wrap = 100
)

Arguments

gr

region to generate reads for

fasta_file

path to output fasta file

mc

number of cores to use. default is half of max.

genome

BSgenome to use

read_size

size of reads to make


jrboyd/ssvRecipes documentation built on May 22, 2022, 7:07 a.m.