Skip to content

UW-GAC/wgsaparsr

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DOI

Service Master Develop
CI Status Travis-CI Build Status Travis-CI Build Status
Test Coverage Coverage Status Coverage Status

wgsaparsr

This package is the code the TOPMED DCC uses to parse genetic variant annotation files produced by the WGSA annotation tool

Installation

You can install wgsaparsr from github with:

# install.packages("devtools") 
devtools::install_github("UW-GAC/wgsaparsr")

Example

# list all fields in an annotation file: 
all_fields <- get_fields("WGSA_chr_1.gz")

# load a configuration file
local_config <- load_config("config.tsv")

# parse WGSA output file tsv output files 
# (one for dbnsfp annotations, one for snv/indel annotaitons)
parse_to_file(source_file = snv_source_file,
  destination = snv_destination,
  dbnsfp_destination = dbnsfp_destination,
  config = config,
  freeze = 5,
  chunk_size = 1000,
  verbose = TRUE)

Expanded configuration file documentation coming soon. In the meantime, see ?wgsaparsr::load_config()

About

Code for parsing TOPMED variant annotation files produced by the WGSA annotation tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages