Skip to main content

Structural and site-specific Glycoproteomics Analysis Platform

Project description

StrucGAP

Structural and site-specific Glycoproteomics Analysis Platform

StrucGAP is a modular toolkit for downstream analysis of glycoproteomics data. It includes support for preprocessing, glycan structure analysis, quantification, network visualization, functional annotation, and more.

View the documentation for more information.

Installation

pip install strucgap

Troubleshooting

StrucGAP works successfully on Python 3.7, 3.8, 3.9, 3.10,
but for stability we recommend Python 3.9 or 3.10.

Most errors are caused by incompatible versions of NumPy and pandas.

  • For Python 3.7 and 3.8 → use NumPy 1.18.1
  • For Python 3.9 and 3.10 → use NumPy 1.26.4
  • For all Python versions → use pandas 1.3.5

Q1: ModuleNotFoundError: No module named 'statsmodels'

A1:

pip install statsmodels

Q2: ImportError: Missing optional dependency 'openpyxl'

A2:

pip install openpyxl

Q3: TypeError: loop of ufunc does not support argument 0 of type float which has no callable log2 method

A3:

pip install numpy==1.26.4
pip install pandas==1.3.5

Q4: ModuleNotFoundError: No module named 'importlib.metadata'

Cause: This package is included in the Python standard library only since version 3.8.

A4:

pip install importlib-metadata==6.7.0

Q5: During installation, I see errors mentioning Rust or Cargo. Do StrucGAP or gseapy depend on Rust?

Cause: Neither StrucGAP nor gseapy requires Rust directly. However, in some environments pip may try to compile dependencies from source (instead of using pre-built wheels). When that happens, Rust may be required if the dependency’s source build involves it.

A5: Alternatively, ensure that your environment has access to the official Python package index (PyPI) so wheels can be downloaded.
If compilation still occurs, you may need to install Rust temporarily, but this is not normally required.

Q6: TypeError: loop of ufunc does not support argument 0 of type float which has no callable log2 method

A6:

pip install pandas==1.3.5

Q7: ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall when execute pip install strucgap.

A7:

pip install --ignore-installed llvmlite

Q8: OSError: no library called "cairo-2" was found no library called "cairo" was found no library called "libcairo-2" was found cannot load library 'libcairo.so.2': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2' cannot load library 'libcairo.2.dylib': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib' cannot load library 'libcairo-2.dll': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo-2.dll' when execute pip install strucgap.

A8:

conda install -c conda-forge cairo

If your problem is not listed here, please open a GitHub Issue with your error message and environment details (Python version, OS, and package versions).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strucgap-1.1.4.tar.gz (180.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strucgap-1.1.4-py3-none-any.whl (184.6 kB view details)

Uploaded Python 3

File details

Details for the file strucgap-1.1.4.tar.gz.

File metadata

  • Download URL: strucgap-1.1.4.tar.gz
  • Upload date:
  • Size: 180.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for strucgap-1.1.4.tar.gz
Algorithm Hash digest
SHA256 63e81abe01f976b0760dfe00c43a14756612a92843185b93b543cc5e85c26361
MD5 f6b28671c12bd5b4c17ce7c86326de1e
BLAKE2b-256 3b0a58247ac395c2bae14774455b84ed6924de46270df08e49e284fae14f3a37

See more details on using hashes here.

File details

Details for the file strucgap-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: strucgap-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 184.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for strucgap-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e9142668e3aaa200a91e31c213c961f3b6df462f2c2e3c72ed546258353e6028
MD5 e8b0e0061de00eedef98272687aadada
BLAKE2b-256 ee4b3c6eef3db7157b138476a9048e72875248a6d22793d7b6659cdd116a8aa2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page