File: three_to_one_dict.py

package info (click to toggle)
python-biopython 1.64%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 44,416 kB
  • ctags: 12,472
  • sloc: python: 153,759; xml: 67,286; ansic: 9,003; sql: 1,488; makefile: 144; sh: 59
file content (12 lines) | stat: -rw-r--r-- 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# soon-to-be deprecated. Use Bio.Data.SCOPData instead!

import warnings

from Bio.Data.SCOPData import protein_letters_3to1 as to_one_letter_code
from Bio import BiopythonDeprecationWarning


warnings.warn("The Bio.SCOP.three_to_one_dict has been moved to "
        "Bio.Data.SCOPData and renamed to protein_letters_3to1. "
        "Bio.SCOP.three_to_one_dict will be deprecated and removed in "
        "future versions of Biopython.", BiopythonDeprecationWarning)