Galaxy | Tool Preview

bedtools SlopBed (version 2.30.0+galaxy1)
E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”
If used, -l 500 for a negative-stranded feature, it will add 500 bp to the end coordinate

What it does

bedtools slop will increase the size of each feature in a feature file by a user-defined number of bases. While something like this could be done with an awk '{OFS="t" print $1,$2-<slop>,$3+<slop>}', bedtools slop will restrict the resizing to the size of the chromosome (i.e. no start < 0 and no end > chromosome size).

/repository/static/images/8d84903cc667dbe7/slop-glyph.png

In order to prevent the extension of intervals beyond chromosome boundaries, bedtools slop requires a genome file defining the length of each chromosome or contig.


This tool is part of the bedtools package from the Quinlan laboratory.

Citation

If you use this tool in Galaxy, please cite:

Bjoern A. Gruening (2014), Galaxy wrapper