(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/env python | |
| """Sequence-based structural alignment of two proteins.""" | |
| import argparse | |
| import pathlib | |
| from Bio.PDB import FastMMCIFParser, MMCIFIO, PDBParser, PDBIO, Superimposer | |
| from Bio.PDB.Polypeptide import is_aa |
| """ | |
| (c) 2016 Joao Rodrigues | |
| """ | |
| from __future__ import print_function | |
| from pymol import cmd | |
| # Autocomplete | |
| def _autocomplete(): |
| # First let's update all the packages to the latest ones with the following command | |
| sudo apt update -qq | |
| # Now we want to install some prerequisite packages which will let us use HTTPS over apt | |
| sudo apt install apt-transport-https ca-certificates curl software-properties-common -qq | |
| # After that we will add the GPG key for the official Docker repository to the system | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| # We will add the Docker repository to our APT sources |