jvarkit

Biostar178713

Last commit

split bed file into several bed files where each region is separated of any other by N bases

Usage

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

Keywords

See also in Biostars

Creation Date

20160226

Source code

https://github.com/lindenb/jvarkit/tree/master/src/main/java/com/github/lindenb/jvarkit/tools/biostar/Biostar178713.java

Contribute

License

The project is licensed under the MIT license.

Citing

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

Example

java -jar dist/biostar178713.jar -d 100000 -o out.zip in1.bed in2.bed