Releases: Ruibin-Liu/MolDF
Releases · Ruibin-Liu/MolDF
v0.7.5
MolDf v0.7.5
To install this version
pip install moldf -U
New features
- Added
write_jcsvfunction. Any dict of Pandas Frames can be writen to the JCSV format. - Added
read_jcsvfunction. TheJCSVfiles written by the abovewrite_jcsvfunction can be read into dicts of DataFrames. - The above two close #20.
Fixes
get_residue_templatenow returns both (A, B) and (B, A) for A-B bonding information.- For
mmcif, columns of the_atom_sitecategory but not in the provided file are skipped in buildingPDBDataFrame. label_entity_idis char inmmcifspecification.- The newline character in windows os is respected like in CSV and Pandas.
v0.7.4
PyPI wheel
v0.7.3
To install this version
pip install moldf
Fixes
-
The
covalent_bondsfolder is now included in the PyPI dist so that theget_bonds_by_distancemethod is usable if the package is pip-installed. -
Covalent bonds between hetero ligands and normal residues are included as well.
Break changes
- The internal helper function
get_covalent_radiiis replaced by theget_covalent_bond_cutoffsfunction so that the code is cleaner and more maintainable.
v0.7.2
Fixes
v0.7.1
MolDf v0.7.1
To install this version
pip install moldf
New features
- Added covalent bonding information through
get_bonds_by_distanceandget_bonds_by_templatemethods, andbondsproperty to thePDBDataFrameclass. The first method simply uses distance cutoffs to identify bonds, similar to many methods to build molecular graphs. The second method takes advantage of the fact that all residues and ligands in RCSB PDB files have template files, so that we can use those template files to accurately identify covalent bonds intra- residue/ligand atom. However, for covalent bonds between residues/ligands, we still have to use the distance cutoff method.
v0.6.7
pdbx2df v0.6.7
Last version under the name pdbx2df. Now it is renamed as MolDF.
Future installation by pip install pdbx2df will install moldf as well.
Fixes
- Fixed the problem that
PDBDataFrame.atomsfailed forPDBxDataFrame.
v0.6.6
pdbx2df v0.6.6
From this version on, changelog is kept for each new version, compared to the previous version.
New features
- Parsing
mol2file header lines starting with#inread_mol2. radius_of_gyrationcan be accessed as a property inPDBDataFrame.rmsdmethod added inPDBDataFrame.- Can feed
PDBDataFramewith the PDBx_atom_siteDataFrame now.
Fixes
- Corrected
center_of_masscalculation inPDBDataFrame.
Docs
- Cleaned up empty lines in all function and method's docstrings.
- Added a quick start section for calculating RMSD, radius of gyration, and distance matrix.
v0.6.5
v0.6.4
Improved docs; API documentation works on RTD now; minor bug fixed fo…
v0.6.3
Bug fixes for PDBDataFrame; docs in RTD now.