Setup a virtualenv in the /work filesystem to manage installed packages. You will install development dependencies into this environment, including updated versions of packages we've pre-installed onto the dig machine images.
mkdir ~/virtualenvs
word_sub = { | |
"cybernetic" : "cyber", | |
"lived" : "living", | |
"relations" : "relation", | |
"changing" : "change", | |
"changes" : "change", | |
"womens" : "women", | |
"women's" : "women", | |
"movements" : "movement", | |
"discovered" : "discover", |
require 'formula' | |
class BoostNumpy < Formula | |
homepage 'https://github.com/ndarray/' | |
url '[email protected]:asford/Boost.NumPy.git', :using => :git, :branch => 'master' | |
version "0.0.1" | |
depends_on 'scons' => :build | |
depends_on 'boost' => 'with-python' |
// Property based selections | |
{ | |
function SelectionPredicate(selectionname) | |
{ | |
this.selectionname = selectionname; | |
} | |
function ClassPredicate(classname) |
import interface_fragment_matching.structure_database | |
db = interface_fragment_matching.structure_database.StructureDatabase("/work/fordas/test_sets/vall_store.h5") | |
id_list = db.structures.read() | |
for i in id_list["id"][:10]: | |
id_residues = db.residues.read_where("id == i") | |
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:aa80de3b5274221258ac3d45888e886c7895584b0774b2d985661159674e9f99" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
Setup a virtualenv in the /work filesystem to manage installed packages. You will install development dependencies into this environment, including updated versions of packages we've pre-installed onto the dig machine images.
mkdir ~/virtualenvs