This changelog concerns vijil-algo, the algorithmic part (C++) of the Vidjil platform. 2019-05-XX The Vidjil Team * Better method to build consensus sequences used by default, old behaviour with --consensus-on-longest-sequences #3866 * Optimized analyses with pre-computations, including for e-value estimation !468 * Updated functional .should tests with new syntax, renaming and moving some tests #3206 #3762 2019-04-04 The Vidjil Team * New --config and --label-json experimental options (vidjil.cpp, lib/CLI11_json.cpp) #3837 #3839 * Improved computation of consensus sequence when there are many reads (vidjil.cpp) !448 * Better --alternative-genes reporting, including genes with same score (core/segment.cpp) #3414 * Updated the functional test framework (tools/should.py) 2019-03-14 The Vidjil Team * New --consensus-on-random-sample experimental option (core/representative.cpp) #3764 * Aho-Corasick automaton used by default (vidjil.cpp) #2566, will bring speed-ups in a future release * Refactored command and option names, deprecate some short options names (vidjil.cpp) #3295 #3772 * Bug closed (incorrect deletion reported on unexpected recombinations, core/segment.cpp) #3518 * Updated documentation * Improved test framework (tools/should.py), updating code coverage, test compilation warnings #1233 * New and updated unit and functional tests 2018-11-26 * Corrected 2018-10 release, works now on all suported platforms #3601 #3062 (core/output.cpp) * Updated the functional test framework, relaunching some tests (tools/should.py) 2018-10-31 The Vidjil Team * New option --alternative-genes, outputs germline genes beyond the most probable one (core/segment.cpp) #1459 * New warning W69 for equally probable germline genes (core/segment.cpp) #3575 * Improved again memory usage, creating bins only when necessary (core/readstorage.cpp) #3393 * Improved the full analysis pre-processing, extending -Z 1 based on probabilities (core/filter.cpp, core/math.cpp) #3225 * Refactored output handling (core/output.cpp) #3858 * New AIRR .tsv output (core/output.c) #2828 * Updated documentation * New and updated unit and functional tests * Known regressions: This version may not work on some systems #3601 #3602 2018-07-18 The Vidjil Team * Cleaned memory after the heuristic, lowering memory usage up to 50% on datasets with many 1-read clones #2120 #3387 2018-07-16 The Vidjil Team * New default option -Z 3, speeding up the full analysis of clones with a pre-processing based on k-mers #3298 Processes with `-c segment` or with large `-z` values will be between 2x and 15x faster (vidjil.cpp, core/filter.cpp) * Integrated and extended up/downstream regions, improving analysis of heavily deleted 3' genes (germline/) #3008 #3009 * Corrected the heuristic in borderline cases with overlapping VJ affectations (core/affectanalyser.cpp) #3296 * Streamlined handling of seeds, enabling the use of aliases with -s (core/tools.cpp) #3293 * Refactored option processing for vidjil-algo with CLI11 (lib/CLI11.hpp, vidjil.cpp) #2732 * Improved build time up to 40% (lib/json_fwd.h) #3307 * Updated third-party library (lib/json.hpp) #2935 * Improved build and release process, supporting also g++ 7.3 and testing several compilers (.gitlab-ci.yml) #3002 #3015 #3310 * Removed unused code and CI parts #3294 #3287 * Updated documentation, converted into .md files (#3004) * Refactored and re-enabled code coverage, making it publicly accessible on Gitlab (algo/Makefile, .gitlab-ci.yml) #1696 * New and updated unit and functional tests 2018-06-14 The Vidjil Team * New experimental option -Z to speed-up the full analysis with a pre-processing based on k-mers (core/filter.cpp) #920 * New experimental analysis of Ikaros/ERG recombinations (germline/homo-sapiens-ikaros.g) #2139 * Improved analysis with large number of mutations in V or J genes (core/dynprog.cpp) #3066 * Added levels to warnings, lowering level for W53 (core/tools.cpp) #3136 #3137 * Refactored the functional test framework (tools/should.py) #3105 * New and updated unit and functional tests 2018-02-02 The Vidjil Team * Renamed program to 'vidjil-algo' * Improved analysis of large deletions in V or J genes (core/segment.cpp) #2767 * Improved analysis of reads where V/J junction is close to an end, slightly shifting or shortening the window (core/segment.cpp, core/windowExtractor.cpp) #2913 * Removed default homopolymer cost, improving detection on the majority of sequencers (core/dynprog.h) #2851 * Added warnings in the json output on some clones #2916 * Bug closed (clean some germinal sequences #2598) * Corrected memory leaks #3018 #3031 * Cleaned folders, with sources in src/, demo data in demo/, test data in algo/tests/data/ #2635 #2611 * Changed option processing library, trying CLI11 instead of docopt (lib/CLI11.hpp, tools/align.cpp) #926 * Streamlined packaging and Makefile, based on git #2255 #2630 * Updated build process (supporting g++ 4.8 to 7.2, clang from 3.3), warns on non-supported compilers #2614 #2615 #2631 * Updated help and online help, added demo files and commands, -f option #2635 #2076 * Refactored unit tests with TEST_TAP_EQUAL #2989 * New and updated unit and functional tests, including tests from documentation #1284 #2634 2017-09-08 The Vidjil Team * New BAM input parser, refactored input parsers (core/bioreader.cpp, core/bam.cpp) #2016 * Streamlined seed options (-m, -k, -s), overriding -g presets (vidjil.cpp, core/germlines.cpp) #1673 #2156 * New and updated unit and functional tests #2016 #2552 * Faster tests (tests/Makefile, tests/*) #2254 * Bug closed (halting when a representative is too short) #2224 * Documented dependencies and libraries (lib/info.txt) * Updated help, correcting -h documentation on -u/-uu/-uuu options * Moved continuous integration to Gitlab CI (.gitlab-ci.yml) 2017-03-14 The Vidjil Team * Better support for germlines from several species (germlines/*.g) #1987 #2132 * Streamlined option -g, including filtering, removed old -i/-G options (vidjil.cpp, core/germline.cpp) #2134 * Better productivity estimation, handling in-frame stop codons (core/segment.cpp) #2220 * Better unsegmentation causes, 'UNSEG only V/J' needs really significant V/J fragments (core/segment.cpp) #2107 * New experimental faster heuristic with Aho-Corasick automaton (core/automaton.hpp) #1366 * New option to disable window clustering (-w all) (core/windowExtractor.cpp) #1642 * Updated germline genes from IMGT/GENE-DB * Bugs closed (json output, consensus computation, -y option) #2214 #2217 #2224 #2239 * Refactored test structure for should-vdj tests (tests/should-vdj-to-tap.py, tests/repseq_vdj.py) * New and updated unit and functional tests, including more solved former bugs * Moved code to gitlab, better project management, commit messages are now linked to issues 2016-09-30 The Vidjil Team * New default trim option (-t 0) for germlines, leading to better results on some special recombinations (vidjil.cpp) * More flexible option to keep sequences of intereset (-W), accepting sequences of any size (core/windows.cpp) * Better generation of consensus sequences, marking ambiguous positions with Ns (core/representative.cpp) * Better recognition of standard recombinations by lowering incomplete germline attractiveness (core/segment.cpp) * Better TRD locus analysis, including some Dd-Dd-Jd recombinations (data/germlines.data) * Reduced unused similarity section of .json file output (vidjil.cpp) * New json output with -c segment (vidjil.cpp) * Updated help (doc/algo.org) * New and updated unit and functional tests, updated test process 2016-08-06 The Vidjil Team * New computation of average quality for each representative sequence, inside its window (core/representative.cpp) * New option (-E) to set the e-value for FineSegmenter D segment detection (vidjil.cpp) * Safer e-value estimation for D segments (vidjil.cpp) * Raised capacity to 2*10^9 reads (core/segment.cpp, core/fasta.cpp) * Better filtering/debug options (-u/-uu/-uuu), keeping interesting reads (vidjil.cpp, core/windowExtractor.cpp) * Better .vdj.fa header for irregular/incomplete recombinations, 1-based positions (core/segment.cpp) * Bugs closed (-u files, similarity in .vidjil) * New and updated unit and functional tests, checking again .should-vdj tests 2016-07-13 The Vidjil Team * New json 2016b format, renamed fields 'seg.{5,4,3,evalue}' and 'diversity', 1-based positions (core/segment.cpp) * New tool to display and debug alignments between a read and selected V/J genes (tools/vdj_assign.cpp) * Better test structure and process. The should-vdj tests will be soon moved to their own repository. * Bugs closed (build process, affine gaps (core/dynprog.cpp), JUNCTION/CDR3 detection (core/segment.cpp)) * New and updated functional tests 2016-03-04 The Vidjil Team * Better JUNCTION/CDR3 detection (-3), based on positions of Cys104 and Phe118/Trp118 (core/segment.cpp) * Bugs closed (.vidjil output of revcomp'd sequences, computation of Simpson index Ds) * Streamlined structure of tests directory * New and updated unit and functional tests 2016-02-08 The Vidjil Team * New default threshold (-z 100), fully analyzing more clones * New computation of diversity indices (Shannon, Simpson) (core/windows.cpp) * Streamlined KmerSegmenter test (core/affectanalyser.cpp) * Safer p-value estimation in KmerSegmenter, taking into account the central region (core/affectanalyser.cpp) * New experimental VDDJ detection analysis (-d) (core/segment.cpp) * Better FineSegmenter V(D)J designation for inverted genes in unexpected recombination analysis (core/segment.cpp) The unexpected recombination analysis (-2) can now safely be used. * Streamlined FineSegmenter handling of V, D and J segments (core/segment.cpp) * Faster FineSegmenter (~30%), relying on the KmerSegmenter to select to correct strand (core/segment.cpp) * Updated germline genes from IMGT/GENE-DB * Bugs closed (.vidjil output for sequences beyond the -z threshold) * New and updated unit and functional tests 2015-12-22 The Vidjil Team * Better KmerSegmenter, rejecting reads with large alterning V/J zones (core/segment.cpp) * Better unsegmentation causes, 'UNSEG only V/J' needs significant V/J fragments (core/segment.cpp) * Renamed unsegmentation messages to "only V/5'" and "only J/3'" to avoid confusion (core/segment.h) * Better unexpected recombination analysis (-2), with a FineSegmenter V(D)J assignation (core/segment.cpp) * Faster FineSegmenter (~35%), computing roughly half of the dynamic programming matrix (core/segment.cpp) * More flexible handling of badly formatted .fastq files (core/fasta.cpp) * New filtering/debug option (-uu), sort unsegmented reads (core/windowExtractor.cpp) * Streamlined json output, removing short codes (vidjil.cpp, core/segment.cpp) * Updated and refactored help (doc/algo.org) * Updated unit and functional tests * Bugs closed (build process, -X with large numbers, -x/-X combined with -c segment, stdout messages) 2015-10-08 The Vidjil Team * Bug closed (V(D)J assignation when V/D/J segments are close on the negative strand) (core/segment.cpp) 2015-10-05 The Vidjil Team * Better FineSegmenter V(D)J assignation, especially when V/D/J segments are close (core/segment.cpp) * Better e-value computation for FineSegmenter V(D)J assignation (core/segment.cpp) * Renamed 'UNSEG too few J/V' to 'UNSEG only V/J' to better reflect the actual detection of one part * Refactored tests for V(D)J assignation, allowing flexible patterns, new documentation (doc/should-vdj.org) * New tests on sequences with manually curated V(D)J assignations (tests/should-vdj-tests) * Bugs closed (no more spurious D in some VJ recombinations, corrected number of deletions around D regions) 2015-07-21 The Vidjil Team * New flexible parameterization of analyzed recombinations through a json file (germline/germlines.data) * New experimental unexpected recombination analysis (-4 -e 10) (core/segment.cpp) * New threshold for FineSegmenter VJ assignation, with at least 10 matches (core/germline.cpp) * Streamlined handling of segmentation methods (core/germline.h, core/segment.cpp) * Updated distance matrix computation between all clones (core/similarityMatrix.cpp) * New nlohmann json libray to parse and write json files (lib/json.h) * Updated build process, now requiring a C++11 compiler * New draft developer documentation (doc/dev.org), updated help and user documentation * New and updated unit and functional tests, bugs closed in shouldvdj tests 2015-06-05 The Vidjil Team * New default trim option (-t 100), considering only the relevant ends of the germline genes * Better segmentation heuristic when there are few k-mers (core/segment.cpp) * Better TRA/TRD locus analysis (-i), including both Vd-(Dd)-Ja and Dd-Ja recombinations (core/germline.cpp) * Better incomplete TRD and Dh/Jh analysis (-i), including up/downstream region of D genes (core/germline.cpp) * Better computation of the reference length for the coverage information, considering all reads of each clone * Better unexpected recombination analysis (-2), with information on the locus used (core/segment.cpp) * Streamlined again unsegmentation causes and removed delta_{min,max} for the heuristic (core/segment.cpp) * Refactored stats computation (core/read_storage.cpp) * Updated build process The next release will require a C++11 compiler. Static binaries will also be distributed. * Updated help (unsegmentation causes, clustering options, -m option) * Bugs closed (segmentation with k-mers on the negative strand, e-value computation, clone output on stdout) * New and updated unit and functional tests, and faster functional tests 2015-05-08 The Vidjil Team * New default e-value threshold (-e 1.0), improving the segmentation heuristic * New default for window length (-w 50), even with -D or with -g, streamlining the window handling * Better multi-germline analysis (-g), selecting the best locus on the e-value (core/segment.cpp) * New experimental trim option (-t), considering only the relevant ends of the germline genes (core/kmerstore.h) * Streamlined unsegmentation causes, including 'too short for w(indow)' * Updated main and debug ouptut * Updated help (algo.org, and new locus.org) * New option to keep only reads with labeled windows (-F), new combo (-FaW) to filter reads by window * Bugs closed (non symmetrical seeds and revcomp) * New and updated unit and functional tests 2015-04-09 The Vidjil Team * New experimental e-value threshold (-e) (core/segment.cpp) * New experimental unexpected recombination analysis (-2) (core/segment.cpp) * New preview/debug options to stop after a given number of reads (-x), possibly sampled throughout the file (-X) * New preview/debug option to output unsegmented reads as clones (-!) * New progress bar during computation * Better memory management for the reads taken into account for the representative (core/read_storage.cpp) * Updated .json output, with k-mer affectation results * Updated .json output, with the 'coverage' of the representative (core/representative.cpp) * Removed unused code parts as well as some files * Updated help, separing basic (-h) and advanced/experimental options (-H) * Bugs closed (extended nucleotides and revcomp) * New and updated unit and functional tests 2015-03-04 The Vidjil Team * Better multi-germline analysis (-g), returning the best locus for each read (core/segment.cpp) The incomplete rearrangement analysis (-i) can now safely be used. The speed of this multi-germline analysis will be improved in a next release. * Faster representative computation (core/read_chooser.cpp) * Included tools (tools/*.py) to process .vidjil files * New statistics on the number of clones (core/germline.cpp) * New experimental CDR3 detection (-3). We still advise to use IMGT/V-QUEST for better and complete results. * Better debug option -K (.affect), especially in the case of multi-germline analysis * Refactored dynamic programming computations (core/dynprog.cpp), experimental affine gaps * Removed unused code parts as well as some files * Streamlined flag processing in Makefiles * New mechanism for some functional tests (make shouldvdj) * New experimental tests from generated recombinations (make shouldvdj_generated) * New and updated unit and functional tests 2015-01-31 The Vidjil Team * Better TRG and TRD+ parameters (-g). The multi-germline analysis will again be improved in a next release. * New experimental option (-I) to discard common kmers between different germlines (core/germline.cpp) * Updated outputs for better traceability (version in .json, germlines on stdout) * New mechanism to retrieve germline databases (germline/get-saved-germline) 2014-12-22 The Vidjil Team * Better multi-germline analysis (-g). This will again be improved in a next release. * New experimental incomplete rearrangement analysis (-i) * New and updated unit and functional tests * Bugs closed (-w 40 when no D germline) 2014-11-28 The Vidjil Team * New input method, now accepts compressed fasta files with gzip (core/fasta.cpp, gzstream/zlib) * Better multi-germline analysis (-g) and documentation. This analysis can now safely be used. * Streamlined input. Option -d is removed, and a germline is required (-V/(-D)/-J, or -G, or -g) * Removed unused code parts as well as some files * New and updated unit and functional tests - now more than 80% code coverage * New public continuous integration - travis, coveralls * Bugs closed (-l, large -r) 2014-10-22 The Vidjil Team * Streamlined filtering options (-r/-y/-z), better documented (doc/algo.org) * Streamlined output files, option to fix their basename (-b) * Updated .data .json output, now in the better documented 2014.10 format (doc/format-analysis.org) * New experimental multi-germline analysis (-g). This will be improved and documented in a next release. * Faster FineSegmenter with a better memory allocation (core/dynprog.cpp) * Refactored main vidjil.cpp, objects storing germlines and statistics (core/germline.cpp, core/stats.cpp) * Transferred clustering from clone output to information in .data, again simplifying vidjil.cpp * Removed unused code parts as well as some files * New and updated unit and functional tests * Bugs closed 2014-09-23 The Vidjil Team * Export cause of non-segmentation in the .data * New option to output segmented reads (-U), now by default segmented reads are not output one by one * Updated .data .json output (the format will change again in a next release) * Updated tests 2014-07-28 The Vidjil Team * Better heuristic, segment more reads (core/affectanalyser.h, core/segment.cpp) This improved heuristic was designed to implement a multi-germline analysis in a next release. * Improved computation of the heuristic affectation. Halves the time of -c windows (core/kmerstore.h) * New command '-c germlines', discovering germlines (vidjil.cpp) * New unit tests, updated some tests * Updated .json output (experimental distance graph) * Bugs closed 2014-03-27 The Vidjil Team * Better default seed selection, depending on the germline, segments more reads (vidjil.cpp) * Better selection of representative read (core/representative.cpp) * New option to output all clones (-A), for testing purposes * Updated debug option (-u) to display k-mer affection (core/windowExtractor.cpp) * New unit tests, updated some tests * Improved management of dependencies (Makefile) * Improved documentation and comments on main stdout 2014-02-20 The Vidjil Team * Refactored main vidjil.cpp (core/windows.cpp, core/windowExtractor.cpp) * Removed unused html output * Better json output (core/json.cpp) * Updated main stdout, with representative sequence for each clone * Updated parameters for FineSegmenter (delta_max) and dynprog (substition cost) * Bugs closed 2013-10-07 The Vidjil Team * Better heuristic, segments more reads (core/segment.cpp) * Better and faster selection of representative read (vidjil.cpp, core/read_chooser.cpp) * Better display of reason of non-segmenting reads * New normalization against a standard (-Z) (core/labels.cpp) * New experimental lazy_msa multiple aligner * New .json output * New unit tests * Bugs closed 2013-07-03 The Vidjil Team * New selection of representative read (core/read_chooser.cpp) * Faster spaced seed computation (core/tools.cpp) * New unit tests * Bugs closed 2013-04-18 The Vidjil Team * First public release