Releases: arq5x/bedtools2
Releases · arq5x/bedtools2
bedtools version 2.25.0
bedtools version 2.24.0
- The
coverage
tool now takes advantage of pre-sorted intervals via the-sorted
option. This allows thecoverage
tool to be much faster,
use far less memory, and report coverage for intervals in their original order in the input file. - We have changed the behavior of the
coverage
tool such that it is consistent with the other tools. Specifically, coverage is now
computed for the intervals in the A file based on the overlaps with the B file, rather than vice versa. - The
subtract
tool now supports pre-sorted data via the-sorted
option and is therefore much faster and scalable. - The
-nonamecheck
option provides greater tolerance for chromosome labeling when using the-sorted
option. - Support for multiple SVLEN tags in VCF format, and fixed a bug that failed to process SVLEN tags coming at the end of a VCF INFO field.
- Support for reverse complementing IUPAC codes in the
getfasta
tool. - Provided greater flexibility for "BED+" files, where the first 3 columns are chrom, start, and end, and the remaining columns are free-form.
- We now detect stale FAI files and recreate an index thanks to a fix from @gtamazian.
- New feature from Pierre Lindenbaum allowing the
sort
tool to sort files based on the chromosome order in afaidx
file. - Eliminated multiple compilation warnings thanks to John Marshall.
- Fixed bug in handling INS variants in VCF files.
bedtools version 2.23.0
New features.
- Added
-k
option to theclosest
tool to report the k-closest features in one or more-b
files. - Added
-fd
option to theclosest
tool to for the reporting of downstream features in one or more-b
files. Requires-D
to dictate how "downstream" should be defined. - Added
-fu
option to theclosest
tool to for the reporting of downstream features in one or more-b
files. Requires-D
to dictate how "downstream" should be defined. - @lindenb added a new
split
tool that will split an input file into multiple sub files. Unlike UNIXsplit
, it can balance the chunking of the sub files not just by number of lines, but also by total number of base pairs in each sub file. - Added a new
spacing
tool that reports the distances between features in a file. - @jayhesselberth added a
-reverse
option to themakewindows
tool that reverses the order of the assigned window numbers.
Bug fixes.
bedtools version 2.22.1
- When using
-sorted
withintersect
,map
, andclosest
, bedtools can now detect and warn you when your input datasets employ different chromosome sorting orders. - Fixed multiple bugs in the new, faster
closest
tool. Specifically, the -iu, -id, and -D options were not behaving properly with the new "sweeping" algorithm that was implemented for the 2.22.0 release. Many thanks to Sol Katzman for reporting these issues and for providing a detailed analysis and example files. - We FINALLY wrote proper documentation for the
closest
tool.
http://bedtools.readthedocs.org/en/latest/content/tools/closest.html - Fixed bug in the
tag
tool when using -intervals, -names, or -scores. Thanks to Yarden Katz for reporting this. - Fixed issues with chromosome boundaries in the
slop
tool when using negative distances. Thanks to @acdaugherty! - Multiple improvements to the
fisher
tool. Added a-m
option to thefisher
tool to merge overlapping intervals prior to comparing overlaps between two input files. Thanks to @brentp - Fixed a bug in
makewindows
tool requiring the use of-b
with-s
. - Fixed a bug in
intersect
that prevented-split
from detecting complete overlaps with-f 1
. Thanks to @tleonardi . - Restored the default decimal precision to the
groupby
tool. - Added the -prec option to the
merge
andmap
tools to specific the decimal precision of the output.
bedtools version 2.22.0
Enhancements
- Multiple database support for the closest tool. The closest tool now requires sorted input, but it is between 10 and 60 times faster depending on the use case.
As an example:
➜ cat mq1.bed
chr1 80 100 q1 1 +
➜ cat mdb1.bed
chr1 5 15 d1.1 1 +
chr1 20 60 d1.2 2 -
chr1 200 220 d1.3 3 -
➜ cat mdb2.bed
chr1 15 35 db2.1 1 -
chr1 120 170 db2.2 2 -
chr1 210 230 db3 3 +
➜ cat mdb3.bed
chr1 70 90 d3.1 3 -
Find the closest interval in each B file.
➜ bedtools closest -a mq1.bed \
-b mdb1.bed mdb2.bed mdb3.bed \
-names foo bar biz
chr1 80 100 q1 1 + foo chr1 20 60 d1.2 2 -
chr1 80 100 q1 1 + bar chr1 120 170 db2.2 2 -
chr1 80 100 q1 1 + biz chr1 70 90 d3.1 3 -
Find the closest interval among all B files.
➜ bedtools closest -a mq1.bed \
-b mdb1.bed mdb2.bed mdb3.bed \
-names foo bar biz \
-mdb all
chr1 80 100 q1 1 + biz chr1 70 90 d3.1 3 -
- Support for IMPRECISE SVs in VCF format.
- Added the
-prec
option to grouby to allow control over the reported decimal precision
Bug fixes
- Fixed a bug with zero length records.
- Fixed a precision bug in the
fisher
tool. Thanks to @brentp - Fixed a bug in the bamtofastq tool. Thanks to @ryan-williams
bedtools version 2.21.0
Version 2.21.0 (18-Sep-2014)
- Added ability to intersect against multiple -b files in the intersect tool.
- Fixed a bug causing slowdowns in the -sorted option when using -split with very large split alignments.
- Added a new fisher tool to report a P-value associated with the significance of the overlaps between two interval sets. Thanks to @brentp!
- Added a “genome” file for GRCh38. Thanks @martijnvermaat!
- Fixed a bug in the -pct option of the slop tool. Thanks to @brentp!
- Tweak to the Makefile to accomodate Intel compilers. Thanks to @jmarshall.
- Many updates to the docs from the community. Thank you!
bedtools version 2.20.1
- Fixed a float rounding bug causing occassional off-by-one issues in the slop added by the
slop
tool. Thanks to @slw287r. - Fixed a bug injected in 2.19 arising when files have a single line not ending in a newline. Thanks to @cwarden45.
bedtools version 2.20.0
- The
merge
tool now supports BAM input.- The
-n
,-nms
, and-scores
options are deprecated in favor of the new, substantially more flexible,-c
and-o
options. See the docs: http://bedtools.readthedocs.org/en/latest/content/tools/merge.html - It now supports the
-header
option. - It now supports the
-S
option.
- The
- The
map
tool now supports BAM input. - The
jaccard
tool is now ~3 times faster.- It now supports the
-split
option. - It now supports the
-s
option. - It now supports the
-S
option.
- It now supports the
- We have fixed several CLANG compiler issues.Thanks to John Marshall for the thorough report.
- We added support for “X” and “=” CIGAR operators. Thanks to Pierre Lindenbaum.
- Fixed bugs for empty files.
- Improved the
-incl
option in the shuffle tool such that the distibution is much more random. - Fixed a bug in slop when very large slop values are used.
bedtools version 2.19.1
- Bug fix to intersect causing BAM footers to be erroneously written when -b is BAM
- Speedup for the map tool.
http://bedtools.readthedocs.org/en/latest/_images/map-speed-comparo.png - Map tool now allows multiple columns and operations in a single run.
http://bedtools.readthedocs.org/en/latest/content/tools/map.html#multiple-operations-and-columns-at-the-same-time
bedtools version 2.19.0
v2.19.0 Setting Release-Version v2.19.0