Reconciles the different white- and blacklists provided as input into Multi-Dendrix.
Parameters: |
|
---|
(For brevity, examples are for patient white- and blacklists only)
>>> patient_wlst = 'patient.wlst'
>>> open(patient_wlst).readlines()
["TCGA-01", "TCGA-02", "TCGA-03"]
>>> white_and_blacklisting(patient_wlst)
(defaultdict(<function <lambda>>, {}), {"TCGA-01", "TCGA-02", "TCGA-03"})
>>> patient_blst = 'patient.blst'
>>> open(patient_wlst).readlines()
["TCGA-02", "TCGA-04"]
>>> white_and_blacklisting(patient_wlst)
(defaultdict(<function <lambda>>, {}), {"TCGA-01", "TCGA-02", "TCGA-03"})
See also: load_mutation_data(), load_mutation_data_w_cutoff().