Repository navigation
Update bcftools - #8435
Merged
Merged
Update bcftools#8435
Conversation
mertydn
force-pushed
the
update-bcftools
branch
from
September 18, 2026 08:57
9c450c1 to
bf7be7a
Compare
mertydn
force-pushed
the
update-bcftools
branch
2 times, most recently
from
October 3, 2026 00:43
9d4e01f to
ee075fa
Compare
…ro_verbosity and macro_no_version, add test cases
…tests - Replace --do-not-normalize with realign_mode select (all, skip, length) - Keep 'all' as default to preserve backwards-compatible normalization behavior - Expose --multi-overlaps, --force, --gff-annot, and --keep-sum - Wire shared macro_verbosity and macro_no_version - Add test for new options and regression test for default normalization - Expand documentation with atomization examples
…d tests - Support SnpGap string syntax (e.g. 2:indel, 2:mnp) with regex validation - Wire shared macro_verbosity and macro_no_version - Add tests for inverted targets and SnpGap variant-type syntax - Add usage examples to help section
…ig and tests - Update defaults to match bcftools 1.24 (tandem-qual 500, min-ireads 2, gap-frac 0.05) - Rename --non-reference to --no-reference - Add --config, --max-read-len and etc. params - Wire shared macro_verbosity and macro_no_version - Replace misplaced csq help text with proper mpileup documentation - Add test for new parameters
… options - Add --gvcf support for gVCF block merging - Expose --force-single, --missing-to-ref (-0), and --local-alleles - Add --unobserved to drop unobserved alleles (* / **) - Add --missing-rules and --filter-logic - Wire shared macro_no_version - Add test covering new parameters
…re shared macros - Expose --trim-unseen-allele (-A / -AA) - Add allele count/frequency type selectors (alt1, minor, major, etc.) - Add --force-samples and --no-update options - Wire shared macro_verbosity and macro_no_version - Update test 1 to cover new parameters - Add usage examples to help section
…and tests - Change viterbi_training from boolean to float convergence threshold - Expose --AF-tag parameter - Fix buffer_size and buffer_overlap conditions - Wire shared macro_verbosity - Add tests covering general options and --viterbi-training - Expand documentation for ROH and Viterbi training
…e shared macros - Expose --group-samples-tag for single-sample calling - Expose --keep-unseen-allele to retain unobserved alleles - Wire shared macro_verbosity and macro_no_version - Update test inputs to use bgzipped mpileup fixture - Add test for 1.24 parameters
… new options - Expose --force, --single-overlaps, and --pair-logic - Add --merge-logic for tabular annotations - Add --keep-sites to preserve filtered sites - Wire shared macro_verbosity and macro_no_version - Fix typo in help examples and add targets help - Add tests covering new parameters
…ing, -H I, --prefix - Fix missing $ prefix in mode.haplotype.rule Cheetah evaluation - Add -H I (IUPAC code for all genotypes) - Add --missing option to mark missing genotypes with a custom character - Add --prefix to prepend string to output sequence names - Wire shared macro_verbosity - Add test for new 1.24 parameters
- Expose --distinctive-sites, --dry-run, and --error-probability (-E) - Add --keep-refs, --n-matches, and --no-HWE-prob - Add --pairs (-p), --pairs-file (-P), and --use (-u) - Add samples, include, and exclude restriction macros - Wire shared macro_verbosity - Update test and expand help documentation
…d expand docs - Expose --disable-automatic-newline (-N) and --print-filtered (-F) - Add --force-samples option - Wire shared macro_verbosity - Document new format fields (%INFO, %FORMAT, %PBINOM, %VKX) - Add practical usage examples to help section
… wire verbosity - Expose --fai option to update contig headers from FASTA index - Add @threads@ support - Wire shared macro_verbosity - Fix and re-enable sample renaming tests - Expand help documentation
… and tests - Expose --greedy option - Add GFF options: --force and --unify-chr-names - Add @threads@ support - Wire shared macro_verbosity and macro_no_version - Update test 3 to cover new options
… tests - Replace --verbose boolean with shared macro_verbosity - Update test cases to use bgzipped mpileup fixture - Re-enable compressed VCF test case - Add test for depth, af-bins, split-by-ID, and verbosity options - Fix user_tstv regex validator
…os, update docs - Enable GL option for .gen tag selection - Add @threads@ support - Wire shared macro_verbosity and macro_no_version - Capitalize labels for Galaxy consistency - Update tests and expand format documentation
… and tests - Add @threads@ support - Wire shared macro_verbosity and macro_no_version - Update test 7 to cover shared options - Expand input format documentation in help section
- Wire shared macro_verbosity in general options - Add verbosity check to test 5
- Wire shared macro_verbosity and macro_no_version - Update test 2 to check for verbosity and no-version options
wm75
reviewed
Oct 23, 2026
wm75
requested changes
Oct 23, 2026
wm75
reviewed
Oct 23, 2026
wm75
reviewed
Oct 23, 2026
…ength cutoff for -N
1. Better explanation of options 2. Remove unused "none" macro - the default 3. Use previously unused "id" macro where appropriate.
--collapse is deprecated but still works. Remove support for it from the wrapper later, then reintroduce --pair-logic with more descriptive help.
These need to be done properly. Leave to next update.
Member
|
@mertydn I just pushed some minimal fixes. The idea would be to get this merged fast, then do another round of improvements and bring back the gt_check and annotate changes I dismissed this time on v1.25, which is out since 2 weeks by now). |
wm75
approved these changes
Nov 13, 2026
Member
|
Deployment status: success https://github.com/galaxyproject/tools-iuc/actions/runs/43450795773 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates bcftools tool wrappers from 1.21 to 1.24 to expose newly added functionalities from recent bcftools releases, align with upstream changes, and fix bugs and documentation errors.
General & Macro Updates
--verbositycontrols across wrappers (macro_verbosity).--no-versioncontrols across wrappers (macro_no_version).@THREADS@handling where supported.vcf.gzreferences; all compressed VCF inputs now properly usevcf_bgzip.mpileup.vcfto compressedmpileup.vcf.gz.bgzipandtabixindexing for tabular allele frequency files (--AF-file).u(uncompressed BCF) andz(compressed VCF) output types, and added a sharedcompression_level(0-9) parameter.anytoallto match bcftools 1.22+.Tool-Specific Changes
bcftools_annotate--force,--single-overlaps,--merge-logic,--pair-logic,--keep-sites.inut.vcf->input.vcf) and added@TARGETS_HELP@.bcftools_call--group-samples-tagand--keep-unseen-allele.mpileup.vcf.gzfixture.bcftools_concat--naive-force,--drop-genotypes.exactvalue for--rm-dups.output_type=v: forces intermediate compressed output (z) followed bybcftools viewconversion to prevent compression type mismatch errors.--naive-forceand--drop-genotypesinto distinct test cases (since bcftools does not allow combining them).bcftools_consensus$mode.haplotype.rulewas missing$).-H Ivalue.--missingand--prefix.bcftools_convert_from_vcfGLtag option for.genformat output (previously commented out).@THREADS@,@VERBOSITY@, and@NO_VERSION@.bcftools_convert_to_vcf@THREADS@,@VERBOSITY@, and@NO_VERSION@.bcftools_csq--greedyand GFF options (--force,--unify-chr-names).@THREADS@support.bcftools_filter--SnpGapto accept variant-type suffixes with regex validation.2:indeland2:mnpsyntax.bcftools_gtcheckall-sites,plot,target-sample,query-sample).--distinctive-sites,--dry-run,--error-probability(-E),--keep-refs,--n-matches,--no-HWE-prob,--pairs(-p),--pairs-file(-P), and--use(-u).genotypes(-g) input to acceptvcf_bgzip.bcftools_merge--gvcf(with or without reference FASTA),--force-single,--missing-to-ref,--local-alleles,--unobserved(*/**),--missing-rules, and--filter-logic.snp-ins-deloption to--merge.bcftools_mpileuptandem-qual: 100 → 500min-ireads: 1 → 2gap-frac: 0.002 → 0.05--non-referenceto--no-reference(per bcftools 1.22+).--config(preset profile) and-M/--max-read-len.NMBZ,QM,SCR,INFO/FS,INFO/MQSBZ.csqhelp text with propermpileupdocumentation and examples.--config,--no-version, and filtering options.bcftools_norm--do-not-normalizewith a structuredrealign_modeselect:all(default, preserves previous wrapper behavior by normalizing all indels)skip(-N, disables realignment)length(-N NUM, skips realignment for events longer than specified bp)-Nis not present when running with default settings.--multi-overlaps,--force,--gff-annot,--keep-sum, andexactvalue for-d.bcftools_query--disable-automatic-newline(-N),--print-filtered(-F), and--force-samples.%INFO,%FORMAT,%FUNCTION,%N_PASS,%PBINOM,%VKX) and added practical query examples.bcftools_reheader--faioption to update contig headers from a FASTA index.@THREADS@support.bcftools_rohviterbi_trainingparameter from boolean to a float convergence threshold, as required by bcftools roh.--AF-tagparameter.--viterbi-training "1e-10"and general options.bcftools_stats--verboseflag with the sharedmacro_verbositymacro.mpileup.vcf.gzfixture.--1st-allele-only,--depth,--af-bins,--split-by-ID, and--verbosity.bcftools_view--trim-unseen-allele(-A/-AA).nref,alt1,minor,major,nonmajor) for-c,-C,-q,-Q.--force-samplesand--no-updatesubset options.FOR CONTRIBUTOR: