Collections:
Play with the Bio.Seq Module
How to import the Bio.Seq module and use its functions?
✍: FYIcenter.com
Here are some examples on how to import the Bio.Seq module and use its functions.
1. Import the Bio.Seq module and create a Bio.Seq object.
fyicenter$ python
>>> from Bio.Seq import Seq
>>> my_seq = Seq("AGTACACTGGT")
>>> my_seq
Seq('AGTACACTGGT')
>>> print(my_seq)
AGTACACTGGT
2. Try complement() and reverse_complement() functions on the Bio.Seq object.
>>> my_seq.complement()
Seq('TCATGTGACCA')
>>> my_seq.reverse_complement()
Seq('ACCAGTGTACT')
⇒ Double Stranded DNA, mRNA and Transcription
2023-02-04, 997🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1005841 Names: InChIKey: AWSMTWQWINXMNQ-UHFFFAOYS A-NSMILES: Cc1cc(Cl)cc(C...
Molecule Summary: ID: FYI-1004278 Names: InChIKey: VARPJFIDKZRYGM-UHFFFAOYS A-NSMILES: NCc3nc2ccc(C(...
Molecule Summary: ID: FYI-1001800 SMILES: [H].C.O.CC(C)N1CCN(CC(O) =O)CCN(CC(O)=O)CCN(CC(O) =O)CC1Rec...
How to convert Convert SDF to SVG (Scalable Vector Graphics) using Open Babel? I want to see the mol...
Molecule Summary: ID: FYI-1001896 SMILES: O=C(O)C(OC(=O)C(NC(=O)C( NC(=O)C(NC(=O)C(NC(=O)CN C(=O)C(NC(...