You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Fold_CN.ipynb 21 kB

2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. {
  2. "nbformat": 4,
  3. "nbformat_minor": 0,
  4. "metadata": {
  5. "accelerator": "GPU",
  6. "colab": {
  7. "name": "AlphaFold2中文版蛋白质预测模型使用指南(基于Deepmind与Mindspore开源框架).ipynb",
  8. "provenance": [],
  9. "collapsed_sections": [],
  10. "include_colab_link": true
  11. },
  12. "kernelspec": {
  13. "display_name": "Python 3 (ipykernel)",
  14. "language": "python",
  15. "name": "python3"
  16. },
  17. "language_info": {
  18. "codemirror_mode": {
  19. "name": "ipython",
  20. "version": 3
  21. },
  22. "file_extension": ".py",
  23. "mimetype": "text/x-python",
  24. "name": "python",
  25. "nbconvert_exporter": "python",
  26. "pygments_lexer": "ipython3",
  27. "version": "3.8.10"
  28. }
  29. },
  30. "cells": [
  31. {
  32. "cell_type": "markdown",
  33. "metadata": {
  34. "id": "view-in-github",
  35. "colab_type": "text"
  36. },
  37. "source": [
  38. "<a href=\"https://colab.research.google.com/github/sokrypton/ColabFold/blob/main/AlphaFold2.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
  39. ]
  40. },
  41. {
  42. "cell_type": "markdown",
  43. "metadata": {
  44. "id": "G4yBrceuFbf3"
  45. },
  46. "source": [
  47. "<img src=\"https://raw.githubusercontent.com/sokrypton/ColabFold/main/.github/ColabFold_Marv_Logo_Small.png\" height=\"200\" align=\"right\" style=\"height:240px\">\n",
  48. "\n",
  49. "##AlphaFold2_CN: AlphaFold2 with MMseqs2\n",
  50. "\n",
  51. "简单的中文版蛋白质结构预测操作指南(中文版),基于[AlphaFold2](https://www.nature.com/articles/s41586-021-03819-2)和[Alphafold2-multimer](https://www.biorxiv.org/content/10.1101/2021.10.04.463034v1). 序列比对方式基于[MMseqs2](mmseqs.com)和[HHsearch](https://github.com/soedinglab/hh-suite)."
  52. ]
  53. },
  54. {
  55. "cell_type": "code",
  56. "metadata": {
  57. "id": "kOblAo-xetgx",
  58. "cellView": "form"
  59. },
  60. "source": [
  61. "#@title 输入蛋白质序列(默认为视频中的测试序列)\n",
  62. "from google.colab import files\n",
  63. "import os.path\n",
  64. "import re\n",
  65. "import hashlib\n",
  66. "import random\n",
  67. "\n",
  68. "def add_hash(x,y):\n",
  69. " return x+\"_\"+hashlib.sha1(y.encode()).hexdigest()[:5]\n",
  70. "\n",
  71. "query_sequence = 'MAAHKGAEHHHKAAEHHEQAAKHHHAAAEHHEKGEHEQAAHHADTAYAHHKHAEEHAAQAAKHDAEHHAPKPH' #@param {type:\"string\"}\n",
  72. "#@markdown - Use `:` to specify inter-protein chainbreaks for **modeling complexes** (supports homo- and hetro-oligomers). For example **PI...SK:PI...SK** for a homodimer\n",
  73. "\n",
  74. "# remove whitespaces\n",
  75. "query_sequence = \"\".join(query_sequence.split())\n",
  76. "\n",
  77. "jobname = 'test' #@param {type:\"string\"}\n",
  78. "# remove whitespaces\n",
  79. "basejobname = \"\".join(jobname.split())\n",
  80. "basejobname = re.sub(r'\\W+', '', basejobname)\n",
  81. "jobname = add_hash(basejobname, query_sequence)\n",
  82. "while os.path.isfile(f\"{jobname}.csv\"):\n",
  83. " jobname = add_hash(basejobname, ''.join(random.sample(query_sequence,len(query_sequence))))\n",
  84. "\n",
  85. "with open(f\"{jobname}.csv\", \"w\") as text_file:\n",
  86. " text_file.write(f\"id,sequence\\n{jobname},{query_sequence}\")\n",
  87. "\n",
  88. "queries_path=f\"{jobname}.csv\"\n",
  89. "\n",
  90. "# number of models to use\n",
  91. "use_amber = False #@param {type:\"boolean\"}\n",
  92. "template_mode = \"none\" #@param [\"none\", \"pdb70\",\"custom\"]\n",
  93. "#@markdown - \"none\" = no template information is used, \"pdb70\" = detect templates in pdb70, \"custom\" - upload and search own templates (PDB or mmCIF format, see [notes below](#custom_templates))\n",
  94. "\n",
  95. "if template_mode == \"pdb70\":\n",
  96. " use_templates = True\n",
  97. " custom_template_path = None\n",
  98. "elif template_mode == \"custom\":\n",
  99. " custom_template_path = f\"{jobname}_template\"\n",
  100. " os.mkdir(custom_template_path)\n",
  101. " uploaded = files.upload()\n",
  102. " use_templates = True\n",
  103. " for fn in uploaded.keys():\n",
  104. " os.rename(fn, f\"{jobname}_template/{fn}\")\n",
  105. "else:\n",
  106. " custom_template_path = None\n",
  107. " use_templates = False\n"
  108. ],
  109. "execution_count": null,
  110. "outputs": []
  111. },
  112. {
  113. "cell_type": "code",
  114. "source": [
  115. "#@markdown ### MSA选项(custom MSA upload, single sequence, pairing mode)\n",
  116. "msa_mode = \"MMseqs2 (UniRef+Environmental)\" #@param [\"MMseqs2 (UniRef+Environmental)\", \"MMseqs2 (UniRef only)\",\"single_sequence\",\"custom\"]\n",
  117. "pair_mode = \"unpaired+paired\" #@param [\"unpaired+paired\",\"paired\",\"unpaired\"] {type:\"string\"}\n",
  118. "#@markdown - \"unpaired+paired\" = pair sequences from same species + unpaired MSA, \"unpaired\" = separate MSA for each chain, \"paired\" - only use paired sequences.\n",
  119. "\n",
  120. "# decide which a3m to use\n",
  121. "if msa_mode.startswith(\"MMseqs2\"):\n",
  122. " a3m_file = f\"{jobname}.a3m\"\n",
  123. "elif msa_mode == \"custom\":\n",
  124. " a3m_file = f\"{jobname}.custom.a3m\"\n",
  125. " if not os.path.isfile(a3m_file):\n",
  126. " custom_msa_dict = files.upload()\n",
  127. " custom_msa = list(custom_msa_dict.keys())[0]\n",
  128. " header = 0\n",
  129. " import fileinput\n",
  130. " for line in fileinput.FileInput(custom_msa,inplace=1):\n",
  131. " if line.startswith(\">\"):\n",
  132. " header = header + 1\n",
  133. " if not line.rstrip():\n",
  134. " continue\n",
  135. " if line.startswith(\">\") == False and header == 1:\n",
  136. " query_sequence = line.rstrip()\n",
  137. " print(line, end='')\n",
  138. "\n",
  139. " os.rename(custom_msa, a3m_file)\n",
  140. " queries_path=a3m_file\n",
  141. " print(f\"moving {custom_msa} to {a3m_file}\")\n",
  142. "else:\n",
  143. " a3m_file = f\"{jobname}.single_sequence.a3m\"\n",
  144. " with open(a3m_file, \"w\") as text_file:\n",
  145. " text_file.write(\">1\\n%s\" % query_sequence)"
  146. ],
  147. "metadata": {
  148. "cellView": "form",
  149. "id": "C2_sh2uAonJH"
  150. },
  151. "execution_count": null,
  152. "outputs": []
  153. },
  154. {
  155. "cell_type": "code",
  156. "source": [
  157. "#@markdown ### 参数设置\n",
  158. "model_type = \"auto\" #@param [\"auto\", \"AlphaFold2-ptm\", \"AlphaFold2-multimer-v1\", \"AlphaFold2-multimer-v2\"]\n",
  159. "#@markdown - \"auto\" = protein structure prediction using \"AlphaFold2-ptm\" and complex prediction \"AlphaFold-multimer-v2\". For complexes \"AlphaFold-multimer-v[1,2]\" and \"AlphaFold-ptm\" can be used.\n",
  160. "num_recycles = 3 #@param [1,3,6,12,24,48] {type:\"raw\"}\n",
  161. "save_to_google_drive = False #@param {type:\"boolean\"}\n",
  162. "\n",
  163. "#@markdown - if the save_to_google_drive option was selected, the result zip will be uploaded to your Google Drive\n",
  164. "dpi = 200 #@param {type:\"integer\"}\n",
  165. "#@markdown - set dpi for image resolution\n",
  166. "\n",
  167. "#@markdown Don't forget to hit `Runtime` -> `Run all` after updating the form.\n",
  168. "\n",
  169. "\n",
  170. "if save_to_google_drive:\n",
  171. " from pydrive.drive import GoogleDrive\n",
  172. " from pydrive.auth import GoogleAuth\n",
  173. " from google.colab import auth\n",
  174. " from oauth2client.client import GoogleCredentials\n",
  175. " auth.authenticate_user()\n",
  176. " gauth = GoogleAuth()\n",
  177. " gauth.credentials = GoogleCredentials.get_application_default()\n",
  178. " drive = GoogleDrive(gauth)\n",
  179. " print(\"You are logged into Google Drive and are good to go!\")"
  180. ],
  181. "metadata": {
  182. "cellView": "form",
  183. "id": "ADDuaolKmjGW"
  184. },
  185. "execution_count": null,
  186. "outputs": []
  187. },
  188. {
  189. "cell_type": "code",
  190. "metadata": {
  191. "id": "iccGdbe_Pmt9",
  192. "pycharm": {
  193. "name": "#%%\n"
  194. },
  195. "cellView": "form"
  196. },
  197. "source": [
  198. "#@title 环境安装\n",
  199. "%%bash -s $use_amber $use_templates\n",
  200. "\n",
  201. "set -e\n",
  202. "\n",
  203. "USE_AMBER=$1\n",
  204. "USE_TEMPLATES=$2\n",
  205. "\n",
  206. "if [ ! -f COLABFOLD_READY ]; then\n",
  207. " # install dependencies\n",
  208. " # We have to use \"--no-warn-conflicts\" because colab already has a lot preinstalled with requirements different to ours\n",
  209. " pip install -q --no-warn-conflicts \"colabfold[alphafold-minus-jax] @ git+https://github.com/sokrypton/ColabFold\"\n",
  210. " # high risk high gain\n",
  211. " pip install -q \"jax[cuda11_cudnn805]>=0.3.8,<0.4\" -f https://storage.googleapis.com/jax-releases/jax_releases.html\n",
  212. " touch COLABFOLD_READY\n",
  213. "fi\n",
  214. "\n",
  215. "# setup conda\n",
  216. "if [ ${USE_AMBER} == \"True\" ] || [ ${USE_TEMPLATES} == \"True\" ]; then\n",
  217. " if [ ! -f CONDA_READY ]; then\n",
  218. " wget -qnc https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",
  219. " bash Miniconda3-latest-Linux-x86_64.sh -bfp /usr/local 2>&1 1>/dev/null\n",
  220. " rm Miniconda3-latest-Linux-x86_64.sh\n",
  221. " touch CONDA_READY\n",
  222. " fi\n",
  223. "fi\n",
  224. "# setup template search\n",
  225. "if [ ${USE_TEMPLATES} == \"True\" ] && [ ! -f HH_READY ]; then\n",
  226. " conda install -y -q -c conda-forge -c bioconda kalign2=2.04 hhsuite=3.3.0 python=3.7 2>&1 1>/dev/null\n",
  227. " touch HH_READY\n",
  228. "fi\n",
  229. "# setup openmm for amber refinement\n",
  230. "if [ ${USE_AMBER} == \"True\" ] && [ ! -f AMBER_READY ]; then\n",
  231. " conda install -y -q -c conda-forge openmm=7.5.1 python=3.7 pdbfixer 2>&1 1>/dev/null\n",
  232. " touch AMBER_READY\n",
  233. "fi"
  234. ],
  235. "execution_count": null,
  236. "outputs": []
  237. },
  238. {
  239. "cell_type": "code",
  240. "metadata": {
  241. "id": "_sztQyz29DIC",
  242. "cellView": "form"
  243. },
  244. "source": [
  245. "#@title 模型预测\n",
  246. "\n",
  247. "import sys\n",
  248. "\n",
  249. "from colabfold.download import download_alphafold_params, default_data_dir\n",
  250. "from colabfold.utils import setup_logging\n",
  251. "from colabfold.batch import get_queries, run, set_model_type\n",
  252. "K80_chk = !nvidia-smi | grep \"Tesla K80\" | wc -l\n",
  253. "if \"1\" in K80_chk:\n",
  254. " print(\"WARNING: found GPU Tesla K80: limited to total length < 1000\")\n",
  255. " if \"TF_FORCE_UNIFIED_MEMORY\" in os.environ:\n",
  256. " del os.environ[\"TF_FORCE_UNIFIED_MEMORY\"]\n",
  257. " if \"XLA_PYTHON_CLIENT_MEM_FRACTION\" in os.environ:\n",
  258. " del os.environ[\"XLA_PYTHON_CLIENT_MEM_FRACTION\"]\n",
  259. "\n",
  260. "from colabfold.colabfold import plot_protein\n",
  261. "from pathlib import Path\n",
  262. "import matplotlib.pyplot as plt\n",
  263. "\n",
  264. "\n",
  265. "# For some reason we need that to get pdbfixer to import\n",
  266. "if use_amber and '/usr/local/lib/python3.7/site-packages/' not in sys.path:\n",
  267. " sys.path.insert(0, '/usr/local/lib/python3.7/site-packages/')\n",
  268. "\n",
  269. "def prediction_callback(unrelaxed_protein, length, prediction_result, input_features, type):\n",
  270. " fig = plot_protein(unrelaxed_protein, Ls=length, dpi=150)\n",
  271. " plt.show()\n",
  272. " plt.close()\n",
  273. "\n",
  274. "result_dir=\".\"\n",
  275. "setup_logging(Path(\".\").joinpath(\"log.txt\"))\n",
  276. "queries, is_complex = get_queries(queries_path)\n",
  277. "model_type = set_model_type(is_complex, model_type)\n",
  278. "download_alphafold_params(model_type, Path(\".\"))\n",
  279. "run(\n",
  280. " queries=queries,\n",
  281. " result_dir=result_dir,\n",
  282. " use_templates=use_templates,\n",
  283. " custom_template_path=custom_template_path,\n",
  284. " use_amber=use_amber,\n",
  285. " msa_mode=msa_mode, \n",
  286. " model_type=model_type,\n",
  287. " num_models=5,\n",
  288. " num_recycles=num_recycles,\n",
  289. " model_order=[1, 2, 3, 4, 5],\n",
  290. " is_complex=is_complex,\n",
  291. " data_dir=Path(\".\"),\n",
  292. " keep_existing_results=False,\n",
  293. " recompile_padding=1.0,\n",
  294. " rank_by=\"auto\",\n",
  295. " pair_mode=pair_mode,\n",
  296. " stop_at_score=float(100),\n",
  297. " prediction_callback=prediction_callback,\n",
  298. " dpi=dpi\n",
  299. ")"
  300. ],
  301. "execution_count": null,
  302. "outputs": []
  303. },
  304. {
  305. "cell_type": "code",
  306. "metadata": {
  307. "id": "KK7X9T44pWb7",
  308. "cellView": "form"
  309. },
  310. "source": [
  311. "#@title 展示3维结构 {run: \"auto\"}\n",
  312. "import py3Dmol\n",
  313. "import glob\n",
  314. "import matplotlib.pyplot as plt\n",
  315. "from colabfold.colabfold import plot_plddt_legend\n",
  316. "rank_num = 1 #@param [\"1\", \"2\", \"3\", \"4\", \"5\"] {type:\"raw\"}\n",
  317. "color = \"lDDT\" #@param [\"chain\", \"lDDT\", \"rainbow\"]\n",
  318. "show_sidechains = False #@param {type:\"boolean\"}\n",
  319. "show_mainchains = False #@param {type:\"boolean\"}\n",
  320. "\n",
  321. "jobname_prefix = \".custom\" if msa_mode == \"custom\" else \"\"\n",
  322. "if use_amber:\n",
  323. " pdb_filename = f\"{jobname}{jobname_prefix}_relaxed_rank_{rank_num}_model_*.pdb\"\n",
  324. "else:\n",
  325. " pdb_filename = f\"{jobname}{jobname_prefix}_unrelaxed_rank_{rank_num}_model_*.pdb\"\n",
  326. "\n",
  327. "pdb_file = glob.glob(pdb_filename)\n",
  328. "\n",
  329. "def show_pdb(rank_num=1, show_sidechains=False, show_mainchains=False, color=\"lDDT\"):\n",
  330. " model_name = f\"rank_{rank_num}\"\n",
  331. " view = py3Dmol.view(js='https://3dmol.org/build/3Dmol.js',)\n",
  332. " view.addModel(open(pdb_file[0],'r').read(),'pdb')\n",
  333. "\n",
  334. " if color == \"lDDT\":\n",
  335. " view.setStyle({'cartoon': {'colorscheme': {'prop':'b','gradient': 'roygb','min':50,'max':90}}})\n",
  336. " elif color == \"rainbow\":\n",
  337. " view.setStyle({'cartoon': {'color':'spectrum'}})\n",
  338. " elif color == \"chain\":\n",
  339. " chains = len(queries[0][1]) + 1 if is_complex else 1\n",
  340. " for n,chain,color in zip(range(chains),list(\"ABCDEFGH\"),\n",
  341. " [\"lime\",\"cyan\",\"magenta\",\"yellow\",\"salmon\",\"white\",\"blue\",\"orange\"]):\n",
  342. " view.setStyle({'chain':chain},{'cartoon': {'color':color}})\n",
  343. " if show_sidechains:\n",
  344. " BB = ['C','O','N']\n",
  345. " view.addStyle({'and':[{'resn':[\"GLY\",\"PRO\"],'invert':True},{'atom':BB,'invert':True}]},\n",
  346. " {'stick':{'colorscheme':f\"WhiteCarbon\",'radius':0.3}})\n",
  347. " view.addStyle({'and':[{'resn':\"GLY\"},{'atom':'CA'}]},\n",
  348. " {'sphere':{'colorscheme':f\"WhiteCarbon\",'radius':0.3}})\n",
  349. " view.addStyle({'and':[{'resn':\"PRO\"},{'atom':['C','O'],'invert':True}]},\n",
  350. " {'stick':{'colorscheme':f\"WhiteCarbon\",'radius':0.3}}) \n",
  351. " if show_mainchains:\n",
  352. " BB = ['C','O','N','CA']\n",
  353. " view.addStyle({'atom':BB},{'stick':{'colorscheme':f\"WhiteCarbon\",'radius':0.3}})\n",
  354. "\n",
  355. " view.zoomTo()\n",
  356. " return view\n",
  357. "\n",
  358. "\n",
  359. "show_pdb(rank_num,show_sidechains, show_mainchains, color).show()\n",
  360. "if color == \"lDDT\":\n",
  361. " plot_plddt_legend().show() "
  362. ],
  363. "execution_count": null,
  364. "outputs": []
  365. },
  366. {
  367. "cell_type": "code",
  368. "metadata": {
  369. "id": "11l8k--10q0C",
  370. "cellView": "form"
  371. },
  372. "source": [
  373. "#@title 图表展示 {run: \"auto\"}\n",
  374. "from IPython.display import display, HTML\n",
  375. "import base64\n",
  376. "from html import escape\n",
  377. "\n",
  378. "# see: https://stackoverflow.com/a/53688522\n",
  379. "def image_to_data_url(filename):\n",
  380. " ext = filename.split('.')[-1]\n",
  381. " prefix = f'data:image/{ext};base64,'\n",
  382. " with open(filename, 'rb') as f:\n",
  383. " img = f.read()\n",
  384. " return prefix + base64.b64encode(img).decode('utf-8')\n",
  385. "\n",
  386. "pae = image_to_data_url(f\"{jobname}{jobname_prefix}_PAE.png\")\n",
  387. "cov = image_to_data_url(f\"{jobname}{jobname_prefix}_coverage.png\")\n",
  388. "plddt = image_to_data_url(f\"{jobname}{jobname_prefix}_plddt.png\")\n",
  389. "display(HTML(f\"\"\"\n",
  390. "<style>\n",
  391. " img {{\n",
  392. " float:left;\n",
  393. " }}\n",
  394. " .full {{\n",
  395. " max-width:100%;\n",
  396. " }}\n",
  397. " .half {{\n",
  398. " max-width:50%;\n",
  399. " }}\n",
  400. " @media (max-width:640px) {{\n",
  401. " .half {{\n",
  402. " max-width:100%;\n",
  403. " }}\n",
  404. " }}\n",
  405. "</style>\n",
  406. "<div style=\"max-width:90%; padding:2em;\">\n",
  407. " <h1>Plots for {escape(jobname)}</h1>\n",
  408. " <img src=\"{pae}\" class=\"full\" />\n",
  409. " <img src=\"{cov}\" class=\"half\" />\n",
  410. " <img src=\"{plddt}\" class=\"half\" />\n",
  411. "</div>\n",
  412. "\"\"\"))\n"
  413. ],
  414. "execution_count": null,
  415. "outputs": []
  416. },
  417. {
  418. "cell_type": "code",
  419. "metadata": {
  420. "id": "33g5IIegij5R",
  421. "cellView": "form"
  422. },
  423. "source": [
  424. "#@title结果下载\n",
  425. "#@markdown If you are having issues downloading the result archive, try disabling your adblocker and run this cell again. If that fails click on the little folder icon to the left, navigate to file: `jobname.result.zip`, right-click and select \\\"Download\\\" (see [screenshot](https://pbs.twimg.com/media/E6wRW2lWUAEOuoe?format=jpg&name=small)).\n",
  426. "\n",
  427. "if msa_mode == \"custom\":\n",
  428. " print(\"Don't forget to cite your custom MSA generation method.\")\n",
  429. "\n",
  430. "!zip -FSr $jobname\".result.zip\" config.json $jobname*\".json\" $jobname*\".a3m\" $jobname*\"relaxed_rank_\"*\".pdb\" \"cite.bibtex\" $jobname*\".png\"\n",
  431. "files.download(f\"{jobname}.result.zip\")\n",
  432. "\n",
  433. "if save_to_google_drive == True and drive:\n",
  434. " uploaded = drive.CreateFile({'title': f\"{jobname}.result.zip\"})\n",
  435. " uploaded.SetContentFile(f\"{jobname}.result.zip\")\n",
  436. " uploaded.Upload()\n",
  437. " print(f\"Uploaded {jobname}.result.zip to Google Drive with ID {uploaded.get('id')}\")"
  438. ],
  439. "execution_count": null,
  440. "outputs": []
  441. },
  442. {
  443. "cell_type": "markdown",
  444. "metadata": {
  445. "id": "UGUBLzB3C6WN",
  446. "pycharm": {
  447. "name": "#%% md\n"
  448. }
  449. },
  450. "source": [
  451. "# 操作指南 <a name=\"Instructions\"></a>\n",
  452. "**Quick start**\n",
  453. "1. 把你要预测的氨基酸序列复制进输入框.\n",
  454. "2. 点击\"Runtime\" -> \"Run all\".\n",
  455. "3. 目前的模型预测包括5个模块,最终生成一个3维结构图.\n",
  456. "\n",
  457. "**生成文件**\n",
  458. "\n",
  459. "1. PDB格式的模型结构文件.\n",
  460. "2. 模型质量图\n",
  461. "3. 模型MSA覆盖率.\n",
  462. "4. 其他.\n",
  463. "\n",
  464. "**Acknowledgments**\n",
  465. "- We thank the AlphaFold team for developing an excellent model and open sourcing the software. \n",
  466. "\n",
  467. "- [Söding Lab](https://www.mpibpc.mpg.de/soeding) for providing the computational resources for the MMseqs2 server\n",
  468. "\n",
  469. "- Richard Evans for helping to benchmark the ColabFold's Alphafold-multimer support\n",
  470. "\n",
  471. "- [David Koes](https://github.com/dkoes) for his awesome [py3Dmol](https://3dmol.csb.pitt.edu/) plugin, without whom these notebooks would be quite boring!\n",
  472. "\n",
  473. "- Do-Yoon Kim for creating the ColabFold logo.\n",
  474. "\n",
  475. "- A colab by Sergey Ovchinnikov ([@sokrypton](https://twitter.com/sokrypton)), Milot Mirdita ([@milot_mirdita](https://twitter.com/milot_mirdita)) and Martin Steinegger ([@thesteinegger](https://twitter.com/thesteinegger)).\n"
  476. ]
  477. }
  478. ]
  479. }