Skip to main content

SAXSMART: SAXS modeling and refinement toolkit (Dash app)

Project description

SAXSMART: SAXS Modelling and Refinement Toolkit

Overview

SAXSMART is an interactive web application for the analysis and refinement of Small-Angle X-ray Scattering (SAXS) data. It provides a user-friendly interface to perform common SAXS analyses and refine structural models against experimental data using PEPSI-SAXS.

Features

  • Data Upload: Upload SAXS curves (.dat), protein sequences (.fasta), and structures (.pdb/.cif).
  • Database Fetch: Fetch structural models directly from the PDB or AlphaFold Database.
  • Automated Analysis: Automatic calculation of Guinier fit, P(r) distribution, and Kratky plots.
  • Interactive Refinement: Integrated PEPSI-SAXS for rigid-body and flexible model refinement.
  • Rich Visualization: Interactive plots and 3D molecular viewers.

Installation

From Pypi

# Create and activate a virtual environment (or use conda)
python3 -m venv .venv
source .venv/bin/activate

# Install
pip install -e saxsmart

From source

# Clone your repository
git clone https://gitlab.esrf.fr/hayden5a/saxsmart.git
cd saxsmart

# Create and activate a virtual environment (or use conda)
python3 -m venv .venv
source .venv/bin/activate

# Install
python -m pip install -U pip
pip install -e .

Note: Dependencies are declared in pyproject.toml.


Running

After installation, use the console script:

saxsmart

Alternative entry points:

python -m saxsmart
  • Dash automatically serves files in the packaged assets/ directory.
  • Example data is bundled under saxsmart/example_data/.

Configuration

You can configure paths via environment variables:

  • PEPSI_SAXS_BIN — Full path to the pepsi-SAXS executable (if not on PATH).
    export PEPSI_SAXS_BIN=/opt/pepsi/pepsi-SAXS
    
  • SAXSMART_CACHE_DIR — Override the directory for long-callback caching.
    export SAXSMART_CACHE_DIR=/scratch/$USER/saxsmart-cache
    
  • SAXSMART_TEMP — Override the temporary working directory.
    export SAXSMART_TEMP=/scratch/$USER/saxsmart-tmp
    

If PEPSI-SAXS is not required for your workflow, related actions will be disabled or produce a friendly error message.


License

MIT (see LICENSE).

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

saxsmart-1.0.0.tar.gz (166.8 kB view details)

Uploaded Source

File details

Details for the file saxsmart-1.0.0.tar.gz.

File metadata

  • Download URL: saxsmart-1.0.0.tar.gz
  • Upload date:
  • Size: 166.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for saxsmart-1.0.0.tar.gz
Algorithm Hash digest
SHA256 23885ad7b83e36d8d099540d4d5e002f106eb266cecef86840c64b6dc1a5b333
MD5 18b02eb2a29b92dc651992503f72b824
BLAKE2b-256 e8e77194903c49ab85ed7cfc82c95aaba5b213dfef509a043d5e2d569d00c44f

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