Version Compatibility
Reference examples tested with: bedtools 2.31+, pybedtools 0.10+.
Before using code patterns, verify installed versions match. If versions differ:
- CLI:
bedtools --versionthenbedtools <subcommand> --helpto confirm flags - Python:
pip show pybedtoolsthenhelp(pybedtools.BedTool.closest)to check signatures
flank and slop REQUIRE a chrom-sizes (genome.txt, two columns: chrom<TAB>length) file via -g; closest requires both inputs coordinate-sorted (
[Description truncada. Veja o README completo no GitHub.]