View source: R/functions_multimapping.R
writeFastaFromGR | R Documentation |
write a fasta file of specified read_size from reference sequence for alignment
writeFastaFromGR( gr, fasta_file, mc = parallel::detectCores() - 4, genome = BSgenome.Hsapiens.UCSC.hg38::Hsapiens, read_size = 75, wrap = 100 )
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.