mulinlab/CAUSALdb-finemapping-pip

Error loading input file

Closed this issue · 1 comments

I got this message:

Traceback (most recent call last):
  File "fine_map_pipe.py", line 230, in <module>
    df = df.dropna(subset=['CHR','BP','EA','NEA','BETA','SE','P','Zscore'])
  File "/usr/local/lib/python3.7/dist-packages/pandas/core/frame.py", line 5004, in dropna
    raise KeyError(list(np.compress(check, subset)))
KeyError: ['CHR', 'BP', 'EA', 'NEA', 'BETA', 'SE', 'P', 'Zscore']

What am I doing wrong?

Input data to reproduce error: https://transfer.sh/l01PM/causaldb_input.tsv

Thanks in advance.

Oh, I think is because I forgot to save hader.