Refinement of disordered structures with SHELXL
Switch branches/tags
Clone or download
Latest commit c86c179 Nov 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Oct 22, 2018
docs docs Sep 25, 2016
example fix more typos Sep 5, 2016
manuals manual update reg. residues Aug 28, 2018
mpmath namath to v0.19+tests Feb 11, 2017
networkx networkx added Feb 24, 2014
old typos Mar 11, 2015
pictures adding furan fragment Aug 22, 2018
rmsd minor changes Aug 17, 2018
scripts small fixes Nov 29, 2018
setup Version 218 Nov 28, 2018
unit-tests small fixes Nov 29, 2018
.gitattributes port to Python 3 Feb 2, 2014
.gitignore trying icp Aug 12, 2018
DSR.pyproj vst Aug 3, 2015
DSR.spec pyinstaller script, but startup of DSR is slow with single exe Jan 10, 2018
MANIFEST attempt to make setup.py working. failed for now Dec 4, 2014
MANIFEST.in better spec file? Dec 4, 2014
README license in readme Mar 25, 2015
README.md Update README.md Jul 6, 2018
__init__.py attempt to make setup.py working. failed for now Dec 4, 2014
afix.py fixed external restraints and rigid group Aug 10, 2018
atomhandling.py rmsd adaption Aug 9, 2018
atoms.py more unit tests Nov 7, 2016
cf3fit.py todo Feb 3, 2018
constants.py first working rmsd fit with dsr Aug 9, 2018
dbfile.py all tests for fast fit running Aug 17, 2018
density.py dyxfh Apr 20, 2015
dsr removed "clear screen" from start script, because it causes bad chara… Oct 19, 2016
dsr.bat removed -S from batch script Aug 9, 2018
dsr.py Version 218 Nov 28, 2018
dsr_db.txt fixed petane sum formula Sep 13, 2018
dsrparse.py minor changes Feb 3, 2018
elements.py new zip file script and python3 fixes Jan 27, 2018
export.py doctest fix Apr 5, 2018
make_release.sh rmsd to debian package Aug 19, 2018
misc.py refractoring Sep 27, 2018
olex_dsr_db.txt fixed petane sum formula Sep 13, 2018
options.py fixing shelxl fit tests Aug 17, 2018
p21c.hkl cleanup Feb 1, 2014
p21c.res adding afix 9 to rigid group Aug 18, 2018
p21n_cf3.hkl more cf3 May 20, 2015
p21n_cf3.res atoms names work now. need to fix split+cf3,cf9 Jun 30, 2015
pngcanvas.py cleanup May 25, 2014
pyperclip.py cleanup and improved warnings Apr 30, 2017
refine.py being more verbose for replace mode and less for Gof, wR2 and R1 Apr 16, 2018
resfile.py minor changes Aug 17, 2018
resi.py fixing SAME Nov 29, 2017
restraints.py small fixes and restraints tests Dec 19, 2017
rss-feed.py less imports Apr 27, 2017
selfupdate.py maybe fix for line endings in tarfile? Apr 24, 2018
sql_export.py small sql export fix May 22, 2018
terminalsize.py preparing release Jul 10, 2015

README.md

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.

You have either a command line version:

C:\Users\daniel>dsr
----------------------------------------------------- D S R - v211 -------------------------------------
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