Expand description
Command functions that implement each of the granges
subcommands.
Structs§
- Feature
Density - Calculate the density of features in a BED4 file, per window. There are two modes:
- Filter
Chroms - Filter out ranges not in the specified “genome” file.
- Merge
- Merges all the genomic ranges if they overlap by
distance
.
Enums§
- Processing
Mode - An
enum
to indicate whether an streaming or in-memory algorithm should be used.
Functions§
- build_
tsv_ writer - Build a new TSV writer
- build_
tsv_ writer_ with_ config - Build a new TSV writer with config, i.e. for manual headers, metadata etc.
- granges_
adjust - Adjusts genomic ranges in a BED file by a specified amount.
- granges_
filter - Filters genomic ranges based on overlaps with another set of ranges.
- granges_
flank - Generates flanking regions for genomic ranges in a BED file.
- granges_
map - Developer Notes
- granges_
random_ bed - Generate a random BED-like file with genomic ranges.
- granges_
windows - Generate a BED3 file of genomic windows.