R/validate.R
require_transcriptome_extraction.RdVerifies that all packages needed to extract a transcriptome FASTA from a GTF annotation file are available.
require_transcriptome_extraction()Invisible TRUE if all requirements are met
Extracting a transcriptome from a genome reference (BSgenome) and GTF annotation requires these Bioconductor packages:
Biostrings: For sequence manipulation
rtracklayer: To parse GTF annotation files
GenomicRanges: For genomic coordinate operations
BSgenome: To access genome sequences
If any package is missing, install with:
BiocManager::install(c("Biostrings", "rtracklayer", "GenomicRanges", "BSgenome"))if (FALSE) { # \dontrun{
# Check before using GTF -> FASTA extraction
require_transcriptome_extraction()
} # }