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
bd34e000
Commit
bd34e000
authored
13 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
acknowledge heng li.
parent
4fe3ea9f
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
src/bedtools.cpp
+10
-7
10 additions, 7 deletions
src/bedtools.cpp
with
10 additions
and
7 deletions
src/bedtools.cpp
+
10
−
7
View file @
bd34e000
...
...
@@ -9,8 +9,6 @@
Licenced under the GNU General Public License 2.0 license.
******************************************************************************/
#include
<vector>
#include
<algorithm>
// for swap()
#include
<iostream>
#include
<fstream>
#include
<stdlib.h>
...
...
@@ -63,6 +61,11 @@ int window_main(int argc, char* argv[]); //
int
bedtools_help
(
void
);
int
bedtools_faq
(
void
);
/*
bedtools command line interface.
Thanks to Heng Li, as this interface is inspired and based upon his samtools interface.
*/
int
main
(
int
argc
,
char
*
argv
[])
{
...
...
@@ -135,7 +138,7 @@ int bedtools_help(void)
cout
<<
"
\n
Genome arithmetic:"
<<
endl
;
cout
<<
RED
<<
" intersect "
<<
RESET
<<
"Find overlapping intervals in various ways.
\n
"
;
cout
<<
RED
<<
" window "
<<
RESET
<<
"Find overlapping intervals within a window around an interval.
\n
"
;
cout
<<
RED
<<
" window "
<<
RESET
<<
"Find overlapping intervals within a window around an interval.
\n
"
;
cout
<<
RED
<<
" closest "
<<
RESET
<<
"Find the closest, potentially non-overlapping interval.
\n
"
;
cout
<<
RED
<<
" coverage "
<<
RESET
<<
"Compute the coverage over defined intervals.
\n
"
;
cout
<<
RED
<<
" genomecov "
<<
RESET
<<
"Compute the coverage over an entire genome.
\n
"
;
...
...
@@ -150,23 +153,23 @@ int bedtools_help(void)
cout
<<
"
\n
Multi-way file comparisons:"
<<
endl
;
cout
<<
RED
<<
" multiinter "
<<
RESET
<<
"Identifies common intervals among multiple interval files.
\n
"
;
cout
<<
RED
<<
" unionbedg "
<<
RESET
<<
"Combines coverage intervals from multiple BEDGRAPH files.
\n
"
;
cout
<<
RED
<<
" unionbedg "
<<
RESET
<<
"Combines coverage intervals from multiple BEDGRAPH files.
\n
"
;
cout
<<
"
\n
Paired-end manipulation:"
<<
endl
;
cout
<<
RED
<<
" pairtobed "
<<
RESET
<<
"Find pairs that overlap intervals in various ways.
\n
"
;
cout
<<
RED
<<
" pairtopair "
<<
RESET
<<
"Find pairs that overlap other pairs in various ways.
\n
"
;
cout
<<
"
\n
Format conversion:
\n
"
;
cout
<<
RED
<<
" bamtobed "
<<
RESET
<<
"Convert BAM alignments to BED (& other) formats.
\n
"
;
cout
<<
RED
<<
" bedtobam "
<<
RESET
<<
"Convert intervals to BAM records.
\n
"
;
cout
<<
RED
<<
" bedpetobam "
<<
RESET
<<
"Convert BEDPE intervals to BAM records.
\n
"
;
cout
<<
RED
<<
" bed12tobed6 "
<<
RESET
<<
"Breaks BED12 intervals into discrete BED6 intervals.
\n
"
;
cout
<<
"
\n
Fasta manipulation:
\n
"
;
cout
<<
RED
<<
" getfasta "
<<
RESET
<<
"Use intervals to extract sequences from a FASTA file.
\n
"
;
cout
<<
RED
<<
" maskfasta "
<<
RESET
<<
"Use intervals to mask sequences from a FASTA file.
\n
"
;
cout
<<
RED
<<
" nuc "
<<
RESET
<<
"Profile the nucleotide content of intervals in a FASTA file.
\n
"
;
cout
<<
"
\n
BAM focused tools:
\n
"
;
cout
<<
RED
<<
" multicov "
<<
RESET
<<
"Counts coverage from multiple BAMs at specific intervals.
\n
"
;
cout
<<
RED
<<
" tag "
<<
RESET
<<
"Tag BAM alignments based on overlaps with interval files.
\n
"
;
...
...
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