bedtools icon indicating copy to clipboard operation
bedtools copied to clipboard

[feature] slop without genome file

Open shouldsee opened this issue 5 years ago • 0 comments

I would like to extract the centre of bed intervals by hijacking bedtools slop. A genome size file is unnecessary here since there is no way that an interval would go off a chromosome during shrinking. Can we turn off the -g argument in such cases?

cat example.bed | bedtools slop -s -l -0.5 -r -0.5 -pct -i -

shouldsee avatar Oct 24 '18 16:10 shouldsee