Bioinfomatics
Biopython 으로 역상보서열 구하기
탱젤
2021. 1. 19. 17:33
Biopython 설치 후 reverse complement 서열 구하기
- Biopython 설치
pip install biopython
- 설치 확인 및 reverse_complement 코드 실행
import Bio # 설치확인
from Bio.Seq import Seq
my_seq = Seq('TGGTGAAACCCCA').reverse_complement()
print(my_seq)
print(type(my_seq))
결과 sequence의 타입 확인 결과
참고: biopython.org/wiki/Getting_Started
· Biopython
OB— title: Getting Started permalink: wiki/Getting_Started layout: wiki — Download and Installation For Windows we provide click-and-run installers. Most Linux distributions will include an optional Biopython package (although this may be out of date).
biopython.org
728x90