- pybedtools.contrib.bigbed.bigbed(x, genome, output, blockSize=256, itemsPerSlot=512, bedtype=None, _as=None, unc=False, tab=False)¶
Converts a BedTool object to a bigBed format and returns the new filename.
xis a BedTool object
genomeis an assembly string
outputis the name of the bigBed file to create.
Other args are passed to bedToBigBed. In particular,
bedtype(which becomes the “-type=” argument) is automatically handled for you if it is kept as the default None.
Assumes that a recent version of bedToBigBed from UCSC is on the path.