pybedtools.bedtool.BedTool.print_sequence

BedTool.print_sequence() str[source]

Print the sequence that was retrieved by BedTool.sequence. See usage example in BedTool.sequence().

Returns:

str: The sequence as a string.

Raises:

ValueError: If the sequence has not been generated using .sequence(fasta).