1.15
Download the source code here: bcftools-1.15.tar.bz2.(The "Source code" downloads are generated by GitHub and are incomplete as they don't bundle HTSlib and are missing some generated files.)
-
New
bcftools headsubcommand for conveniently displaying the headers of a VCF or BCF file. Without any options, this is equivalent tobcftools view --header-only --no-versionbut more succinct and memorable. -
The
-T, --targets-fileoption had the following bug originating in HTSlib code: when an uncompressed file with multiple columnsCHR,POS,REFwas provided, theREFwould be interpreted as 0 gigabases (#1598)
Changes affecting specific commands:
-
bcftools annotate-
In addition to
--rename-annots, which requires a file with name mappings, it is now possible to do the same on the command line-c NEW_TAG:=OLD_TAG -
Add new option
--min-overlapwhich allows to specify the minimum required overlap of intersecting regions -
Allow to transfer
ALTfrom VCF with or without replacement using:
bcftools annotate -a annots.vcf.gz -c ALT file.vcf.gz
bcftools annotate -a annots.vcf.gz -c +ALT file.vcf.gz
-
-
bcftools convert-
Revamp of
--gensample,--hapsampleand--haplegendsamplefamily of options which includes the following changes: -
New
--3N6option to output/input the new version of the.genfile format, see https://www.cog-genomics.org/plink/2.0/formats#gen -
Deprecate the
--chromoption in favor of--3N6. A simplecutcommand can be used to convert from the new3*M+6column format to the format printed with--chrom(cut -d' ' -f1,3-). -
The
CHROM:POS_REF_ALTIDs which are used to detect strand swaps are required and must appear either in the "SNP ID" column or the "rsID" column. The column is autodetected for--gensample2vcf, can be the first or the second for--hapsample2vcf(depending on whether the--vcf-idsoption is given), must be the first for--haplegendsample2vcf.
-
-
bcftools csq- Allow GFF files with phase column unset
-
bcftools filter- New
--mask,--mask-fileand--mask-overlapoptions to soft filter variants in regions (#1635)
- New
-
bcftools +fixref-
The
-m idoption now works also for non-dbSNP ids, i.e. not justrsINT -
New
-m flip-allmode for flipping all sites, including ambiguous A/T and C/G sites
-
-
bcftools isec- Prevent segfault on sites filtered with
-i/-ein all files (#1632)
- Prevent segfault on sites filtered with
-
bcftools mpileup-
More flexible read filtering using the options:
--ls,--skip-all-set.. skip reads with all of the FLAG bits set
--ns,--skip-any-set.. skip reads with any of the FLAG bits set
--lu,--skip-all-unset.. skip reads with all of the FLAG bits unset
--nu,--skip-any-unset.. skip reads with any of the FLAG bits unsetThe existing synonymous options will continue to function but their use is discouraged:
--rf,--incl-flagsSTR|INTRequired flags: skip reads with mask bits unset
--ff,--excl-flagsSTR|INTFilter flags: skip reads with mask bits set
-
-
bcftools query- Make the
--samplesand--samples-fileoptions work also in the--list-samplesmode. Add a new--force-samplesoption which allows to proceed even when some of the requested samples are not present in the VCF (#1631)
- Make the
-
bcftools +setGT- Fix a bug in
-t q -e EXPRlogic applied onFORMATfields, sites with all samples failing the expressionEXPRwere incorrectly skipped. This problem affected only the use of-elogic, not the-iexpressions (#1607)
- Fix a bug in
-
bcftools sort- make use of the
TMPDIRenvironment variable when defined
- make use of the
-
bcftools +trio-dnm2- The
--use-NAIVEmode now also adds the de novo allele inFORMAT/VA
- The