genomepy.genome.sequences.region_to_seq

genomepy.genome.sequences.region_to_seq(self, region, extend_up=0, extend_down=0)