Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Finding Open Reading Frames

onouyek
March 18, 2022

Finding Open Reading Frames

onouyek

March 18, 2022
Tweet

More Decks by onouyek

Other Decks in Programming

Transcript

  1. 環境構築 - 必要パッケージ群のインストール # 公開されているレポジトリからファイル群を取得 $ git clone https://github.com/kyclark/biofx_python $

    cd biofx_python # requirements.txtに記載のパッケージをインストール $ pip3 install -r requirements.txt # pylintの設定ファイルをホームディレクトリに移動 $ cp pylintrc ~/.pylintrc # mypyの設定ファイルをホームディレクトリに移動 $ cp mypy.ini ~/.mypy.ini
  2. 第3回:Bio.Seq.reverse_complementによる相補鎖の取得 $ python3 -m pip install biopython biopythonパッケージのインストール >>> from

    Bio import Seq Seqクラスをimport >>> Seq.reverse_complement('AAAACCCGG') 'CCGGGTTTT' Seq.reverse_complementメソッドを使用して変換
  3. 第7回:Bio.Seq.translateによるRNA→Proteinへの変換 $ python3 -m pip install biopython biopythonパッケージのインストール >>> from

    Bio import Seq Seqクラスをimport >>> Seq.translate('AAAACCCGG') 'KTR' Seq.translateメソッドを使用して変換
  4. リーディングフレーム shift 0 shift 1 shift 2 0 1 2

    3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 3で割ったときの余り部分を取り除けばWarningは解消される >>> Seq.translate('AAAACCCGGU') BiopythonWarning: Partial codon, len(sequence) not a multiple of three. Explicitly trim the sequen ce or add trailing N before translation. This may become an error in future. Biopythonでは3の倍数でない長さの配列を翻訳しようとするとWarningがでる https://en.wikipedia.org/wiki/File:Reading_Frame.png 核酸分子内のヌクレオチド配列を重なり合わない連続したトリプレットに分割する方法