Changelog
Additions
- Most classes support now the
repr()
function (#290) - Add equality comparison for
sequence.CodonTable
- Added
structure.info.all_residues()
, that gives all residue names from the
Chemical Component Dictionary - Updated resources from Chemical Component Dictionary in
structure.info
- Add
structure.io.mol.MOLFile
to support MOL and SDF files for
small molecule structure data - Add
database.uniprot
for UniProt database supportdatabase.uniprot.search()
searches for Uniprot IDs that match a given
database.uniprot.Query
database.uniprot.fetch()
downloads the file corresponding to the given
Uniprot ID.
- Increase performance of
structure.pseudoknots()
by using NetworkX
to identify conflicting regions (#289)
Changes
- Changed
structure.BondType
enum values for more precise description of
aromatic bondsBondType.AROMATIC
is replaced by
BondType.AROMATIC_SINGLE
andBondType.AROMATIC_DOUBLE
- New method
structure.BondList.remove_aromaticity()
converts
BondType.AROMATIC_SINGLE
toBondType.SINGLE
and
BondType.AROMATIC_DOUBLE
toBondType.DOUBLE
in-place
Fixes
- Fixed error, when reading a single model from a
structure.io.PDBFile
,
if theMODEL
line is missing in the file - Fixed the format of formal charges written to
structure.io.PDBFile
- Previously it was e.g.
'+2'
instead of the correct2+
- Previously it was e.g.
- Fixed
atom_i
parameter when reading a trajectory via
structure.io.load_structure()
(#308) - Fixed performance issue of
structure.CellList
- Previously the number of evaluated cells was too large, if the
radius
parameter ofstructure.CellList.get_atoms()
was equal to the
cell_size
parameter of the constructor (#311)
- Previously the number of evaluated cells was too large, if the
- Setting an existing annotation array in
structure.AtomArray
and
structure.AtomArrayStack
preserves the NumPydtype