Skip to content
Snippets Groups Projects
Commit b10d864e authored by Aaron's avatar Aaron
Browse files

tweaks to map docs

parent 37cbdc7c
No related branches found
No related tags found
No related merge requests found
docs/content/images/tool-glyphs/map-glyph.png

209 KiB

This diff is collapsed.
############### ###############
*map* *map*
############### ###############
|
.. image:: ../images/tool-glyphs/map-glyph.png
:width: 600pt
:align: center
|
``bedtools map`` allows one to map overlapping features in a B file onto ``bedtools map`` allows one to map overlapping features in a B file onto
features in an A file and apply statistics and/or summary operations on those features in an A file and apply statistics and/or summary operations on those
features. For example, one could use ``bedtools map`` to compute the average features.
For example, one could use ``bedtools map`` to compute the average
score of BEDGRAPH records that overlap genes. Since the fourth column in score of BEDGRAPH records that overlap genes. Since the fourth column in
BEDGRAPH is the score, the following command illustrates how this would be done: BEDGRAPH is the score, the following command illustrates how this would be done:
...@@ -19,7 +29,8 @@ Another example is discussed in this Biostars ...@@ -19,7 +29,8 @@ Another example is discussed in this Biostars
``bedtools map`` requires each input file to be sorted by genome coordinate. ``bedtools map`` requires each input file to be sorted by genome coordinate.
For BED files, this can be done with ``sort -k1,1 -k2,2n``. For BED files, this can be done with ``sort -k1,1 -k2,2n``.
========================================================================== ==========================================================================
Usage and option summary Usage and option summary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment