Skip to content

Commit

Permalink
added zygosity columns to the clinical report
Browse files Browse the repository at this point in the history
  • Loading branch information
naumenko-sa committed Feb 1, 2019
1 parent d9b0601 commit 072de57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cre.topmed.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ get_af_by_rsid <- function(rs_id){
# from Johar 2016
# rs_id <- "rs202193903"
# rs_id = "rs903331232"
rs_id = "rs1129038"
# rs_id = "rs1129038"
#- not found
#ls("package:MafDb.TOPMed.freeze5.hg19")
mafdb <- MafDb.TOPMed.freeze5.hg19
Expand Down
3 changes: 2 additions & 1 deletion cre.vcf2db.R
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,8 @@ clinical_report <- function(project,samples){

filtered_report <- subset(full_report,
Quality > 1000 & Gnomad_af_popmax < 0.005 & Frequency_in_C4R < 6 & max_alt >=20,
select = c("Position", "GNOMAD_Link", "Ref", "Alt", "Gene", paste0("Burden.",samples),
select = c("Position", "GNOMAD_Link", "Ref", "Alt", "Gene", paste0("Zygosity.", samples),
paste0("Burden.",samples),
"Variation", "Info", "Refseq_change", "Omim_gene_description", "Omim_inheritance",
"Orphanet", "Clinvar", "Frequency_in_C4R",
"Gnomad_af_popmax", "Gnomad_af", "Gnomad_ac", "Gnomad_hom",
Expand Down

0 comments on commit 072de57

Please sign in to comment.