Skip to main content

A program to model disorder in small-molecule X-ray structures

Project description

Packaging status

Lates Release Unit tests Contributions PyPI package

DSR

The program DSR consists of a text database with fragments of molecules and the DSR program. It acts as a preprocessor for SHELXL .res files. The user inserts a special command in the SHELXL .res file and the DSR program reads this information to put a molecule or fragment with the desired atoms on the position of the target atoms or q-peaks in the unit cell. Bond restraints can be either applied from the database to the molecule or automatically generated.

I apologize for the messy code. This was my first bigger project...

You have either a command line version:

C:\Users\daniel>dsr
----------------------------------------------------- D S R - v238 -------------------------------------
Disordered Structure Refinement (DSR)

Example DSR .res file command line:
REM DSR PUT/REPLACE "Fragment" WITH C1 C2 C3 ON Q1 Q2 Q3 PART 1 OCC -21 =
  RESI DFIX
---------------------------------------------------------------------------------------------------------
   PUT:     Just put the fragment source atoms here.
   REPLACE: Replace atoms of PART 0 in 1.3 A distance around target atoms.
---------------------------------------------------------------------------------------------------------

optional arguments:
  -h, --help            show this help message and exit
  -r "res file" ["res file" ...]
                        res file with DSR command
  -re "res file" ["res file" ...]
                        res file with DSR command (write restraints to external file)
  -e "fragment"         export fragment as .res/.png file
  -c "fragment"         export fragment to clipboard
  -t                    inverts the current fragment
  -i "tgz file"         import a fragment from GRADE (needs .tgz file)
  -l                    list names of all database entries
  -s "string"           search the database for a name
  -g                    keep group rigid (no restraints)
  -u                    Update DSR to the most current version
  -n                    do not refine after fragment transfer

Or a graphical user interface in ShelXle:

DSR main window

DSR editor

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

dsr_shelx-241.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

dsr_shelx-241-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file dsr_shelx-241.tar.gz.

File metadata

  • Download URL: dsr_shelx-241.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for dsr_shelx-241.tar.gz
Algorithm Hash digest
SHA256 32f802525bc45d08efabc1c6a18fac3a2cc84c995df7b66749e2cd9913c7fe0c
MD5 b028dfc44a470adab265012d3acda26f
BLAKE2b-256 46f9981ea63355522fdeade1daa030bceee0f609b474bac72dd8f7f4254054ab

See more details on using hashes here.

File details

Details for the file dsr_shelx-241-py3-none-any.whl.

File metadata

  • Download URL: dsr_shelx-241-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for dsr_shelx-241-py3-none-any.whl
Algorithm Hash digest
SHA256 ff465ee7d19c46cc48242b3b36f2028ebd02373009972e9ac3e8e5702026ea4c
MD5 abd843031ca70b1ae59022cb86cdf156
BLAKE2b-256 3036c40277872d566b270c2dcfdf6b9c0ea583011909a6007642340e256f4a38

See more details on using hashes here.

Supported by

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