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
19a78963
Commit
19a78963
authored
12 years ago
by
Aaron
Browse files
Options
Downloads
Patches
Plain Diff
[DOC] update complement docs
parent
3fb1a290
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/content/images/tool-glyphs/complement-glyph.png
+0
-0
0 additions, 0 deletions
docs/content/images/tool-glyphs/complement-glyph.png
docs/content/tools/complement.rst
+33
-21
33 additions, 21 deletions
docs/content/tools/complement.rst
with
33 additions
and
21 deletions
docs/content/images/tool-glyphs/complement-glyph.png
0 → 100644
+
0
−
0
View file @
19a78963
19.7 KiB
This diff is collapsed.
Click to expand it.
docs/content/tools/complement.rst
+
33
−
21
View file @
19a78963
###############
###############
*complement*
*complement*
###############
###############
**complementBed** returns the intervals in a genome that are not by the features in a feature file. An
example usage of this tool would be to return the intervals of the genome that are not annotated as a
repeat.
|
.. image:: ../images/tool-glyphs/complement-glyph.png
:width: 600pt
|
``bedtools complement`` returns all intervals in a genome that are **not**
covered by at least one interval in the input BED/GFF/VCF file.
.. seealso::
:doc:`../tools/merge`
==========================================================================
==========================================================================
Usage and option summary
Usage and option summary
==========================================================================
==========================================================================
Usage:
**
Usage
**
:
::
::
complementBed [OPTIONS] -i <BED/GFF/VCF> -g <GENOME>
**No additional options.**
bedtools complement -i <BED/GFF/VCF> -g <GENOME>
**(or)**:
::
complementBed -i <BED/GFF/VCF> -g <GENOME>
==========================================================================
==========================================================================
Default behavior
Default behavior
==========================================================================
==========================================================================
Figure:
By default, ``bedtools complement`` returns all genomic intervals that are not
::
covered by at least one record from the input file.
Chromosome ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BED FILE A ************* *************** ******************
Result === === ===== =======
.. code-block:: bash
For example:
$ cat A.bed
::
cat A.bed
chr1 100 200
chr1 100 200
chr1 400 500
chr1 400 500
chr1 500 800
chr1 500 800
cat my.genome
$
cat my.genome
chr1 1000
chr1 1000
chr2 800
$ bedtools complement -i A.bed -g my.genome
chr1 0 100
chr1 200 400
chr1 800 1000
chr2 0 800
complementBed -i A.bed -g my.genome
chr1 0 100
chr1 200 400
chr1 800 1000
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