biopython v1.71.0 Bio.SCOP.Raf.SeqMapIndex

An RAF file index.

The RAF file itself is about 50 MB. This index provides rapid, random access of RAF records without having to load the entire file into memory.

The index key is a concatenation of the PDB ID and chain ID. e.g “2drcA”, "155c_". RAF uses an underscore to indicate blank chain IDs.

Link to this section Summary

Functions

Return an item from the indexed file

Initialize the RAF file index

Get the sequence map for a collection of residues

Link to this section Functions

Return an item from the indexed file.

Initialize the RAF file index.

Arguments:

  • filename — The file to index

Get the sequence map for a collection of residues.

Arguments:

  • residues — A Residues instance, or a string that can be converted into a Residues instance.