|
1 | | -## Release 1.12 (17th March 2021) |
| 1 | +## Release 1.13 (7th July 2021) |
| 2 | + |
| 3 | + |
| 4 | +This release brings new options and significant changes in BAQ parametrization |
| 5 | +in `bcftools mpileup`. The previous behavior can be triggered by providing |
| 6 | +the `--config 1.12` option. Please see https://github.com/samtools/bcftools/pull/1474 |
| 7 | +for details. |
| 8 | + |
| 9 | + |
| 10 | +Changes affecting the whole of bcftools, or multiple commands: |
| 11 | + |
| 12 | +* Improved build system |
| 13 | + |
| 14 | + |
| 15 | +Changes affecting specific commands: |
| 16 | + |
| 17 | +* bcftools annotate: |
| 18 | + |
| 19 | + - Fix rare a bug when INFO/END is present, all INFO fields are removed |
| 20 | + with `bcftools annotate -x INFO` and BCF output is produced. Then the |
| 21 | + removed INFO/END continues to inform the end coordinate and causes |
| 22 | + incorrect retrieval of records with the -r option (#1483) |
| 23 | + |
| 24 | + - Support for matching annotation line by ID, in addition to CHROM,POS,REF, |
| 25 | + and ALT (#1461) |
| 26 | + |
| 27 | + bcftools annotate -a annots.tab.gz -c CHROM,POS,~ID,REF,ALT,INFO/END input.vcf |
| 28 | + |
| 29 | +* bcftools csq: |
| 30 | + |
| 31 | + - When GFF and VCF/fasta use a different chromosome naming convention |
| 32 | + (e.g. chrX vs X), no consequences would be added. Newly the program |
| 33 | + attempts to detect these differences and remove/add the "chr" prefix |
| 34 | + to chromosome name to match the GFF and VCF/fasta (#1507) |
2 | 35 |
|
| 36 | + - Parametrize brief-predictions parameter to allow explicit number of |
| 37 | + aminoacids to be printed. Note that the `-b, --brief-predictions` option |
| 38 | + is being replaced with `-B, --trim-protein-seq INT` |
| 39 | + |
| 40 | +* bcftools +fill-tags: |
| 41 | + |
| 42 | + - Generalization and better support for custom functions that allow |
| 43 | + adding new INFO tags based on arbitrary `-i, --include` type of |
| 44 | + expressions. For example, to calculate a missing INFO/DP annotation |
| 45 | + from FORMAT/AD, it is possible to use: |
| 46 | + |
| 47 | + -t 'DP:1=int(sum(FORMAT/AD))' |
| 48 | + |
| 49 | + Here the optional ":1" part specifies that a single value will be |
| 50 | + added (by default Number=. is used) and the optional int(...) adds |
| 51 | + an integer value (by default Type=Float is used). |
| 52 | + |
| 53 | + - When FORMAT/GT is not present, the INFO/AF tag will be newly calculated |
| 54 | + from INFO/AC and INFO/AN. |
| 55 | + |
| 56 | +* bcftools gtcheck: |
| 57 | + |
| 58 | + - Switch between FORMAT/GT or FORMAT/PL when one is (implicitly) requested |
| 59 | + but only the other is available |
| 60 | + |
| 61 | + - Improve diagnostics, printing warnings when a line cannot be matched and |
| 62 | + the number of lines skipped for various reasons (#1444) |
| 63 | + |
| 64 | + - Minor bug fix, with PLs being the default, the `--distinctive-sites` option |
| 65 | + started to require explicit `--error-probability 0` |
| 66 | + |
| 67 | +* bcftools index: |
| 68 | + |
| 69 | + - The program now accepts both data file name and the index file name. This |
| 70 | + adds to user convenience when running index statistics (-n, -s) |
| 71 | + |
| 72 | +* bcftools isec: |
| 73 | + |
| 74 | + - Always generate sites.txt with isec -p (#1462) |
| 75 | + |
| 76 | +* bcftools +mendelian: |
| 77 | + |
| 78 | + - Consider only complete trios, do not crash on sample name typos (#1520) |
| 79 | + |
| 80 | +* bcftools mpileup: |
| 81 | + |
| 82 | + - New `--seed` option for reproducibility of subsampling code in HTSlib |
| 83 | + |
| 84 | + - The SCR annotation which shows the number of soft-clipped reads now |
| 85 | + correctly pools reads together regardless of the variant type. Previously |
| 86 | + only reads with indels were included at indel sites. |
| 87 | + |
| 88 | + - Major revamp of BAQ. Please see https://github.com/samtools/bcftools/pull/1474 |
| 89 | + for details. The previous behavior can be triggered by providing the `--config 1.12` |
| 90 | + option. |
| 91 | + |
| 92 | + - Thanks to improvements in HTSlib, the removal of overlapping reads (which can |
| 93 | + be disabled with the `-x, --ignore-overlaps` options) is not systematically biased |
| 94 | + anymore (https://github.com/samtools/htslib/pull/1273) |
| 95 | + |
| 96 | + - Modified scale of Mann-Whitney U tests. Newly INFO/*Z annotations will be printed, |
| 97 | + for example MQBZ replaces MQB. |
| 98 | + |
| 99 | +* bcftools norm: |
| 100 | + |
| 101 | + - Fix Type=Flag output in `norm --atomize` (#1472) |
| 102 | + |
| 103 | + - Atomization must not discard ALT=. records |
| 104 | + |
| 105 | + - Atomization of AD and QS tags now correctly updates occurrences of duplicate |
| 106 | + alleles within different haplotypes |
| 107 | + |
| 108 | + - Fix a bug in atomization of Number=A,R tags |
| 109 | + |
| 110 | +* bcftools reheader: |
| 111 | + |
| 112 | + - Add `-T, --temp-prefix` option |
| 113 | + |
| 114 | +* bcftools +setGT: |
| 115 | + |
| 116 | + - A wider range of genotypes can be set by the plugin by allowing |
| 117 | + specifying custom genotypes. For example, to force a heterozygous |
| 118 | + genotype it is now possible to use expressions like: |
| 119 | + |
| 120 | + c:'m|M' |
| 121 | + c:0/1 |
| 122 | + c:0 |
| 123 | + |
| 124 | +* bcftools +split-vep: |
| 125 | + |
| 126 | + - New `-u, --allow-undef-tags` option |
| 127 | + |
| 128 | + - Better handling of ambiguous keys such as INFO/AF and CSQ/AD. The |
| 129 | + `-p, --annot-prefix` option is now applied before doing anything else |
| 130 | + which allows its use with `-f, --format` and `-c, --columns` options. |
| 131 | + |
| 132 | + - Some consequence field names may not constitute a valid tag name, such |
| 133 | + as "pos(1-based)". Newly field names are trimmed to exclude brackets. |
| 134 | + |
| 135 | +* bcftools +tag2tag: |
| 136 | + |
| 137 | + - New --QR-QA-to-QS option to convert annotations generated by Freebays |
| 138 | + to QS used by BCFtools |
| 139 | + |
| 140 | +* bcftools +trio-dnm: |
| 141 | + |
| 142 | + - Add support for sites with more than four alleles. Note that only the |
| 143 | + four most frequent alleles are considered, the model remains unchanged. |
| 144 | + Previously such sites were skipped. |
| 145 | + |
| 146 | + - New --use-NAIVE option for a naive DNM calling based solely on FORMAT/GT |
| 147 | + and expected Mendelian inheritance. This option is suitable for prefiltering. |
| 148 | + |
| 149 | + - Fix behavior to match the documentation, the `--dnm-tag DNG` option now |
| 150 | + correctly outputs log scaled values by default, not phred scaled. |
| 151 | + |
| 152 | + - Fix bug in VAF calculation, homozygous de novo variants were incorrectly |
| 153 | + reported as having VAF=50% |
| 154 | + |
| 155 | + - Fix arithmetic underflow which could lead to imprecise scores and improve |
| 156 | + sensitivity in high coverage regions |
| 157 | + |
| 158 | + - Allow combining --pn and --pns to set the noise trehsholds independently |
| 159 | + |
| 160 | + |
| 161 | +## Release 1.12 (17th March 2021) |
3 | 162 |
|
4 | 163 | Changes affecting the whole of bcftools, or multiple commands: |
5 | 164 |
|
|
0 commit comments