Skip to content

Instantly share code, notes, and snippets.

View physicshinzui's full-sized avatar

shinji iida physicshinzui

View GitHub Profile
@physicshinzui
physicshinzui / colabfoldのインストール手順とsingularityを使った使用方法.md
Created April 6, 2024 00:10
colabfoldのインストール手順とsingularityを使った使用方法.md
@physicshinzui
physicshinzui / pepflow_err_cuda.md
Created March 19, 2024 00:58
pepflow_err_cuda.md
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [64,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [65,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [66,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [67,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [68,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [69,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
../aten/src/ATen/native/cuda/Indexing.cu:1141: indexSelectLargeIndex: block: [17,0,0], thread: [70,0,0] Asse
@physicshinzui
physicshinzui / 2次元heatmapのpython関数.md
Last active March 7, 2024 11:52
2次元heatmapのpython関数.md

#heatmap #matplotlib #ramachandran #dihedral

def draw_2DFEL(x, y, bins=40, levels=[0,8]):
    H, xedges, yedges = np.histogram2d(x, y, bins=bins)

 # Plot the contour lines
@physicshinzui
physicshinzui / metad_alphabeta.dat
Created January 6, 2024 11:46
plumed input for metad alphabeta cv
# Activate MOLINFO functionalities
MOLINFO STRUCTURE=ref.pdb
# -0.994838 = -57.0 deg (phi)
ALPHABETA ...
ATOMS1=@phi-2 REFERENCE=-0.994838
ATOMS2=@phi-3
ATOMS3=@phi-4
ATOMS4=@phi-5
ATOMS5=@phi-6
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@physicshinzui
physicshinzui / je.jl
Created September 1, 2023 11:44
jarzynskiEstimator
using Plots
using Statistics
function read_xvg(filename)
file = open(filename, "r")
xs, ys = [], []
for line in eachline(file)
if !startswith(line, "#") && !startswith(line, "@")
x, y = split(line)
push!(xs, x)
@physicshinzui
physicshinzui / perturb_bimodal_distrib_using_noise.ipynb
Created May 17, 2023 00:23
perturb_bimodal_distrib_using_noise.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@physicshinzui
physicshinzui / get_interacting_residues by PyMOL.md
Created February 7, 2023 02:32
get_interacting_residues by PyMOL.md

#pymol-script #pymol

from pymol import cmd

import sys

 
@physicshinzui
physicshinzui / generate_data_lammps.ipynb
Created November 8, 2022 07:55
generate_data_lammps.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@physicshinzui
physicshinzui / input_03.lammps
Created November 3, 2022 06:37
input_03 for lammps
# 1) Initialization
units lj
dimension 2
atom_style atomic
pair_style lj/cut 2.5
boundary p p p
# 2) System definition
read_data minimized_coordinate.data