| 1 | # Easel 0.46 release notes |
| 2 | |
| 3 | Easel 0.46 is packaged with HMMER 3.3 (Nov 2019). |
| 4 | |
| 5 | |
| 6 | ## New Easel tools |
| 7 | |
| 8 | * The easel miniapp tools now include `easel`, a single commandline |
| 9 | program with different subcommands for individual tools. This single |
| 10 | `easel` program will eventually subsume all the individual miniapps. |
| 11 | So far, the available commands are |
| 12 | |
| 13 | - `easel alistat`: summary stats for a multiple seq alignment file (replaces esl-alistat) |
| 14 | - `easel downsample`: downsample <m> things from a larger datafile of <n> things (replaces esl-selectn) |
| 15 | - `easel filter`: remove seqs >= a %id threshold from a multiple alignment (partly replaces esl-weight) |
| 16 | |
| 17 | * Our development tools now include `autodoc.py`, a new and improved |
| 18 | Python implementation of our old `autodoc` tool for extracting |
| 19 | function documentation from Easel .c files and formatting it in |
| 20 | Markdown. |
| 21 | |
| 22 | ## New Easel modules |
| 23 | |
| 24 | * __esl_bitfield__: compact boolean flag arrays |
| 25 | * __esl_graph__: graph algorithms (code split out of esl_dirichlet) |
| 26 | * __esl_json__: JSON data exchange format parsing |
| 27 | * __esl_matrixops__: simple 2D matrix operations (like esl_vectorops) |
| 28 | * __esl_mixdchlet__: mixture Dirichlets (code split out of esl_dirichlet) |
| 29 | * __esl_rand64__: 64-bit Mersenne Twister random number generator |
| 30 | * __esl_subcmd__: support for commandline programs with subcommands, like "easel alistat" |
| 31 | * __esl_varint__: variable-length binary encoding of integers |
| 32 | |
| 33 | ## New documentation |
| 34 | |
| 35 | * __documentation/figures/easel_techtree.pdf__: overview picture of Easel modules |
| 36 | * __documentation/codestyle.md__: describes my coding style |
| 37 | |
| 38 | |
| 39 | ## Most important changes |
| 40 | |
| 41 | * Improves and speeds up Henikoff position-based (PB) sequence |
| 42 | weighting, especially for deep alignments: |
| 43 | |
| 44 | - weights are calculated based on consensus columns only. Previously, |
| 45 | all columns were used; this could cause artifactually extreme weights |
| 46 | on very gappy alignments. |
| 47 | |
| 48 | - if consensus columns aren't annotated, HMMER/Infernal style |
| 49 | method is used to pick them. On very deep alignments, this |
| 50 | determination is made on a random subsample |
| 51 | |
| 52 | - reorders loop evaluations to seq x col instead of col x seq, |
| 53 | which makes a big difference in speed because of stride, albeit |
| 54 | at a small O(LK) cost in memory for storing observed counts for K |
| 55 | residues at each of L columns. |
| 56 | |
| 57 | The speed increase can be large (40x for Pfam full-NCBI ABC_tran, |
| 58 | 2.6M aligned seqs), and the improvements also result in a gain in |
| 59 | sensitivity/specificity in HMMER. |
| 60 | |
| 61 | * Improved how we define "sequence fragments" in a multiple sequence |
| 62 | alignment (in `esl_msa_MarkFragments`). The new rule is based on the |
| 63 | fractional "span" of the aligned sequence from its first residue in |
| 64 | column s to its last residue in column e, (e-s+1)/n, for an |
| 65 | alignment of n total columns. |
| 66 | |
| 67 | * Improved %id filtering (`esl_msaweight_IDFilter()`) so it |
| 68 | preferentially selects full length sequences over sequence |
| 69 | fragments. |
| 70 | |
| 71 | * Made fasta format parsing more robust against .afa files. |
| 72 | |
| 73 | * Changes `esl_msashuffle_VShuffle()` to preserve gap structure. |
| 74 | |
| 75 | |
| 76 | |
| 77 | ## Fixed bugs |
| 78 | |
| 79 | * Fixed iss #24: esl-shuffle -A fails with 'no such option --boot'. |
| 80 | |
| 81 | * Fixed Valgrind error in red-black-utest |
| 82 | |
| 83 | * Fixed an esl_sse compile failure in Easel (when standalone). |
| 84 | |
| 85 | |
| 86 | ## Other smaller changes |
| 87 | |
| 88 | * Revised behavior of esl_DCompareNew(), when I found that it wouldn't |
| 89 | return eslOK for a comparison of 0 to 0 at 0 tolerance. It was |
| 90 | using < tol, not <= tol, because <= tol caused -inf to successfully |
| 91 | evaluate as approximately equal to +inf for any relative tolerance |
| 92 | (because fabs((-inf) - (+inf)) <= rtol * fabs(inf) is inf <= inf, |
| 93 | which is TRUE). Now, instead, for nonfinite x0, just return eslOK |
| 94 | when x0==x; this correctly handles inf and NaN. |
| 95 | |
| 96 | * The esl_dsqdata reader now uses multiple unpacker threads (currently |
| 97 | 4), which typically speeds it up. |
| 98 | |
| 99 | * Improves esl_min_ConjugateGradientDescent(), and changes its |
| 100 | arguments. Now you can provide an optional ESL_MIN_CFG structure to |
| 101 | set tunable parameters for the optimizer, and an optional |
| 102 | ESL_MIN_DAT structure to recover a table of stats on what it did at |
| 103 | each iteration. |
| 104 | |
| 105 | * Easel can now be used in C++ code. Headers wrapped in extern 'C' |
| 106 | declarations; C++ keywords avoided in variable names. |
| 107 | |
| 108 | * Our 'make check' tests depend on Python >= 3.5. Added checks in |
| 109 | ./configure and make to fail gracefully if python3 isn't available. |
| 110 | |
| 111 | * ./configure now always calls AC_PROG_CC_STDC to add compiler flags |
| 112 | for C99 (even with icc) |
| 113 | |
| 114 | * ./configure now has an --enable-pic option to help with building |
| 115 | Easel as a shared library |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | For even more information, you can peruse the |
| 123 | [git log for our develop branch](https://github.com/EddyRivasLab/easel/commits/develop). |
| 124 | |
| 125 | |
| 126 |