Skip to content

Instantly share code, notes, and snippets.

View dominiquesydow's full-sized avatar

Dominique Sydow dominiquesydow

View GitHub Profile
@dominiquesydow
dominiquesydow / search_my_gist.md
Last active April 15, 2019 09:59
How to search my gists

How to search my gists

Search my gist by tags via:

user:myusername #tag

For example:

user:dominiquesydow #gist
@dominiquesydow
dominiquesydow / bash_cheatsheet.md
Last active May 3, 2019 12:39
Bash cheat sheet

Useful bash commands

My notes.

File/path/directory naming conventions

path=/home/dom/test.txt
dirname=/home/dom/
filename=test.txt
@dominiquesydow
dominiquesydow / extract_lig_from_pdb.ipynb
Created April 16, 2019 16:33
Extract ligand from PDB file
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dominiquesydow
dominiquesydow / jupyter_nbconvert_execute.sh
Created April 30, 2019 13:57
Run jupyter notebooks from the command line
# Run Jupyter notebooks via the console
# Here: TeachOpenCADD talktorials on https://github.com/volkamerlab/TeachOpenCADD
# Change to TeachOpenCADD directory
#cd /path/to/TeachOpenCADD
# Activate TeachOpenCADD conda environment
#conda activate teachopencadd
# Install kernelspec teachopencadd
@dominiquesydow
dominiquesydow / NGLviewer_add_labels.ipynb
Last active October 28, 2019 12:16
NGLviewer: Attempt to add text labels to selection
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dominiquesydow
dominiquesydow / mol2_pdb_tests.ipynb
Created December 17, 2019 08:17
Convert mol2 to pdb files
This file has been truncated, but you can view the full file.
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Mol2 to PDB conversion"
]
},
{
@dominiquesydow
dominiquesydow / jupyterlab_extensions.sh
Last active February 17, 2020 10:31
Jupyter Lab extentions list
# Jeremy Tuloup - A tour of JupyterLab extensions
# https://mybinder.org/v2/gh/jtpio/a-tour-of-jupyterlab-extensions/master?urlpath=lab%2Ftree%2Fpresentation.ipynb
# 1. jupyterlab-git
# https://github.com/jupyterlab/jupyterlab-git
jupyter labextension install @jupyterlab/git
# 2. nbdime
# https://github.com/jupyter/nbdime
pip install nbdime
@dominiquesydow
dominiquesydow / chembl_activity.ipynb
Last active February 6, 2020 09:39
Transform activity ChEMBL query results to DataFrame - first element twice?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dominiquesydow
dominiquesydow / rdkit_combine_multiple_molecules.ipynb
Created March 19, 2020 11:00
Combine multiple molecules in RDKit
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.