This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#python prjnishi.py \ | |
# --i-trj coord.dat \ | |
# --i-ave aveq.dat \ | |
# --i-egv e1.dat \ | |
# --o-pcc c1.dat | |
for i in {1..3} | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prjnishi.py v 1.0 | |
# projection into PC space with a PCA eigenvector and average. | |
import sys | |
import numpy as np | |
from optparse import OptionParser | |
############ argument ############## | |
parser = OptionParser | |
def get_options(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2.7 -i | |
import sys, os | |
### autocompletion | |
import readline | |
import rlcompleter | |
readline.parse_and_bind('tab: complete') | |
### pymol environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
comm=ls #コマンド | |
echo "ARGUMENTS:" $@ #"$@"には引数全部のリストみたいなのが入っている | |
echo "NUM OF ARGUMENTS:" $# #"$#"には引数の数が入っている | |
###引数がない場合に終了する処理 | |
if [ 0 == $# ];then #もし引数の数が0なら終了 | |
echo "No argument, exit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set terminal png | |
#set terminal pngcairo font "Arial,12" | |
set terminal pngcairo font "Times-Roman,12" | |
set xrange[0:1500] | |
#set yrange[0:5] | |
set xlabel "Time (ps)" | |
set ylabel "RMSD (\305)" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-15.000 -15.000 5 | |
-14.600 -15.000 5 | |
-14.200 -15.000 5 | |
-13.800 -15.000 5 | |
-13.400 -15.000 5 | |
-13.000 -15.000 5 | |
-12.600 -15.000 5 | |
-12.200 -15.000 5 | |
-11.800 -15.000 5 | |
-11.400 -15.000 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PS1="[\u@hn \W]\\$ " | |
#scripting log. to see, less -r (-R) | |
script -af /home/hnishi/LogArchive/$(date +%Y%m%d_%H:%M:%S)_$(whoami).log | |
test -r ~/.bashrc && . ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#sudo sshfs hnishi@mm00:/work1/hnishi /mnt/mm00 | |
sudo sshfs -o allow_other -o kernel_cache -o auto_cache -o reconnect \ | |
-o compression=no -o cache_timeout=600 -o ServerAliveInterval=15 \ | |
hnishi@192.168.39.81:/work01/hnishi /mnt/n01 | |
ln -s /mnt/n01 . | |
#sudo umount /mnt/mm00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
USAGE: ./09cent 03_V2.log str2 str3 | |
str2: RESIDUE NUMBER ( "105" "114" etc ) | |
str3: COEFFICIENT OF SIGMA ( "2" "0" etc ) | |
Especially "0" is selected as a coefficient, then all data of group are putout | |
INPUT: ./pdbtmp/... | |
OUTPUT: ./result/... | |
*/ | |
#include<stdio.h> | |
#include<string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" vimrc of hnishi | |
set paste | |
syntax on | |
colorscheme default | |
" start at the line you ended last time | |
autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal g`\"" | endif | |