mmtfPyspark.filters.containsLProteinChain module

containsLProteinChain.py

This filter returns entries that contain protein chain(s) made of L-amino acids. The default constructor returns entries that contain at least one polymer chain that is an L-protein. If the “exclusive” flag is set to true in the constructor, all polymer chains must be L-proteins. For a multi-model structure, this filter only checks the first model.

class ContainsLProteinChain(exclusive=False)[source]

Bases: object

Default constructor matches any entry that contains at least one L-protein chain. As an example a L-protein/DNA complex passes this filter

Optional constructor that can be used to filter entries that exclusively

contain L-protein chains. For example, with “exclusive” set to true, a L-protein/DNA complex does not pass this filter.

Attributes

exclusive (bool) if true, only return entries that are exclusively contain L-protein chains

Methods

__call__(t) Call self as a function.