Write FASTA file of reference sequences.
Value
Writes a FASTA reference file "reference_output.fasta". If multiple ranges are included in the GRanges object, the sequences will be written to a single FASTA file. Sequences names will be the seqnames (contig) of the range.
Details
Generate an arbitrary multi-sequence FASTA file from GRanges including the reference sequences.
Examples
if (FALSE) { # \dontrun{
# Write FASTA files for the 20 genomic target sequences
# of TwinStrand's Mouse Mutagenesis Panel.
rg <- get_seq("TSpanel_mouse")
write_reference_fasta(rg, output_path = NULL)
} # }