BEDOPS(1)
β¨ NAME β¨
okay so this is the manual page for bedops β that's the bedops from version 2.4.42+dfsg, bestie π
π¦ DESCRIPTION π¦
bedops π
the way that this little icon does so much...
citation: http://bioinformatics.oxfordjournals.org/content/28/14/1919.abstract
https://doi.org/10.1093/bioinformatics/bts277
version: 2.4.42 (typical)
authors: Shane Neph & Scott Kuehn π
Here's the whole vibe of how you call it:
USAGE: bedops [process-flags] <operation> <File(s)>*
okay ground rules, no cap π
- Every single input file has to be sorted per the
sort-bedutility. literally non-negotiable. and each operation needs a minimum number of files, which is shown down below in the operations list. - There is no fixed maximum number of files you can throw at it. go off, pile them on π
- Input files must have at least the first 3 columns of the BED specification. The program accepts BED and Starch file formats.
- You may use
-for a file to mean "read from standard input" β but that's BED format only, okurrr? β¨
π Process Flags π
--chrom<chromosome> β jump to and process data for that<chromosome>only. just that one. tunnel vision, main character energy π--ecβ error check input files. yes it's slower. yes it's worth it π«Ά--headerβ accept headers (VCF, GFF, SAM, BED, WIG) in any input file. let them in, bestie π--helpβ print this message and exit successfully. slay β¨--help-<operation> β detailed help on<operation>. An example is--help-cor--help-complement--rangeL:R β addLbp to all start coordinates andRbp to end coordinates. Either value may be+or-to grow or shrink regions. With the-e/-noperations, the first (reference) file is not padded, unlike all other files. β οΈ--rangeS β pad or shrink input file(s) coordinates symmetrically byS. This is shorthand for:--range -S:S.--versionβ print program information.
π Operations π (choose one of)
-c,--complement[-L] File1 [File]*-d,--differenceReferenceFile File2 [File]*-e,--element-of[bp | percentage] ReferenceFile File2 [File]*
by default, -e 100% is used. bedops -e 1 is also popular.
-i,--intersectFile1 File2 [File]*-m,--mergeFile1 [File]*-n,--not-element-of[bp | percentage] ReferenceFile File2 [File]*
by default, -n 100% is used. bedops -n 1 is also popular.
-p,--partitionFile1 [File]*-s,--symmdiffFile1 File2 [File]*-u,--everythingFile1 [File]*-w,--chop[bp] [--stagger <nt>] [-x] File1 [File]*
by default, -w 1 is used with no staggering.
π Example π
bedops --range 10 -u file1.bed
NOTE: Only operations -e|n|u preserve all columns (no flattening). the others will flatten on you, iykyk π
πΈ SEE ALSO πΈ
The full documentation for bedops is maintained as a Texinfo manual. If the info and bedops programs are properly installed at your site, the command
info bedops
should give you access to the complete manual. go read it, it's giving lore πβ¨
and that's a wrap, bestie π this was bedops 2.4.42+dfsg, dropped in August 2025, living its truth as BEDOPS(1). periodt. π
π
π¦ where this page comes from
- ubuntu resolute: bedops 2.4.42+dfsg-1 Β· GPL-2.0-or-later
- ubuntu stonking: bedops 2.4.42+dfsg-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms