Releases: seqan/seqan3
SeqAn 3.4.0-rc.2
This is the second release candidate for SeqAn 3.4.0
What's Changed
Click to expand
- Bump actions/cache from 3 to 4 by @dependabot in #3224
- [INFRA] Update documentation directory by @eseiler in #3226
- Bump peter-evans/create-or-update-comment from 3 to 4 by @dependabot in #3228
- Patch/copyrightyear update by @SGSSGene in #3229
- [INFRA] Add IntelLLVM CI by @eseiler in #3225
- [INFRA] Rename master to main by @eseiler in #3230
- [FIX] Documentation by @eseiler in #3231
- [INFRA] Check markdown files for doxygen by @eseiler in #3233
- [DOC] Improve version selector by @eseiler in #3234
- doc,fix: variable bgzf_thread_count is no longer static by @SGSSGene in #3238
- [FIX] CPP23 by @eseiler in #3240
- [MISC] gcc 14 workaorund by @eseiler in #3241
- fix,doc: condition of the max number of 1s inside a shape. by @SGSSGene in #3243
- [MISC] Remove gcc14 workaround by @eseiler in #3245
- [MISC] Improve error message when using kmer_hash_view with invalid shapes by @eseiler in #3244
- [FEATURE] Allow setting warning stream for sam file by @eseiler in #3246
- [DOC] unknown tags will not throw by @eseiler in #3247
- Bump fsfe/reuse-action from 2 to 3 by @dependabot in #3249
- [FIX] Missing include by @eseiler in #3252
- Refactor selection of Myers' bitparallel edit distance algorithm. by @rrahn in #3254
- [MISC] Refine unknown tag handling (HD/PG) by @eseiler in #3248
- [FIX] clang-18 by @eseiler in #3257
- [INFRA] Update SDSL by @eseiler in #3260
- [INFRA] Update contrib/std by @eseiler in #3261
- [FIX] Correctly propagate the constness of the inner range type. by @rrahn in #3262
- Bump fsfe/reuse-action from 3 to 4 by @dependabot in #3263
- Fixes #3266: Incorrect begin/end of alignment for banded alignment by @rrahn in #3269
- Fix/issue_3264 by @rrahn in #3268
- [INFRA] CI and Compilers by @eseiler in #3270
- [FIX] Codecov by @eseiler in #3274
- [INFRA] Documentation preview by @eseiler in #3273
- [DOC] Remove vercel by @eseiler in #3275
- [MISC] clang-format-18 by @eseiler in #3276
- [INFRA] Nightly fixes by @eseiler in #3277
- [FIX] gcc-15: Better bogus memcpy fix by @eseiler in #3278
- Adds missing char8_t type to list of viable char types for which char adaption works. by @rrahn in #3279
- [INFRA] API Stability by @eseiler in #3281
- Updated PR for the printer design proposal by @rrahn in #3259
- [FEATURE] Accept user-defined tags by @eseiler in #3256
- [FIX] API tests by @eseiler in #3284
- Use explicit _MM_PERM_ENUM type for intrinsics. by @rrahn in #3285
- [INFRA] Use macos-14 by @eseiler in #3287
- [INFRA] Fail CI if ctest finds no tests by @eseiler in #3290
- [MISC] Add -Wnrvo warning by @eseiler in #3289
- [INFRA] Acknowledge CMake 3.30 policies by @eseiler in #3291
- [INFRA] Use CPM by @eseiler in #3288
- [INFRA] Rename build_system to cmake by @eseiler in #3292
- [FIX] CI by @eseiler in #3293
- [FIX,INFRA] Cron: Always create comment body by @eseiler in #3294
- [INFRA] Remove GIT_TAG for URL download by @eseiler in #3295
- [INFRA] CPM find_package and package update cron by @eseiler in #3296
- [INFRA] Add clang-19 by @eseiler in #3298
- [INFRA] Extend SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY by @eseiler in #3297
- [FIX] sam_file_output by @eseiler in #3300
- [FIX] ciso646 is deprecated by @eseiler in #3302
- fix, doc: we don't have to talk about submodules anymore by @SGSSGene in #3301
- [TEST] Skip parallel tests on machines having a single CPU by @sanvila in #3303
- [INFRA] Update CPM Packages by @seqan-actions in #3304
- Bump fsfe/reuse-action from 4 to 5 by @dependabot in #3305
- [INFRA] Add CodeQL CI by @eseiler in #3306
- [FIX] CodeQL reports by @eseiler in #3307
- [INFRA] Update CPM Packages by @seqan-actions in #3308
- [INFRA] Add CodeChecker by @eseiler in #3310
- [INFRA] Update CPM Packages by @seqan-actions in #3311
- [FIX] version check URL, default for prompt by @eseiler in #3312
- [INFRA] Bump CMake by @eseiler in #3314
- [MISC] Use cpp23 by @eseiler in #3313
- [INFRA] Bump RC by @eseiler in #3315
Full Changelog: 3.4.0-rc.1...3.4.0-rc.2
SeqAn 3.4.0-rc.1
This is the first release candidate for SeqAn 3.4.0
SeqAn 3.4.0 offers support for GCC 11/12/13, and new clang 17
SeqAn 3.3.0
We are glad to announce the SeqAn 3.3.0 release that has a major compiler update:
We dropped GCC 10 and we added GCC 13 support.
While we will present essential changes of the 3.3.0 release in this message, you can also find a comprehensive list of the changes in our changelog.
- Get to know SeqAn3 with our tutorials.
- Visit our API documentation.
- Check out our SeqAn3 Cookbook with all the copy & paste snippets you need.
🎉 New Features
Alignment
- The function
seqan3::alignment_from_cigar
creates an alignment from a CIGAR vector (#3057) or a CIGAR string (#3077). - The function
seqan3::cigar_from_alignment
creates a CIGAR vector from an alignment (#3057).
Alphabet
- Improved performance of vector assignment for alphabets by a factor 2.5 (#3038).
- Improved performance of
seqan3::dna4::complement()
(#3026). - Char literals returning
std::vector
are nowconstexpr
if supported by the compiler (#3073).
I/O
- Made
seqan3::sam_file_header::program_info_t
easier to copy (#3145). - Reading SAM/BAM files is 2x faster than before (#3106).
Search
- The uncompressed
seqan3::interleaved_bloom_filter
(IBF) can now be constructed from a compressed IBF (#3082).
🐛 Notable bug fixes
Alignment
- Resolved an issue resulting in a wrong alignment score (#3098).
I/O
- Fixed writing an empty SAM-BAM file resulting in an invalid file (#3081).
seqan3::sequence_file_input_traits
now allowschar
as a sequence alphabet (#3128).
Utility
- Fixed spin delay having no effect on the PowerPC platform (#3129).
🛠️ Notable API changes
Alignment
- The fields
seqan3::field::offset
andseqan3::field::alignment
have been removed fromseqan3::sam_record
(#3058, #3089).
Forseqan3::field::offset
, please check the soft clipping of the CIGAR string (seqan3::sam_record::cigar()
).
Forseqan3::field::alignment
, please useseqan3::alignment_from_cigar
.
🔌 External dependencies
- Dropped support for GCC 10 (#3148).
- Added support for GCC 13 (#3148).
- We require at least CMake 3.16 for our test suite. Note that the minimum requirement for using SeqAn3 is unchanged (#3050).
- We now use Doxygen version 1.9.6 to build our documentation (#3116).
- Updated sdsl-lite to 3.0.3 (#3170, #3174).
- Compatibility with SeqAn2: SeqAn2's namespace was changed from
seqan
toseqan2
. For interoperability, an up-to-date checkout of SeqAn2's main branch is required (#3156).
SeqAn 3.3.0-rc.2
This is the second release candidate for SeqAn 3.3.0
SeqAn 3.3.0-rc.1
This is the first release candidate for SeqAn 3.3.0
SeqAn 3.2.0
We are excited to announce the SeqAn 3.2.0 release that has a major compiler update:
We dropped GCC 7, GCC 8, and GCC 9 and we added GCC 12 support.
As a consequence, we also dropped C++17 support and are fully C++20 compatible.
Furthermore, we could drop the range-v3 dependency completely, so be sure to delete the submodule after updating to SeqAn 3.2.0!
While we will present essential changes of the 3.2.0 release in this message, you can also find a comprehensive list of the changes in our changelog.
Get to know SeqAn3 with our tutorials.
- Visit our API documentation.
- See the porting guide for some help on porting from SeqAn2.
- Check out our SeqAn3 Cookbook. It contains a listing of code examples on how to perform particular tasks using the library.
🎉 New Features
We added GCC 12 support!
Alphabet
seqan3::cigar
can now be assigned fromstd::string_view
which is much faster (no allocations) than the former assignment fromseqan3::small_string
.- The new view
seqan3::views::char_strictly_to
behaves likeseqan3::views::char_to
, but throws on invalid input.
I/O
- The new option
seqan3::sequence_file_option::fasta_ignore_blanks_before_id
lets you keep blanks before IDs when reading FASTA files.
This ensures a "perfekt roundtrip" when reading and writing FASTA files.
E.g., fasta_ignore_blanks_before_id = true (default):> some_id
will only store"some_id"
as ID.
E.g., fasta_ignore_blanks_before_id = false:> some_id
will store" some_id"
as ID.
Search
- Improved performance of
seqan3::counting_vector::operator+=
by 25%.
Utility
- Added
seqan3::list_traits::repeat
.
🛠️ Notable API changes
seqan3::views::to is no view anymore but C++23 conform
We replaced seqan3::views::to
(implemented via range-v3) with seqan3::ranges::to
(implemented in SeqAn3). seqan3::ranges::to
provides a subset of C++23's std::ranges::to
and will be replaced with the STL-equivalent in a future version.
Since it is not a view anymore, it cannot be properly deprecated. Please keep this in mind if you encounter errors with seqan3::views::to
.
Example:
auto vec = std::views::iota(0, 10) | seqan3::views::to<std::vector>; // Before
auto vec = std::views::iota(0, 10) | seqan3::ranges::to<std::vector>(); // After
Removed several headers in seqan3/std/
All headers in seqan3/std/
except charconv
and new
have been deprecated, since their STL-equivalents are available in GCC >= 10. Please use the equivalent std
includes.
Example:
// Before
#include <seqan3/std/bit>
#include <seqan3/std/charconv>
// After
#include <bit>
#include <seqan3/std/charconv>
Removed namespace std::cpp20
The namespace std::cpp20
has been deprecated, since, e.g., the implementation of the std::back_inserter
among others are now C++20-conform with GCC >= 10. Please use the std::
namespace.
Example:
std::ranges::copy(range, std::cpp20::back_inserter(other_range)); // Before
std::ranges::copy(range, std::back_inserter(other_range)); // After
🐛 Notable bug fixes
Core
- Added missing implementations for AVX512 .
IO
- FASTA files containing IDs starting with
>
, e.g.,> >MyID
, are now parsed correctly.
Search
- Relaxed
kmer_hash_view::iterator
difference requirement . - Relaxed
seqan3::views::minimiser
requirements to be C++20-compatible. - Relaxed
seqan3::views::kmer_hash
requirements to be C++20-compatible.
Utility
seqan3::views::single_pass_input
cannot propagate thestd::ranges::output_range
property because it cannot satisfy the following requirement:*it++ = value; // must be the same as *it = value; ++it; // but it actually would be the same as ++it; *it = value;
- Fixed signature of
seqan3::detail::store_sse4
. This might have affected some public API. - Relaxed
seqan3::views::to_simd
requirements to be C++20-compatible.
🔌 External dependencies
- GCC 7, 8, and 9 have been removed.
- SeqAn 3.2.0 is known to compile with GCC 10.3, 11.3, and 12.1. Future versions might work, but were not yet available at the time of this release.
- Other compilers, e.g., clang, and MSVC, are known to not be compatible with SeqAn 3.2.0.
- We removed range-v3, and now require cereal 1.3.2 as well as sdsl-lite 3.0.1.
- We use doxygen 1.9.4 to build our documentation.
SeqAn 3.2.0-rc.1
This is the first release candidate for SeqAn 3.2.0
You can find a list of changes in our changelog.
Notable API-changes (not final)
- We removed the
std::cpp20
namespace. We usestd
instead, since all supported compilers provide the C++20 versions of the entities we used withstd::cpp20
. - We replaced
seqan3::views::to
withseqan3::range::to
. As planned for C++23, it is no longer a view, but a function object.seqan3::views::to<std::vector>
changes toseqan3::range::to<std::vector>()
.
Dependencies
- cereal bumped to
1.3.2
- sdsl-lite bumped to
3.0.1
- range-v3 removed
- For documentation: doxygen bumped to
1.9.4
SeqAn 3.1.0
We are thrilled to announce the SeqAn 3.1.0 release with the first stable SeqAn module: Alphabet
The Alphabet module is the foundation of SeqAn, thoroughly used and tested in other modules as well as external projects (e.g. raptor). We are confident to release the code with few exceptions as the first stable module of SeqAn3.
Check out notes about our API stability or the API documentation for more details.
In the upcoming future we strive to let the other modules follow suit.
While we will present essential changes of the 3.1.0 in this message, you can also find a comprehensive list of the changes in our changelog.
Get to know SeqAn3 with our tutorials.
- Visit our API documentation.
- See the porting guide for some help on porting from SeqAn2.
- Check out our SeqAn3 Cookbook. It contains a listing of code examples on how to perform particular tasks using the library.
🔒 API Stability
With few exceptions, the Alphabet module of SeqAn3 is now stable. Additionally, the following entities are marked stable in this release:
seqan3::kmer_hash
- A view to compute all k-mers of a sequenceseqan3::minimiser
- A view to compute minimisers of a sequence
While 3.0.3 only deprecated entities, the affected items are removed in 3.1.0!
If you are upgrading from an older version than 3.0.3, we strongly recommend first upgrading to 3.0.3, and afterwards to 3.1.0. The version 3.0.3 contains deprecation notices that will help you to transition with ease.
🛠️ Notable API changes
There are no API changes upgrading from 3.0.3. See the 3.0.3 release message for an overview of previous changes.
🐛 Notable bug fixes
- The
seqan3::fm_index
/seqan3::bi_fm_index
correctly index large texts like the human genome.
🔌 External dependencies
- SeqAn 3.1.0 is known to compile with GCC 7.5, 8.4, 9.4, 10.3, and 11.2. Future versions might work, but were not yet available at the time of this release.
- Other compilers, e.g. GCC 12 (currently in development), clang, and MSVC, are known to not be compatible with SeqAn 3.1.0.
- We support ranges-v3 versions ≥ 0.11.0 and < 0.12.0, sdsl-lite 3.0.0, and cereal 1.3.0.
- We use doxygen 1.9.2 to build our documentation.
SeqAn 3.1.0-rc.1
This is the first release candidate for SeqAn 3.1.0
You can find a list of changes in our changelog.
SeqAn 3.0.3
We are proud to announce the last 3.0.x
Release of the SeqAn Library.
This is a rather big release for us, encompassing 923
commits and changing 1750
files. This sums up to over 75,000 insertions and more than 50,000 deletions.
Despite this huge diff, we have good reasons to believe that upgrading from 3.0.2 will be extremely smooth and easy.
You can find a comprehensive list of the changes in our changelog.
- Get to know SeqAn3 with our tutorials.
- Visit our API documentation.
- See the porting guide for some help on porting from SeqAn2.
- Check out our updated SeqAn3 Cookbook. It contains a listing of code
examples on how to perform particular tasks using the library.
Note that 3.1.0 will be the first API stable release and interfaces in this release might still change.
Our final push to 3.1.0
For 3.0.3, we heavily focused on making the final push towards 3.1.0 and took our time to really define the scope of our Sequence Analysis Library.
That means the next Release (3.1.0) will be the first stable one, exciting right? 🥳
📖 Module structure
We now utilise the following module structure.
Sequence Analysis Modules
#include <seqan3/alphabet/*.hpp>
:
Contains alphabet related entities, likeseqan3::dna4
.#include <seqan3/alignment/*.hpp>
:
Contains sequence alignment related entities, likeseqan3::align_pairwise
.#include <seqan3/io/*.hpp>
:
Contains I/O related entities, likeseqan3::sequence_file_input
.#include <seqan3/search/*.hpp>
:
Contains search related entities, likeseqan3::search
.
We also moved containers and views from the former range module into related Sequence Analysis Module (e.g., seqan3::bitpacked_sequence
and seqan3::translate
are now part of the alphabet module).
All Sequence Analysis Modules will have strong API Stability guarantees. So far we finished declaring the stability in our documentation for alphabets, containers, and ranges. Sequence Alignment and I/O will follow in the next release.
General Purpose Modules
#include <seqan3/argument_parser/*.hpp>
:
Our argument parser library that helps to write apps.#include <seqan3/range/*.hpp>
(split since 3.0.3):
We moved most entities within this module into the other modules: alphabet, alignment, io, search or utility. But, we also deprecated some of them that did not fit our scope anymore.#include <seqan3/core/*.hpp>
:
Our internal module for entities that are shared across our sequence analysis modules and are needed to implement our own algorithms and data structures.#include <seqan3/utility/*.hpp>
:
utility contains entities that are completely unrelated to biology-problems. We think of these as something that could be made separate libraries.
All General Purpose Modules will have no API Stability guarantees.
🔒 API Stability
We are especially thrilled to announce 3.0.3, because this release should be the first one that just compiles™️ your app when upgrading from 3.0.2 to 3.0.3. Arguably, you will encounter scattered "deprecation" notices, but all of those messages should point you to an upgrade path. Unless you treat warnings as errors, your app will still compile even when encountering deprecation notices.
Furthermore, we see this release as a test run of our way to handle API Stability in the upcoming era of stable releases. We are happy to hear your feedback, so please let us know whether it worked for you and if something could be improved. We believe we found a good system for hinting changes between releases to our users.
But how do we know that we did not miss anything? Our idea is simple: compile our current SeqAn version (3.0.3 in this case) against the tests of our previous Release (3.0.2). If everything compiles and the previous tests pass, we most likely did not break our API.
🎉 Notable new features
-
A new Phred Quality Score alphabet
seqan3::phred94
that represents the full Phred Score range (Sanger format) and is used for PacBio Phred scores of HiFi reads. -
A new
seqan3::literals
namespace, which can be used in lieu of importing individual literal operators.Click for an example
#include <seqan3/alphabet/nucleotide/dna4.hpp> int main() { using namespace seqan3::literals; // Still works: using seqan3::operator''_dna4; seqan3::dna4 adenine = 'A'_dna4; }
-
Records of I/O files have member functions.
Click for an example
#include <seqan3/core/debug_stream.hpp> #include <seqan3/io/sequence_file/input.hpp> int main() { seqan3::sequence_file_input fin{"my.fastq"}; for (auto && record: fin) { seqan3::debug_stream << "id: " << record.id() << '\n'; seqan3::debug_stream << "sequence: " << record.sequence() << '\n'; seqan3::debug_stream << "base_qualities: " << record.base_qualities() << '\n'; } }
Notable breaking changes (API)
- Starting with 3.0.3,
seqan3::seqan3_version
is a number and equivalent to theSEQAN3_VERSION
macro. Consequently,seqan3::seqan3_version_cstring
is the C-String (char const *
) which was namedseqan3::seqan3_version
in the previous release (and was astd::string
). - The meanings of
seqan3::alphabet_variant::{is_alternative, holds_alternative}
have been swapped.
🛠️ Notable API changes
- Entities have been renamed, a short but incomplete excerpt
seqan3::phred68legacy
toseqan3::phred68solexa
seqan3::sam_dna16
toseqan3::dna16sam
seqan3::bitcompressed_vector
toseqan3::bitpacked_sequence
seqan3::alignment_file_*
toseqan3::sam_file_*
- multiple UPPER_CASE to lower_case names, mostly in enums
- Accessing an I/O file record by
seqan3::get
, e.g.,seqan3::get<seqan3::field::id>(record)
, has been deprecated in favour of the new member accessors, e.g.,record.id()
.
🐛 Notable bug fixes
- A couple of fixes in the argument parser.
- Fixed a nasty issue when combining
seqan3::views::kmer_hash
andstd::views::reverse
. - Fixed an issue with compressing
.gz
files with the BGZF compression algorithm. - Various fixes to our SAM/BAM file implementation.
🔌 External dependencies
- SeqAn 3.0.3 is known to compile with GCC 7.5, 8.4, 9.3, 10.3, and 11.1. Future versions (such as GCC 11.2 and 12) might work, but were not yet available at the time of this release.
- We support ranges-v3 versions ≥ 0.11.0 and < 0.12.0.
- We use doxygen 1.9.1 to build our documentation.