When running the Gene_Centric_Coding / Gene_Centric_Noncoding functions, I recently found that functional annotation weights are silently ignored when variant_type is set to "indel" or "variant", despite no indication in the documentation suggesting this would occur.
The source of this is nested within the coding and noncoding functions, used by Gene_Centric_Coding and Gene_Centric_Noncoding
coding.R:88-117 and noncoding.R123-152: Annotation processing wrapped in if(variant_type=="SNV")
The same is true for the MetaSTAARlite functions, coding_MetaSTAARlite_worker and noncoding_MetaSTAARlite_worker
If variant_type is anything but 'SNV', the Use_annotation_weights argument essentially becomes useless, effectively forcing it to be FALSE.
When running the
Gene_Centric_Coding/Gene_Centric_Noncodingfunctions, I recently found that functional annotation weights are silently ignored when variant_type is set to "indel" or "variant", despite no indication in the documentation suggesting this would occur.The source of this is nested within the
codingandnoncodingfunctions, used byGene_Centric_CodingandGene_Centric_NoncodingThe same is true for the MetaSTAARlite functions,
coding_MetaSTAARlite_workerandnoncoding_MetaSTAARlite_workerIf variant_type is anything but 'SNV', the Use_annotation_weights argument essentially becomes useless, effectively forcing it to be FALSE.