Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
06f53a05
Unverified
Commit
06f53a05
authored
10 months ago
by
Xavier Robin
Browse files
Options
Downloads
Patches
Plain Diff
doc: updates for struct_ref
parent
274d6f79
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/doc/mmcif.rst
+39
-12
39 additions, 12 deletions
modules/io/doc/mmcif.rst
with
39 additions
and
12 deletions
modules/io/doc/mmcif.rst
+
39
−
12
View file @
06f53a05
...
...
@@ -45,8 +45,8 @@ The following categories of a mmCIF file are considered by the reader:
* ``pdbx_database_PDB_obs_spr``: Verbose information on obsoleted/ superseded
entries, stored in :class:`MMCifInfoObsolete`
* ``struct_ref`` stored in :class:`MMCifInfoStructRef`
* ``struct_ref_seq`` stored in :class:`MMCifInfoStructRefSeq
Dif
`
* ``struct_ref_seq_dif`` stored in :class:`MMCifInfoStructRefDif`
* ``struct_ref_seq`` stored in :class:`MMCifInfoStructRefSeq`
* ``struct_ref_seq_dif`` stored in :class:`MMCifInfoStructRef
Seq
Dif`
* ``database_pdb_rev`` (mmCIF dictionary version < 5) stored in
:class:`MMCifInfoRevisions`
* ``pdbx_audit_revision_history`` and ``pdbx_audit_revision_details``
...
...
@@ -140,7 +140,7 @@ of the annotation available.
:meth:`SetMethod`.
Some PDB entries have multiple experimental methods. This function
only a single one of them.
returns
only a single one of them.
.. attribute:: resolution
...
...
@@ -194,7 +194,11 @@ of the annotation available.
.. attribute:: struct_refs
Lists all links to external databases in the mmCIF file.
Lists all links to external databases in the mmCIF file as a
list of :class:`MMCifInfoStructRef`.
Also available as :meth:`GetStructRefs`. May also be modified by
:meth:`SetStructRefs`.
.. attribute:: revisions
...
...
@@ -287,6 +291,16 @@ of the annotation available.
.. method:: GetStructDetails()
See :attr:`struct_details`
.. method:: SetStructRef(refs)
See :attr:`struct_refs`
.. method:: GetStructRef()
See :attr:`struct_refs`
.. method:: AddMMCifPDBChainTr(cif_chain_id, pdb_chain_id)
Set up a translation for a certain mmCIF chain name to the traditional PDB
...
...
@@ -1141,16 +1155,22 @@ of the annotation available.
:attr:`db_name`.
:type: :class:`str`
.. attribute:: aligned_seqs
List of aligned sequences (all entries of the struct_ref_seq category
mapping to this struct_ref) as :class:`MMCifInfoStructRefSeq`.
Also available as :meth:`GetAlignedSeqs`.
.. method:: GetAlignedSeq(name)
Returns the aligned sequence for the given name, None if the sequence does
Returns the aligned sequence for the given name, None if the sequence does
not exist.
.. attribute:: aligned_seqs
List of aligned sequences (all entries of the struct_ref_seq category
mapping to this struct_ref).
.. method:: GetAlignedSeqs()
See :attr:`aligned_seqs`
.. class:: MMCifInfoStructRefSeq
...
...
@@ -1181,8 +1201,8 @@ of the annotation available.
.. attribute:: difs
List of differences
between the deposited sequence and the sequence i
n the
database.
List of differences
(:class:`MMCifInfoStructRefSeqDif`) betwee
n the
deposited sequence and the sequence in the
database.
.. attribute:: chain_name
...
...
@@ -1193,12 +1213,19 @@ of the annotation available.
A particular difference between the deposited sequence and the sequence in
the database.
.. attribute:: rnum
.. attribute::
seq_
rnum
The residue number (1-based) of the residue in the deposited sequence
:type: :class:`int`
.. attribute:: db_rnum
The number of the residue in the database sequence or '?' if
'struct_ref_seq_dif.pdbx_seq_db_seq_num' was missing.
:type: :class:`str`
.. attribute:: details
A textual description of the difference, e.g. point mutation,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment