FoxoTech / methylprep

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

methylprep.read_geo exceptions #57

Open marcmaxson opened 4 years ago

marcmaxson commented 4 years ago
>>>import pandas as pd
>>> x = pd.read_csv('GSE67530_signals.txt', sep='\t')
>>> cols = {i:i.title() for i in list(x.columns)}
>>> x = x.rename(columns=cols)
>>> x.to_csv('GSE67530_signals_revised.txt', sep='\t')
>>> z = methylprep.read_geo('GSE67530_signals_revised.txt')
>>> z.to_csv('GSE67530_betas.csv.gz') 

(make samples case insensitive. It's possible to have the function try this trick before failing)