hammerlab / cohorts

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

Refactor `_load_single_patient_variants` function #251

Open jburos opened 7 years ago

jburos commented 7 years ago

As it stands, this function likely contains a lot of repeated logic & probably also has too many checks (for io errors, no variants, etc).

See https://github.com/hammerlab/cohorts/pull/245#discussion_r134777391 for some context.