Skip to content

Instantly share code, notes, and snippets.

View ajasja's full-sized avatar

Ajasja Ljubetič ajasja

View GitHub Profile
@staltz
staltz / introrx.md
Last active July 27, 2024 04:59
The introduction to Reactive Programming you've been missing
@JoaoRodrigues
JoaoRodrigues / bio_align.py
Last active January 6, 2023 22:10
Sequence-based structure alignment of protein structures with Biopython
#!/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
@JoaoRodrigues
JoaoRodrigues / diffseq.py
Created October 25, 2016 01:46
PyMOL script to highlight mutated residues between two proteins
"""
(c) 2016 Joao Rodrigues
"""
from __future__ import print_function
from pymol import cmd
# Autocomplete
def _autocomplete():
@mwufi
mwufi / install_docker_in_colab.sh
Last active July 19, 2024 22:21
Install Docker in Google Colab!
# 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