본문 바로가기

전체 글

echo를 이용해 multiple line을 넣는 법 echo $'넣1\n넣2\n' >> 수정하고 싶은 파일 더보기
copy (cp)를 강제로 하는 방법 \cp -rf ./test ../data/test \를 넣게 되면 alias 기능이 무력화됨 더보기
Robust enumeration of cell subsets from tissue expression profiles Robust enumeration of cell subsets from tissue expression profiles We introduce CIBERSORT, a method for characterizing cell composition of complex tissues from their gene expression profiles. When applied to enumeration of hematopoietic subsets in RNA mixtures from fresh, frozen and fixed tissues, including solid tumors, CIBERSORT outperformed other methods with respect to noise, unknown mixture.. 더보기
영상관련 유용한 것들 pitivi (동영상 편집기) sudo apt-get install pitivihttps://askubuntu.com/questions/698050/pitivi-poor-video-quality simplescreenrecoder (화면 저장기) sudo apt-get install simplescreenrecorder 더보기
sublime text sublime txt는 linux에서 인기 있는 개발자 용 tool입니다. 설치 방법은 다음과 같습니다. sublime text2 sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-textsublime text3 sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer 더보기
논읽남 1. Proteogenomic integration reveals therapeutic targets in breast cancer xenografts 보호되어 있는 글입니다. 더보기
특정 문자열을 갖는 row만 뽑아내기/제거하기 (grep) grep -w '패턴' 파일 > 결과물-w : 글자 전체가 정확하게 일치하는 것만 뽑아냄.예를들어 DD를 넣으면 DD1X는 안뽑힘 -x : 전체 line이 일치해야 뽑아냄.-e : 패턴이 일치하면 뽑아냄. -w와 달리 일부만 일치하면 됨. grep -v '패턴' 파일 > 결과물-v : 해당 패턴을 제외한 것을 뽑아냄.Invert the sense of matching, to select non-matching lines. (-v is specified by POSIX.) 여러개의 패턴들로 row뽑아내기 grep -fw '패턴 파일' 파일 > 결과물Interpret the pattern as a list of fixed strings (instead of regular expressions), separa.. 더보기
sed와 awk 사용법 sed 파일에서 특정 문자열을 가진 line을 없애버리기 sed '/없애버릴 글자/d' 파일 > 결과물 만일 변수를 넣을 경우면 double quote를 사용해야함sed "/$variable/d" "$files" > 결과물 파일에서 특정 행 (specific line number)를 제거하고 싶을 때,sed -e '5,10d;12d' 파일 5번부터 10번까지와 12번을 제거할 때임. 파일에서 특정 행들을 추출하고 싶을 때, sed -n 5,10p;12p 파일 5번부터 10번까지와 12번을 뽑을 때임 파일의 특정 line(row)에 삽입하고 싶을 때,sed -i "15i 넣고싶은문자" Makefile.txt-i : overwrite하란 소림15 : 15번째 row(line) 파일 전체에서 특정 문자를 다른.. 더보기