.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH BEDMAP "1" "March 2024" "bedmap 2.4.41+dfsg" "User Commands" .SH NAME bedmap \- manual page for bedmap 2.4.41+dfsg .SH DESCRIPTION bedmap .IP citation: http://bioinformatics.oxfordjournals.org/content/28/14/1919.abstract .IP https://doi.org/10.1093/bioinformatics/bts277 .TP version: 2.4.41 (typical) .TP authors: Shane Neph & Scott Kuehn .IP USAGE: bedmap [process\-flags] [overlap\-option] [map\-file] .IP Any input file must be sorted per the sort\-bed utility. The program accepts BED and Starch file formats. You may use '\-' for a BED file to indicate the input comes from stdin. .IP Traverse , while applying on qualified, overlapping elements from .TP . Output is one line for each line in , sent to standard output. There .IP is no limit on the number of operations you can specify to compute in one bedmap call. .IP If is omitted, the given file is treated as both the and . .IP This usage is more efficient than specifying the same file twice. .IP Arguments may be given in any order before the input file(s). .IP Process Flags: .HP \fB\-\-\-\-\-\-\-\-\fR .TP \fB\-\-chrom\fR Jump to and process data for given only. .TP \fB\-\-delim\fR Change output delimiter from '|' to between columns (e.g. '\et'). .TP \fB\-\-ec\fR Error check all input files (slower). .TP \fB\-\-faster\fR (advanced) Strong input assumptions are made. Compatible with: \fB\-\-bp\-ovr\fR, \fB\-\-range\fR, \fB\-\-fraction\-both\fR, and \fB\-\-exact\fR overlap options only. .TP \fB\-\-header\fR Accept headers (VCF, GFF, SAM, BED, WIG) in any input file. .TP \fB\-\-help\fR Print this message and exit successfully. .TP \fB\-\-min\-memory\fR Minimize memory usage (slower). .TP \fB\-\-multidelim\fR Change delimiter of multi\-value output columns from ';' to . .TP \fB\-\-prec\fR Change the post\-decimal precision of scores to . 0 <= . .TP \fB\-\-sci\fR Use scientific notation for score outputs. .TP \fB\-\-skip\-unmapped\fR Print no output for a row with no mapped elements. .TP \fB\-\-sweep\-all\fR Ensure is read completely (helps to prevent broken pipes). .TP \fB\-\-unmapped\-val\fR Print on unmapped \fB\-\-echo\-map\fR* and \fB\-\-min\fR/max\-element* operations. The default is to print nothing. .TP \fB\-\-version\fR Print program information. .TP Overlap Options (At most, one may be selected. By default, \fB\-\-bp\-ovr\fR 1 is used): .HP \fB\-\-\-\-\-\-\-\-\fR .TP \fB\-\-bp\-ovr\fR Require bp overlap between elements of input files. .TP \fB\-\-exact\fR First 3 fields from must be identical to 's. .TP \fB\-\-fraction\-both\fR Both \fB\-\-fraction\-ref\fR and \fB\-\-fraction\-map\fR must be true to qualify as overlapping. Expect 0 < val <= 1. .TP \fB\-\-fraction\-either\fR Either \fB\-\-fraction\-ref\fR or \fB\-\-fraction\-map\fR must be true to qualify as overlapping. Expect 0 < val <= 1. .TP \fB\-\-fraction\-map\fR The fraction of the element's size from that must overlap the element in . Expect 0 < val <= 1. .TP \fB\-\-fraction\-ref\fR The fraction of the element's size from that must overlap an element in . Expect 0 < val <= 1. .TP \fB\-\-range\fR Grab elements within bp of 's element, where 0 <= int. \fB\-\-range\fR 0 is an alias for \fB\-\-bp\-ovr\fR 1. .TP Operations: (Any number of operations may be used any number of times.) .HP \fB\-\-\-\-\-\-\-\-\-\-\fR .IP SCORE: .IP must have at least 3 columns and 5 columns. .TP \fB\-\-cv\fR The result of \fB\-\-stdev\fR divided by the result of \fB\-\-mean\fR. .TP \fB\-\-kth\fR Generalized median. Report the value, x, such that the fraction of overlapping elements' scores from is less than x, and the fraction 1\- of scores is greater than x. 0 < val <= 1. .TP \fB\-\-mad\fR The median absolute deviation of overlapping elements in . Multiply mad score by . 0 < mult, and mult is 1 by default. .TP \fB\-\-max\fR The highest score from overlapping elements in . .TP \fB\-\-max\-element\fR A (non\-random) highest\-scoring and overlapping element in . .TP \fB\-\-max\-element\-rand\fR A random highest\-scoring and overlapping element in . .TP \fB\-\-mean\fR The average score from overlapping elements in . .TP \fB\-\-median\fR The median score from overlapping elements in . .TP \fB\-\-min\fR The lowest score from overlapping elements in . .TP \fB\-\-min\-element\fR A (non\-random) lowest\-scoring and overlapping element in . .TP \fB\-\-min\-element\-rand\fR A random lowest\-scoring and overlapping element in . .TP \fB\-\-stdev\fR The square root of the result of \fB\-\-variance\fR. .TP \fB\-\-sum\fR Accumulated scores from overlapping elements in . .TP \fB\-\-tmean\fR The mean score from overlapping elements in , after ignoring the bottom and top fractions of those scores. 0 <= low <= 1. 0 <= hi <= 1. low+hi <= 1. .TP \fB\-\-variance\fR The variance of scores from overlapping elements in . .TP \fB\-\-wmean\fR Weighted mean, scaled in proportion to the coverage of the element by each overlapping element. .HP \fB\-\-\-\-\-\-\-\-\-\-\fR .IP NON\-SCORE: .IP must have at least 3 columns. For \fB\-\-echo\-map\-id\fR/echo\-map\-id\-uniq, must have at least 4 columns. For \fB\-\-echo\-map\-score\fR, must have at least 5 columns. For all others, requires at least 3 columns. .TP \fB\-\-bases\fR The total number of overlapping bases from . .TP \fB\-\-bases\-uniq\fR The number of distinct bases from 's element covered by overlapping elements in . .TP \fB\-\-bases\-uniq\-f\fR The fraction of distinct bases from 's element covered by overlapping elements in . .TP \fB\-\-count\fR The number of overlapping elements in . .TP \fB\-\-echo\fR Print each line from . .TP \fB\-\-echo\-map\fR List all overlapping elements from . .TP \fB\-\-echo\-map\-id\fR List IDs from all overlapping elements. .TP \fB\-\-echo\-map\-id\-uniq\fR List unique IDs from overlapping elements. .TP \fB\-\-echo\-map\-range\fR Print genomic range of overlapping elements from . .TP \fB\-\-echo\-map\-score\fR List scores from overlapping elements. .TP \fB\-\-echo\-map\-size\fR List the full length of every overlapping element. .HP \fB\-\-echo\-overlap\-size\fR List lengths of overlaps. .TP \fB\-\-echo\-ref\-name\fR Print the first 3 fields of using chrom:start\-end format. .TP \fB\-\-echo\-ref\-row\-id\fR Print 'id\-' followed by the line number of . .TP \fB\-\-echo\-ref\-size\fR Print the length of each line from . .TP \fB\-\-indicator\fR Print 1 if there exists an overlapping element in , 0 otherwise. .SH "SEE ALSO" The full documentation for .B bedmap is maintained as a Texinfo manual. If the .B info and .B bedmap programs are properly installed at your site, the command .IP .B info bedmap .PP should give you access to the complete manual.