FoxoTech / methylprep

Python-based preprocessing software for Illumina methylation arrays
MIT License
34 stars 14 forks source link

methylprep generates only csv files, so methylcheck doesn't work #128

Open chrishenan opened 1 year ago

chrishenan commented 1 year ago

Hi, I'm new to python and methylation. I ran the methylprep and it generates all the required output, but in .csv and not in .pkl. So when I do methylcheck in jupyter like this:

import methylcheck from pathlib import Path filepath = Path('D:\bla\blablu\blablubli\blablublibsi')

betas = methylcheck.load(filepath) betas.head()

I get this error with betas.head():

WARNING:methylcheck.load_processed:No files of type (beta_value) found in D:\D:\bla\blablu\blablubli\blablublibsi' (or sub-folders).

AttributeError Traceback (most recent call last) Cell In[2], line 2 1 betas = methylcheck.load(filepath) ----> 2 betas.head()

AttributeError: 'NoneType' object has no attribute 'head'

Why were no pkl files created and is this really the reason why it is not recognizing the beta_values (they are there in the .csv) ?

Would be great if you could help me out. Cheers!