ParseMetaFromGtfFile:
Helper function to parse length and GC content information from a GTF file.
Description
When applying the UPC_RNASeq function, it is possible to correct for the length and GC content of genomic features. To accomplish this, an annotation file indicating these values for each feature must be provided. This helper function enables users to generate an annotation file, using a GTF file and genome FASTA file as references.
File pattern that indicates where FASTA file(s) for the associated reference genome can be found.
outFilePath
Path where the output file will be stored.
featureTypes
One or more feature types (for example, "protein_coding," "unprocessed_pseudogene") that should be extracted from the GTF file. The default is "protein_coding."
attributeType
The type of attribute ("gene_id", "transcript_id") to be parsed. Values will be grouped according to these attributes.