mushi.utils.revcomp

revcomp(seq)[source]

Reverse complement of nucleotide sequence.

Parameters

seq (str) – nucleotide string (all caps ACGT)

Return type

str