Represents a Rosetta fragment library.
|
|
__init__(self,
fragments,
length=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
at(self,
qrank)
Returns:
a tuple of all fragments, covering the specified position. |
source code
|
|
|
|
complement(self,
fragment)
Append fragment to the library, if the fragment is
anchored around a low-confidence position. |
source code
|
|
|
|
dump(self,
file,
builder=<class 'csb.bio.fragments.rosetta.OutputBuilder'>)
Write the library to a Rosetta fragment file. |
source code
|
|
|
|
fromsource(self,
accession)
Returns:
a tuple of all fragments, extracted from the specified
source. |
source code
|
|
|
|
|
|
|
sort(self,
field='score',
reverse=False)
Sort the fragments in the library. |
source code
|
|
|
|
starting_at(self,
qrank)
Returns:
a tuple of all fragments, starting at the specified target position. |
source code
|
|
|
Inherited from core.AbstractContainer:
__bool__,
__getitem__,
__iter__,
__nonzero__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|