You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear colleagues,
I am writing to you regarding the published "Analysis of PTMs in their structural context using the StructureMap and AlphaMap Python packages" pipeline (please find processed code attached). "Prepare the environment" and "Download AlphaFold data" stages went smoothly, but I have an error in "Format AlphaFold data error":
Traceback (most recent call last):
File "script.py", line 39, in
alphafold_annotation = format_alphafold_data(directory=cif_dir,
File "/home/fox/.local/lib/python3.8/site-packages/structuremap/processing.py", line 255, in format_alphafold_data
df = pd.DataFrame({'protein_id': structure['_atom_site.pdbx_sifts_xref_db_acc'],
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 709, in init
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 481, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 115, in arrays_to_mgr
index = _extract_index(arrays)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 655, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
I would be very glad if you can suggest the solution for the issue.
Kind Regards,
Shkrigunov Timur
The text was updated successfully, but these errors were encountered:
Dear colleagues,
I am writing to you regarding the published "Analysis of PTMs in their structural context using the StructureMap and AlphaMap Python packages" pipeline (please find processed code attached). "Prepare the environment" and "Download AlphaFold data" stages went smoothly, but I have an error in "Format AlphaFold data error":
Traceback (most recent call last):
File "script.py", line 39, in
alphafold_annotation = format_alphafold_data(directory=cif_dir,
File "/home/fox/.local/lib/python3.8/site-packages/structuremap/processing.py", line 255, in format_alphafold_data
df = pd.DataFrame({'protein_id': structure['_atom_site.pdbx_sifts_xref_db_acc'],
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 709, in init
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 481, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 115, in arrays_to_mgr
index = _extract_index(arrays)
File "/home/fox/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 655, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
I would be very glad if you can suggest the solution for the issue.
Kind Regards,
Shkrigunov Timur
The text was updated successfully, but these errors were encountered: