Open cewim opened 11 months ago
The error tells us that at least one probe position was an empty string and therefore it could not be interpreted as an int position. The position information used by glint is extracted from HumanMethylationSites and there are no empty strings there (there are some nan values though). Have you changed the HumanMethylationSites file?
Understood. No, I have not changed the HumanMethylationSites file at all. And I verified that none of the CpG sites listed in the rownames of my beta matrix were empty strings.
Could the issue be with the annotation file I'm using for the EPIC chip v2? I am not aware of any other annotation packages available for v2.
Edited to add: After removing the suffixes from the CpG sites, there are duplicated CpGs in the row names. However, the error happens regardless of whether the suffixes are attached.
Can you try running the gsave command only on CpGs that are at the intersection between your data and the CpGs with non-nan positions in the HumanMethylationSites file? Does it work? If so, does including a single CpG that is not in HumanMethylationSites raise the same position conversion error?
Thank you for your response. Yes, I will try this and get back to you ASAP.
Thank you for your patience. I subset my data matrix to include only CpGs from the HumanMethylationSites file which did not have "nan" values for UCSC_RefGene_Name and Relation_to_UCSC_CpG_Island. I was able to successfully run glint using this pared down data file.
I wonder what this indicates to you and also why I am able to use data from the EPIC chip v1 without subsetting to CpGs with non-nan positions in the HumanMethylationSites file.
HumanMethylationSites includes CpGs from EPIC too.
Hello,
I am attempting to run glint using conda 23.9.0 and Python 2.7.15. My data are from the EPIC chip v2 and CpGs annotated using this annotation package for the v2 chip.
I've successfully run glint on a methylation dataset from the EPIC chip v1 using Anaconda2 prompt and Python 2.7. Now, I'm running into issues simply generating the glint files needed for this new analysis.
(Please forgive the raw strings pointing directly to Python/glint/data files - this was the only way I could originally get glint to run.)
The code I'm using is:
And the output I receive is:
I am not sure how to interpret this error.
I have done the following:
Could you please help me figure out why this is happening?
I'm a new glint/Python user and would appreciate your patience with me on this issue.
Thank you for your time and for monitoring this page!