Each function downloads the source files of one frozen dataset (see
frozen_datasets()) into the sources cache, converts them to the Parquet
table used by the package and returns the file path. They are what
fetch_frozen_data() runs when a frozen file cannot be downloaded, and
what data-raw/build_frozen_data.R runs to publish a new version. The
resulting tables:
build_frozen_appris(): one row per transcript (transcript_id,gene_id,gene_name,translation_id,transcript_type) withappris_annotation(PRINCIPAL:1toALTERNATIVE:2,MINOR),appris_principal(TRUEfor thePRINCIPALlabels),appris_score, the method scores (firestar_residues,matador_structure,corsair_conservation,spade_domain_score,thump_tm_helices,crash_signal,trifid_score),protein_length,ccds_idandmanelabel.build_frozen_appris_domains(): one row per Pfam domain per transcript (transcript_id,gene_id) with its genomic span (seqid,start_pos,end_pos,strand),score,pfam_acc,pfam_name,evalue,pep_start,pep_end.build_frozen_riboseq_orfs(): one row per Ribo-seq ORF withorf_id,phase, genomic span,n_blocks,block_starts/block_ends(1-based,;-separated),orf_type,gene_id,gene_name,transcript_biotype,transcript_ids(compatible transcripts),replicated,studiesandprotein.orf_type,gene_id,transcript_ids,replicated,studiesandproteinareNAfor the phase 2 ORFs.build_frozen_nmd_exons(): one row per validated NMD-inducing exon withseqid,start_pos,end_pos,strand, the flanking exons,nmd_transcript_ids,non_nmd_transcript_ids,gene_id,gene_name,source. Reading the supplementary spreadsheet needs thereadxlpackage.build_frozen_polyasite(): one row per poly(A) site cluster withsite_id,seqid,start_pos,end_pos,cleavage_pos,strand,tpm,frac_samples,n_protocols,site_class(TE terminal exon, EX exon, IN intron, DS downstream, AE/AI/AU antisense, IG intergenic) andsignals.build_frozen_gtex(): one row per transcript and tissue (transcript_id,gene_id,tissue) withmedian_tpmandn_samples(GTEx v8, RSEM transcript TPM; identifiers are GENCODE v26, stored without version).
Usage
build_frozen_appris(output_path = ":cache:", sources_dir = NULL)
build_frozen_appris_domains(output_path = ":cache:", sources_dir = NULL)
build_frozen_riboseq_orfs(output_path = ":cache:", sources_dir = NULL)
build_frozen_nmd_exons(output_path = ":cache:", sources_dir = NULL)
build_frozen_polyasite(output_path = ":cache:", sources_dir = NULL)
build_frozen_gtex(output_path = ":cache:", sources_dir = NULL)