You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new classes modelcif.reference.InsertionSeqDif and modelcif.reference.DeletionSeqDif allow for annotating insertions or deletions in the entity sequence relative to the reference database.
The pdbx_nonpoly_scheme and pdbx_poly_seq_scheme tables are now read from and written to mmCIF or BinaryCIF files. This allows for files containing waters to be correctly processed (#52).
A pyproject.toml file is now provided for compatibility with modern versions of pip (#50).
Bugfix: the is_primary attribute of modelcif.reference.TargetReference is now correctly set when reading files containing a _struct_ref table but no _ma_target_ref_db_details table (#51).
Revision information and information on how the data in the file can be used are now read from or written to mmCIF or BinaryCIF files. See System.revisions and System.data_usage respectively.
New classes have been added to modelcif.alignment, modelcif.qa_metric, and modelcif.protocol to support all sequence identity denominators (#47), QA metric types (#45), and protocol step types (#44) respectively, as defined in the ModelCIF dictionary.
The new modelcif.alignment.Local and modelcif.alignment.Multiple classes allow for both local alignments and multiple sequence alignments to be described (#43).
Bugfix: sequence identity and alignment score (identity and score arguments to modelcif.alignment.Pair) are now optional, to match the mmCIF dictionary (#49).
Bugfix: information in _ma_template_non_poly.details is now read from mmCIF or BinaryCIF files (#48).
Bugfix: files containing empty or missing _ma_qa_metric.description can now be read (#46).
The new modelcif.CustomTemplate class allows for custom templates (that have not been deposited in a database such as PDB) to be referenced, together with their atomic coordinates (#1).
Model quality scores can now be defined that act on single features or pairs of features using the modelcif.qa_metric.Feature and modelcif.qa_metric.FeaturePairwise classes, respectively. Features can be defined as groups of atoms, residues, or asyms (#38).
The modelcif.associated.QAMetricsFile class should now be used to reference files that contain model quality scores. The old name (LocalPairwiseQAScoresFile) is deprecated. This allows for all types of QA scores, not just local pairwise scores, to be stored in a separate file.
Sanity checks when writing out a file can now be disabled if desired, using the new check argument to modelcif.dumper.write.
modelcif.reference.TargetReference now takes an is_primary argument which can be used to denote the most pertinent sequence database reference.
Information on model groups (modelcif.model.ModelGroup) is now written to the new ma_model_group and ma_model_group_link mmCIF tables, instead of ma_model_list, to match the latest ModelCIF dictionary. Old-style information in ma_model_list will still be used when reading a file if these new tables are missing.
Data that have been split over multiple mmCIF or BinaryCIF files can now be combined into a single modelcif.System object using the new add_to_system argument to modelcif.reader.read (#10).
A new example, associated.py, has been added to demonstrate reading in data that has been split into multiple "associated" mmCIF files using modelcif.associated.CIFFile.
The new class modelcif.model.NotModeledResidueRange allows for the annotation of residue ranges that were explicitly not modeled. Any residue marked as not-modeled in all models will be excluded from the pdbx_poly_seq_scheme table.
The util/make-mmcif.py script is now included in the installed package, so can be run if desired with python3 -m modelcif.util.make_mmcif.
The make_mmcif utility script will now automatically add any missing modelcif.model.NotModeledResidueRange objects for not-modeled residue ranges.
The new classes :class:modelcif.reference.InsertionSeqDif
and :class:modelcif.reference.DeletionSeqDif allow for
annotating insertions or deletions in the entity sequence
relative to the reference database.
1.6 - 2025-12-12
New classes have been added to :mod:modelcif.protocol to describe
protocol steps for model quality assessment, validation, and protein design.
The new :class:modelcif.qa_metric.Dihedral class can be used to
describe quality scores that are calculated on a dihedral.
1.5 - 2025-09-17
The pdbx_nonpoly_scheme and pdbx_poly_seq_scheme
tables are now read from and written to mmCIF or BinaryCIF
files. This allows for files containing waters to be
correctly processed (#52).
A pyproject.toml file is now provided for compatibility
with modern versions of pip (#50).
Bugfix: the is_primary attribute of
:class:modelcif.reference.TargetReference is now correctly
set when reading files containing a _struct_ref table
but no _ma_target_ref_db_details table (#51).
1.4 - 2025-06-11
Revision information and information on how the data in the file can
be used are now read from or written to mmCIF or BinaryCIF files.
See :attr:System.revisions and :attr:System.data_usage respectively.
New classes have been added to :mod:modelcif.alignment,
:mod:modelcif.qa_metric, and :mod:modelcif.protocol to support
all sequence identity denominators (#47), QA metric types (#45),
and protocol step types (#44) respectively, as defined in the ModelCIF
dictionary.
The new :class:modelcif.alignment.Local and
:class:modelcif.alignment.Multiple classes allow for both local
alignments and multiple sequence alignments to be described (#43).
Bugfix: sequence identity and alignment score (identity and score
arguments to :class:modelcif.alignment.Pair) are now optional, to
match the mmCIF dictionary (#49).
Bugfix: information in _ma_template_non_poly.details is now read
from mmCIF or BinaryCIF files (#48).
Bugfix: files containing empty or missing _ma_qa_metric.description
can now be read (#46).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filepythonPull requests that update python code
0 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps modelcif from 0.7 to 1.7.
Release notes
Sourced from modelcif's releases.
... (truncated)
Changelog
Sourced from modelcif's changelog.
... (truncated)
Commits
a16f5dbPrepare for 1.7 release0c03a25Use latest Actions633b248We should work with v1.4.9 of the dictionarye38dcfa'python3' is more likely to work than 'python'2bb4cc4Require python-ihm 2.10 for SeqDif subclassesa0ef767Import new insertion/deletion subclassese3b3f41Account for struct_ref_seq_dif changes in python-ihmfbbcb03Update to CodeQL v4727e008Build a wheel7b96421Prepare for 1.6 releaseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)