Changelog
Additions
- Improved example gallery
- Added minigalleries in the API reference to get tangible examples for the
respective function/class - Added support for animated Matplotlib plots
- Using Ammolite for rendering
PyMOL images
- Added minigalleries in the API reference to get tangible examples for the
- Added support for new RCSB search API
- New
database.rcsb.Query
classes, that reflect the entirety of the new
search API, including sequence, sequence motif and structure searches- Multiple
database.rcsb.Query
objects can be combined/negated using the
operators|
,&
and~
- Multiple
- Added the
return_type
,sort_by
andrange
parameter to
database.rcsb.search()
- Added
database.rcsb.count()
function to count the number of results a
database.rcsb.Query
would yield in a less costly way than
database.rcsb.search()
- New
- Increased indexing speed in
biotite.structure.BondList
- Added attribute
sequence.Sequence.alphabet
property, that is equivalent to
sequence.Sequence.get_alphabet()
- Added convenience functions
fastq.get_sequence()
,fastq.get_sequences()
,
fastq.set_sequence()
andfastq.set_sequences()
- Drastically increased writing speed of
sequence.io.fasta.FastaFile
- Increased mapping speed of
sequence.AlphabetMapper
- Added
sequence.Alphabet.is_letter_alphabet()
method - Added general sequence I/O convenience functions
sequence.io.load_sequence()
,sequence.io.load_sequences()
,
sequence.io.save_sequence()
andsequence.io.save_sequences()
that derive
the appropriateFile
class from the suffix of the file name.
Changes
- The
omit_chain
parameter has been removed fromdatabase.rcsb.search()
- The old
database.rcsb.Query
classes have been removed - Removed
python setup.py test
andpython setup.py build_sphinx
commands,
please usepytest
andsphinx-build
directly instead - Renamed
sequence.NucleotideSequence.alphabet
to
sequence.NucleotideSequence.alphabet_unamb
sequence.io.fastq.FastqFile
returns its entries only asstr
instead of
sequence.NucleotideSequence
for consistency with
sequence.io.fastq.FastaFile
- The method
sequence.io.fastq.FastqFile.get_sequence()
is deprecated - The method
sequence.io.fastq.FastqFile.get_seq_string()
returns the
sequence as astr
instead of asequence.NucleotideSequence
- The method
Fixes
- Fixed
expect_looped
parameter in
structure.io.pdbx.PDBxFile.get_category()
- Fixed error in
structure.io.pdbx.PDBxFile
, that was raised, if a PDBx
field and its single-line value are in separate lines - Added check for boolean mask length, when a boolean mask is given as index
tobiotite.structure.BondList
- Changed
chain_id
dtype from'U3'
to'U4'
(#215)