Skip to content

Commit 4d62253

Browse files
committed
Merge branch 'dev'
2 parents f926091 + f104024 commit 4d62253

30 files changed

+6883
-1353
lines changed

.gitignore

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
ChimAARON*
2-
build
1+
ChimAARON*
2+
build
3+
*.pxd
4+
*.pyc
5+
*.egg*

ChimAARONX.png

-38 KB
Binary file not shown.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ This is a plug-in for ChimeraX.
2626
### Chimera
2727
The Chimera version of ChimAARON can be found on the [Chimera branch](https://github.com/QChASM/ChimAARON/tree/Chimera).
2828

29-
### ChimeraX Daily
29+
### ChimeraX Daily
3030
For the latest features and bugs, go to the [development branch](https://github.com/QChASM/ChimAARON/tree/dev)

SEQCROW.png

32.4 KB
Loading

bundle_info.xml

+140
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
<BundleInfo name="SEQCROW"
2+
customInit="true"
3+
minSessionVersion="1"
4+
maxSessionVersion="1"
5+
package="SEQCROW"
6+
purePython="true"
7+
version="0.1">
8+
9+
<Author>QChASM</Author>
10+
<Email>[email protected]</Email>
11+
<URL>catalysttrends.org</URL>
12+
<License>license.txt</License>
13+
<Synopsis>Structure Editing and Quantum Chemical Representation and Organization for Workflows</Synopsis>
14+
<Description>An AaronTools-based plugin for ChimeraX.
15+
16+
SEQCROW adds the following to ChimeraX:
17+
I/O:
18+
read XYZ, Gaussian COM, Gaussian LOG files, and ORCA output files
19+
save models to XYZ files
20+
21+
tools:
22+
AaronTools
23+
Add to Personal Library - add substituents, ligands, or rings to your personal AaronTools library
24+
Browse AaronTools - browse substituents, ligands, and rings in the AaronTools library
25+
Process Thermochemistry - compute thermal corrections for models with vibrational mode information
26+
Structure Modification - modify your structure using pieces from the AaronTools library
27+
Visualize Normal Modes - display normal modes for models with vibrational mode information as vectors or an animation
28+
29+
SEQCROW
30+
Managed Models - restore models opened through SEQCROW to their original state
31+
Build QM Input - build Gaussian input file
32+
33+
selectors:
34+
tm - select all transition metals
35+
36+
presets:
37+
ball-stick-endcap - all non-H atoms are represented as balls and sticks; H atoms are represented as sticks/endcaps
38+
index labels - label each atom with its index (1-indexed)
39+
sticks - all atoms are represented as sticks/endcaps
40+
</Description>
41+
42+
<Dependencies>
43+
<Dependency name="ChimeraX-Core" version=">=0.93"/>
44+
<Dependency name="scipy"/>
45+
<Dependency name="numpy"/>
46+
</Dependencies>
47+
48+
<Categories>
49+
<Category name="General"/>
50+
<Category name="Input/Output"/>
51+
</Categories>
52+
53+
<Managers>
54+
<Manager name="filereader_manager" uiOnly="true"/>
55+
<Manager name="seqcrow_ordered_selection_manager" uiOnly="true"/>
56+
</Managers>
57+
58+
<Providers manager="data formats">
59+
<Provider name="Gaussian input file"
60+
category="Molecular structure"
61+
suffixes=".com,.gjf"
62+
encoding="utf-8"
63+
nicknames="com"
64+
synopsis="Gaussian input file"/>
65+
66+
<Provider name="Gaussian output file"
67+
category="Molecular structure"
68+
suffixes=".log"
69+
encoding="utf-8"
70+
nicknames="log"
71+
synopsis="Gaussian output file"/>
72+
73+
<Provider name="ORCA output file"
74+
category="Molecular structure"
75+
suffixes=".out"
76+
encoding="utf-8"
77+
nicknames="out"
78+
synopsis="ORCA output file"/>
79+
80+
<Provider name="XYZ file"
81+
category="Molecular structure"
82+
suffixes=".xyz"
83+
encoding="utf-8"
84+
nicknames="xyz"
85+
synopsis="XYZ coordinate file"/>
86+
</Providers>
87+
88+
<Providers manager="open command">
89+
<Provider name="Gaussian input file" want_path="true"/>
90+
<Provider name="Gaussian output file" want_path="true"/>
91+
<Provider name="ORCA output file" want_path="true"/>
92+
<Provider name="XYZ file" want_path="true"/>
93+
</Providers>
94+
95+
<!--we can save Gaussian input files, but not with the save command-->
96+
<Providers manager="save command">
97+
<Provider name="XYZ file"/>
98+
</Providers>
99+
100+
<Classifiers>
101+
<PythonClassifier>Development Status :: 2 - Pre-Alpha</PythonClassifier>
102+
<PythonClassifier>License :: OSI Approved :: GNU General Public License v3 (GPLv3)</PythonClassifier>
103+
<PythonClassifier>Environment :: Win32 (MS Windows)</PythonClassifier>
104+
<PythonClassifier>Environment :: MacOS X</PythonClassifier>
105+
<PythonClassifier>Environment :: X11 Applications :: Qt</PythonClassifier>
106+
<PythonClassifier>Framework :: ChimeraX</PythonClassifier>
107+
<PythonClassifier>Intended Audience :: Science/Research</PythonClassifier>
108+
<PythonClassifier>Natural Language :: English</PythonClassifier>
109+
<PythonClassifier>Operating System :: MacOS</PythonClassifier>
110+
<PythonClassifier>Operating System :: Microsoft :: Windows</PythonClassifier>
111+
<PythonClassifier>Operating System :: POSIX :: Linux</PythonClassifier>
112+
<PythonClassifier>Programming Language :: Python :: 3</PythonClassifier>
113+
<PythonClassifier>Topic :: Scientific/Engineering :: Chemistry</PythonClassifier>
114+
<PythonClassifier>Topic :: Scientific/Engineering :: Visualization</PythonClassifier>
115+
116+
<!-- TODO: move tools to appropriate menus -->
117+
<!--NOTE:
118+
including my own Bundle line will prevent anything after it from being loaded
119+
ChimeraX's devel build
120+
ChimeraXClassifier>ChimeraX :: Bundle :: General,Input/Output,Structure Editing,External Program :: 1,1 :: SEQCROW :: ChimAARON,SEQCRO,SEQCROW :: true</ChimeraXClassifier-->
121+
<ChimeraXClassifier>ChimeraX :: Tool :: Build QM Input :: SEQCROW :: Create Gaussian input file</ChimeraXClassifier>
122+
<ChimeraXClassifier>ChimeraX :: Tool :: Structure Modification :: AaronTools :: Modify substituents, swap ligands, and close rings</ChimeraXClassifier>
123+
<ChimeraXClassifier>ChimeraX :: Tool :: Browse AaronTools Libraries :: AaronTools :: Browse the AaronTools ligand, substituent, and ring libraries"</ChimeraXClassifier>
124+
<ChimeraXClassifier>ChimeraX :: Tool :: Process QM Thermochemistry :: AaronTools :: Compute the free energy of a molecule with frequency data</ChimeraXClassifier>
125+
<ChimeraXClassifier>ChimeraX :: Tool :: Managed Models :: SEQCROW :: see models managed by SEQCROW</ChimeraXClassifier>
126+
<ChimeraXClassifier>ChimeraX :: Tool :: Add to Personal Library :: AaronTools :: Add to your personal ligand, substituent, and ring libraries</ChimeraXClassifier>
127+
<ChimeraXClassifier>ChimeraX :: Tool :: Visualize Normal Modes :: AaronTools :: Visualize normal modes from a Gaussian output file as displacement vectors or as an animation</ChimeraXClassifier>
128+
<ChimeraXClassifier>ChimeraX :: Selector :: tm :: Transition metals</ChimeraXClassifier>
129+
<ChimeraXClassifier>ChimeraX :: DataFormat :: XYZ :: XYZ :: Molecular structure :: .xyz :: :: :: :: :: XYZ Format :: utf-8</ChimeraXClassifier>
130+
<ChimeraXClassifier>ChimeraX :: Open :: XYZ :: AaronTools :: false :: coordsets:Bool</ChimeraXClassifier>
131+
<ChimeraXClassifier>ChimeraX :: DataFormat :: COM :: COM :: Molecular structure :: .com,.gjf :: :: :: :: :: Gaussian input file :: utf-8</ChimeraXClassifier>
132+
<ChimeraXClassifier>ChimeraX :: Open :: COM :: COM ::</ChimeraXClassifier>
133+
<ChimeraXClassifier>ChimeraX :: DataFormat :: LOG :: LOG :: Molecular structure :: .log :: :: :: :: :: Gaussian output file :: utf-8</ChimeraXClassifier>
134+
<ChimeraXClassifier>ChimeraX :: Open :: LOG :: LOG :: false :: coordsets:Bool</ChimeraXClassifier>
135+
<ChimeraXClassifier>ChimeraX :: DataFormat :: OUT :: OUT :: Molecular structure :: .out :: :: :: :: :: ORCA output file :: utf-8</ChimeraXClassifier>
136+
<ChimeraXClassifier>ChimeraX :: Open :: OUT :: OUT :: false :: coordsets:Bool</ChimeraXClassifier>
137+
</Classifiers>
138+
139+
</BundleInfo>
140+

dist/ChimAARON-0.1-py3-none-any.whl

-52.5 KB
Binary file not shown.

dist/ChimAARON-0.1.tar.gz

-33.9 KB
Binary file not shown.

dist/SEQCROW-0.1-py3-none-any.whl

88.4 KB
Binary file not shown.

LICENSE license.txt

File renamed without changes.

old_setup.py

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
#this is no longer used
2+
#all info should be in bundle_info.xml
3+
4+
"""
5+
python3 setup.py sdist bdist_wheel
6+
cp dist/SEQCROW-0.1-py3-none-any.whl $desktop/
7+
"""
8+
9+
from setuptools import setup, find_packages
10+
import os
11+
12+
synopsis = "Structure Editing and Quantum Chemical Representation and Organization"
13+
14+
description = """
15+
An AaronTools-based plugin for ChimeraX.
16+
17+
SEQCROW adds the following to ChimeraX:
18+
I/O:
19+
read XYZ, Gaussian COM, Gaussian LOG files, and Orca output files
20+
save models to XYZ files
21+
22+
tools:
23+
AaronTools
24+
Add to Personal Library - add substituents, ligands, or rings to your personal AaronTools library
25+
Browse AaronTools - browse substituents, ligands, and rings in the AaronTools library
26+
Process Thermochemistry - compute thermal corrections for models with vibrational mode information
27+
Structure Modification - modify your structure using pieces from the AaronTools library
28+
Visualize Normal Modes - display normal modes for models with vibrational mode information as vectors or an animation
29+
30+
SEQCROW
31+
Managed Models - restore models opened through SEQCROW to their original state
32+
33+
selectors:
34+
tm - select all transition metals
35+
36+
presets:
37+
ball-stick-endcap - all non-H atoms are represented as balls and sticks; H atoms are represented as sticks/endcaps
38+
index labels - label each atom with its index (1-indexed)
39+
sticks - all atoms are represented as sticks/endcaps
40+
"""
41+
42+
# ChimeraX classifiers are put in the code as comments
43+
# go find those comments so I don't have to remember to update setup.py
44+
chimerax_classifiers = []
45+
xml_mods = {}
46+
d = os.path.dirname(os.path.realpath(__file__))
47+
src_dir = "src"
48+
49+
ext_mods = []
50+
#pure python hopefully works everywhere
51+
#windows users may have to set USERPROFILE environment variable
52+
environments = [
53+
"Environment :: MacOS X :: Aqua",
54+
"Environment :: Win32 (MS Windows)",
55+
"Environment :: X11 Applications",
56+
"Operating System :: MacOS :: MacOS X",
57+
"Operating System :: Microsoft :: Windows :: Windows 10",
58+
"Operating System :: POSIX :: Linux",
59+
]
60+
61+
setup(
62+
name="SEQCROW",
63+
version="0.1",
64+
description=synopsis,
65+
long_description=description,
66+
author="QChASM",
67+
author_email="[email protected]",
68+
url="https://github.com/QChASM",
69+
python_requires=">= 3.5",
70+
package_dir={
71+
"SEQCROW": src_dir,
72+
},
73+
packages=[
74+
"SEQCROW",
75+
"SEQCROW.tools",
76+
"SEQCROW.managers",
77+
],
78+
ext_modules=ext_mods,
79+
install_requires=[
80+
#TODO: add AaronTools (AaronTools should require scipy)
81+
"ChimeraX-Core >= 0.93",
82+
"scipy",
83+
"numpy",
84+
],
85+
classifiers=[
86+
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
87+
# https://www.rbvi.ucsf.edu/chimerax/docs/devel/tutorials/bundle_info.html#chimerax-metadata-classifiers
88+
"Development Status :: 2 - Pre-Alpha", # TODO: update as appropriate
89+
"Framework :: ChimeraX",
90+
"Intended Audience :: Science/Research",
91+
"License :: Free for non-commercial use",
92+
"Programming Language :: Python :: 3",
93+
"Topic :: Scientific/Engineering :: Visualization",
94+
"Topic :: Scientific/Engineering :: Chemistry",
95+
"ChimeraX :: Bundle :: General,Input/Output,Structure Editing,External Program :: 1,1 :: SEQCROW :: ChimAARON,SEQCRO,SEQCROW :: true ",
96+
"ChimeraX :: Tool :: Build QM Input :: SEQCROW :: Create input file for Gaussian or Orca",
97+
"ChimeraX :: Tool :: Structure Modification :: AaronTools :: Modify substituents, swap ligands, and close rings, all for the one-time fee of an arm and a leg!",
98+
"ChimeraX :: Tool :: Browse AaronTools Libraries :: AaronTools :: Browse the AaronTools ligand, substituent, and ring libraries",
99+
"ChimeraX :: Tool :: Process Thermochemistry :: AaronTools :: Compute the free energy of a molecule with frequency data",
100+
"ChimeraX :: Tool :: Managed Models :: SEQCROW :: see models managed by SEQCROW",
101+
"ChimeraX :: Tool :: Add to Personal Library :: AaronTools :: Add to your personal ligand, substituent, and ring libraries",
102+
"ChimeraX :: Tool :: Visualize Normal Modes :: AaronTools :: Visualize normal modes from a Gaussian output file as displacement vectors or as an animation",
103+
"ChimeraX :: DataFormat :: XYZ :: XYZ :: Molecular structure :: .xyz :: :: :: :: :: XYZ Format :: utf-8",
104+
"ChimeraX :: Open :: XYZ :: AaronTools :: false :: coordsets:Bool",
105+
"ChimeraX :: DataFormat :: COM :: Gaussian input file :: Molecular structure :: .com,.gjf :: :: :: :: :: Gaussian input file :: utf-8",
106+
"ChimeraX :: Open :: COM :: Gaussian input file ::",
107+
"ChimeraX :: DataFormat :: LOG :: Gaussian output file :: Molecular structure :: .log :: :: :: :: :: Gaussian output file :: utf-8",
108+
"ChimeraX :: Open :: LOG :: Gaussian output file :: false :: coordsets:Bool",
109+
"ChimeraX :: DataFormat :: OUT :: Orca output file :: Molecular structure :: .out :: :: :: :: :: Orca output file :: utf-8",
110+
"ChimeraX :: Open :: OUT :: Orca output file :: false :: coordsets:Bool",
111+
"ChimeraX :: Manager :: filereader_manager",
112+
"ChimeraX :: Manager :: seqcrow_ordered_selection_manager",
113+
] + environments,
114+
)

0 commit comments

Comments
 (0)