-
Notifications
You must be signed in to change notification settings - Fork 4
Its giving TypeError error while running the pipeline #2
Description
[11 rows x 18 columns] Traceback (most recent call last): File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 219, in <module> main() File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 194, in main df = ah.get_clinical_guidelines_table() File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 141, in get_clinical_guidelines_table hap_df = self.get_haplotype_dataframe() File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 109, in get_haplotype_dataframe hap_mat = self.get_haplotypes() File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 95, in get_haplotypes gene_haps.append(_get_haplotypes(gene_subset.copy(), current_haplotype)) File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 73, in _get_haplotypes remaining_haplo = set([element for halpolist in variant_subdf["multival_haplotype"] File "/data/bnf/dev/ram/Pipelines/Snakemake/pgx_module/src/Summary/get_possible_diplotypes.py", line 74, in <listcomp> for element in halpolist]) TypeError: 'NoneType' object is not iterable