filter_to_strand

filter_to_strand#

Output.filter_to_strand(strand)[source]#

Filters tracks by DNA strand.

Parameters:

strand (Literal['+', '-', '.']) – The strand to filter by (‘+’, ‘-’, or ‘.’).

Return type:

Output

Returns:

A new Output object with only the tracks on the specified strand.