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

'Sox9_Example/{}_{}_{}.bed' is missing #2

Open
PengfeiInTuebingen opened this issue May 29, 2024 · 0 comments
Open

'Sox9_Example/{}_{}_{}.bed' is missing #2

PengfeiInTuebingen opened this issue May 29, 2024 · 0 comments

Comments

@PengfeiInTuebingen
Copy link

PengfeiInTuebingen commented May 29, 2024

Hi,
Very cool tool, i tried run the example codes with example data, most of the codes worked well, i got an error at end of the analysis:
TypeError Traceback (most recent call last)
Cell In[20], line 15
13 # Run METALoci
14 print("Running {} on {} dataset for {} signal data...".format(gene,dataset,sigdata))
---> 15 MLs(gene,region,gender,dataset,covcor,reso,midp,sigdata,hicfile,sigfile)

Cell In[19], line 287, in MLs(gene, region, gender, dataset, cf, reso, midp, sigdata, hicfile, sigfile)
285 metaloci_data = pd.DataFrame()
286 if (HHdata.unary_union.geom_type == 'MultiPolygon'):
--> 287 for i in range(0,len(HHdata.unary_union)):
288 ml = HHdata.unary_union[i]
289 ids = GetPointIds(coords,ml)

TypeError: object of type 'MultiPolygon' has no len()
the i checked the code, and i didn't find Sox9_Example/{}{}{}.bed file, could you please also provide this file?
Thanks in advance!
Best,
PF

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