Skip to content

Commit

Permalink
added tcag filter
Browse files Browse the repository at this point in the history
  • Loading branch information
naumenko-sa committed Jul 10, 2019
1 parent a48054f commit 6683306
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cre.panel_filter.tcag.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
###############################################################################
# Filter TCAG small variant report
###############################################################################
library(tidyverse)

args = commandArgs(trailingOnly = T)
input_table <- read_tsv(args[1])
panel <- read_csv(args[2])
filtered_table <- input_table %>% filter(FILTER=="PASS", gene_symbol %in% panel$Gene_name,
!typeseq_priority %in% c("intronic"))
write_excel_csv(filtered_table, args[3])

0 comments on commit 6683306

Please sign in to comment.