split bed file into several bed files where each region is separated of any other by N bases
This program is now part of the main jvarkit
tool. See jvarkit for compiling.
Usage: java -jar dist/jvarkit.jar biostar178713 [options] Files
Usage: biostar178713 [options] Files
Options:
-d, --distance
Distance between bed features.A distance specified as a positive
integer.Commas are removed. The following suffixes are interpreted :
b,bp,k,kb,m,mb,g,gb
Default: 100
-h, --help
print help and exit
--helpFormat
What kind of help. One of [usage,markdown,xml].
* -o, --output
Output file.zip .
--version
print version and exit
20160226
The project is licensed under the MIT license.
Should you cite biostar178713 ? https://github.com/mr-c/shouldacite/blob/master/should-I-cite-this-software.md
The current reference is:
http://dx.doi.org/10.6084/m9.figshare.1425030
Lindenbaum, Pierre (2015): JVarkit: java-based utilities for Bioinformatics. figshare. http://dx.doi.org/10.6084/m9.figshare.1425030
java -jar dist/biostar178713.jar -d 100000 -o out.zip in1.bed in2.bed