.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. .TH CLOSEST-FEATURES "1" "October 2018" "closest-features 2.4.35+dfsg" "User Commands" .SH NAME closest-features \- manual page for closest-features 2.4.35+dfsg .SH DESCRIPTION closest\-features .IP citation: http://bioinformatics.oxfordjournals.org/content/28/14/1919.abstract .IP https://doi.org/10.1093/bioinformatics/bts277 .TP version: 2.4.35 (typical) .TP authors: Shane Neph & Scott Kuehn .PP USAGE: closest\-features [Process\-Flags] .IP All input files must be sorted per sort\-bed. The program accepts BED and Starch file formats May use '\-' for a file to indicate reading from standard input (BED format only). .IP For every element in , determine the two elements from falling .TP nearest to its left and right edges (See NOTES below). By default, echo the .IP element, followed by those left and right elements found in . .IP Process Flags: .TP \fB\-\-chrom\fR Jump to and process data for given only. .TP \fB\-\-closest\fR Choose the closest element for output only. Ties go the left element. .TP \fB\-\-delim\fR Change output delimiter from '|' to between columns (e.g. '\et') .TP \fB\-\-dist\fR Print the signed distances to the element as additional columns of output. An overlapping element has a distance of 0. .TP \fB\-\-ec\fR Error check all input files (slower). .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\-\-no\-overlaps\fR Overlapping elements from will not be reported. .TP \fB\-\-no\-ref\fR Do not echo elements from . .TP \fB\-\-version\fR Print program information. .IP NOTES: .IP If an element from overlaps the element, its distance is zero. .TP An overlapping element takes precedence over all non\-overlapping elements. This is true .IP even when the overlapping element's edge\-to\-edge distance to the 's element is greater than the edge\-to\-edge distance from a non\-overlapping element. .IP Overlapping elements may be ignored completely (no precedence) with \fB\-\-no\-overlaps\fR. Elements reported as closest to the left and right edges are never the same. When no qualifying element from exists as a closest feature, 'NA' is reported. .SH "SEE ALSO" The full documentation for .B closest-features is maintained as a Texinfo manual. If the .B info and .B closest-features programs are properly installed at your site, the command .IP .B info closest-features .PP should give you access to the complete manual.