methylprep icon indicating copy to clipboard operation
methylprep copied to clipboard

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

Open chrishenan opened this issue 1 year ago • 0 comments

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!

chrishenan avatar Aug 17 '23 12:08 chrishenan