$ sudo apt install python3-pip $ pip3 install biopython $ python3 Python 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. > import Bio > print(Bio.__version__) 1.74 > from Bio.Seq import Seq > my_seq = Seq("AGTACACTGGT") > my_seq Seq('AGTACACTGGT') > my_seq.complement() Seq('TCATGTGACCA') > my_seq.reverse_complement() Seq('ACCAGTGTACT')