Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrishenan opened this issue Aug 17, 2023 · 0 comments
Open

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

chrishenan opened this issue Aug 17, 2023 · 0 comments

Comments

@chrishenan
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant