pybedtools.bedtool.BedTool.liftover¶
- BedTool.liftover(chainfile: str, unmapped: str | None = None, liftover_args: str = '') BedTool[source]¶
Returns a new BedTool of the liftedOver features, saving the unmapped ones as
unmapped. Ifunmappedis None, then discards the unmapped features.liftover_argsis a string of additional args that is passed, verbatim, to liftOver.Needs
liftOverfrom UCSC to be on the path and achainfiledownloaded from UCSC.