Return just the sequence from a region string or a single location >>> fn = pybedtools.example_filename(‘test.fa’) >>> BedTool.seq(‘chr1:2-10’, fn) ‘GATGAGTCT’ >>> BedTool.seq((‘chr1’, 1, 10), fn) ‘GATGAGTCT’
pybedtools
BedTool
BEDTools
pybedtools.contrib