Use this utility to convert BED intervals between genome coordinate systems using liftOver. Only the chr/start/end fields of the input BED are used (strand is ignored). The output GRanges will have no associated seqinfo.
Arguments
- bed
Pathname of a BED file, or a GRanges (typically loaded from a BED file with
rtracklayer::import.bed()
).- chain
A UCSC-style chain file, or a Chain object (such as from
rtracklayer::import.chain()
).- outfile
If not NULL, the returned GRanges will be saved to the specified path using
rtracklayer::export.chain()
.