hammerlab / cohorts

Utilities for analyzing mutations and neoepitopes in patient cohorts
Apache License 2.0
20 stars 4 forks source link

Fix variant stats #168

Closed jburos closed 7 years ago

jburos commented 7 years ago

Few changes:

  1. Addresses issues #166 - variant stats lead to divide by zero error when total read count is 0 for a variant
  2. Also addresses #167 - filtering variant stats by type, irrespective of merged file type
  3. caches filtered variants as well as unfiltered variant collections
  4. pass **kwargs to filter_fn, if provided. This enables more flexible filtering