Skip to main content
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

Metadata

Release files for dsr-shelx 242

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dsr-shelx 242
File Size Uploaded Provenance Actions
dsr_shelx-242.tar.gz 1.8 MB Without provenance Details for dsr_shelx-242.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dsr-shelx 242
File Interpreter ABI Platform Actions
dsr_shelx-242-py3-none-any.whl Python 3 none any Details for dsr_shelx-242-py3-none-any.whl

Total release size: 3.3 MB

Release files / dsr_shelx-242.tar.gz

Download URL dsr_shelx-242.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
7d4acea62ebc6e75635f85fec13bbb950b2521050ff74ee1d1a8dfd106e26a44
BLAKE2b-256 checksum
How to use checksums
639be9adf756c05b2c8beb97435cde19946d6fb9b6094ca0c5b76e57b06931bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / dsr_shelx-242-py3-none-any.whl

Download URL dsr_shelx-242-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4d6cd0f9baa32cc20acc0e0fdd05971a9936c8ca8aa8a9532ec3b1b00367c036
BLAKE2b-256 checksum
How to use checksums
e38ee01e5354fda95a3f7af3a55f9700bc5471773db33f40aa4b00efec2cc0e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Security for dsr-shelx 242

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page