read¶
-
craft.read.annovar(file, file_exonic, colnames)[source]¶ Read ANNOVAR output files into an internal dataframe.
Gene annotation with ANNOVAR returns two different output files (variant_function and exonic_variant_function).
Where exonic SNPs exist, we merge the additional data of exonic variant function, and genes + transcript ID + protein-level change into the dataframe based on matching rsids.