Skip to content

Instantly share code, notes, and snippets.

@jbarnoud
jbarnoud / mdandx.py
Created December 5, 2019 10:09
Read NDX files for MDAnalysis
"""
Read Gromacs index files for MDAnalysis.
"""
import numpy as np
def ndx_to_ag(atoms_or_universe, infile):
"""
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.
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.
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.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jbarnoud
jbarnoud / issue-RepairGraph-PR2.ipynb
Created April 11, 2018 11:32
Demonstration of a RepairGraph issue
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jbarnoud
jbarnoud / Bench split per molecule.ipynb
Created August 3, 2017 12:28
Benchmark on spliting a TPR universe per molecule using molnums
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.