Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bedtools2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R3
legacy
bedtools2
Commits
63af291f
Commit
63af291f
authored
12 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
[DOCS] update groupby usage
parent
26abedba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/content/groupby.rst
+7
-6
7 additions, 6 deletions
docs/content/groupby.rst
with
7 additions
and
6 deletions
docs/content/groupby.rst
+
7
−
6
View file @
63af291f
...
@@ -3,10 +3,11 @@
...
@@ -3,10 +3,11 @@
###############
###############
``bedtools groupby`` is a useful tool that mimics the "group by" clause in database
``bedtools groupby`` is a useful tool that mimics the "group by" clause in database
systems. Given a file or stream that is sorted by the appropriate "grouping
systems. Given a file or stream that is sorted by the appropriate "grouping
columns", ``groupby`` will compute summary statistics on another column in the
columns" (``-g``), ``groupby`` will compute summary statistics on another
file or stream. This will work with output from all BEDTools as well as any other
column (``-c``) in the file or stream. This will work with output from all
tab-delimited file or stream. As such, this is a generally useful tool for
BEDTools as well as any other tab-delimited file or stream. As such, this is a
all command-line analyses, not just genomics related research.
generally useful tool for all command-line analyses, not just genomics related
research.
.. note::
.. note::
When using ``bedtools groupby``, the input data must be ordered by the same
When using ``bedtools groupby``, the input data must be ordered by the same
...
@@ -24,12 +25,12 @@ all command-line analyses, not just genomics related research.
...
@@ -24,12 +25,12 @@ all command-line analyses, not just genomics related research.
Usage
Usage
::
::
bedtools groupby [OPTIONS] -i <input> -
c <input
column> -o <operation>
bedtools groupby [OPTIONS] -i <input> -
g <group columns> -c <op.
column> -o <operation>
or:
or:
::
::
groupBy [OPTIONS] -i <input> -
c <input
column> -o <operation>
groupBy [OPTIONS] -i <input> -
g <group columns> -c <op.
column> -o <operation>
=========================== ===============================================================================================================================================================================================================
=========================== ===============================================================================================================================================================================================================
Option Description
Option Description
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment