본문 바로가기

전체 글197

how to blast to nr database 다운받은 시퀀스를 seq.fa 파일에 모두 모아 blastall의 blastx 하였음. $ blastall -i seq.fa -d /home/galaxy/blastdb/nr/nr -p blastx -a 16 -e 1e-10 -m 8 -o seq.fa.blastx 2> error.log & blast된 결과중에 1st만 뽑음 $ /share/scripts/1st_highest.sh seq.fa.blastx > seq.fa.blastx.1st 1st 결과에 description 붙임. $ /share/scripts/add_desc.sh -i seq.fa.blastx.1st -d ~/blastdb/nr/nr > seq.fa.blastx.1st.desc description붙은 결과에서 ADGAL, pGAD를 .. 2012. 4. 27.
How to make php code for sending html email inclued korean ref : http://php.net/manual/en/function.mail.php 1. Insert header data in email$headers = "From: kim@example.com\n" $headers .= "Reply-To: john@example.com"; $headers .= "MIME-Version: 1.0\n"; $headers .= 'Content-type: text/html; charset=UTF-8\n"; $headers .= 'Content-Transfer-Encoding: 8bit\n"; 2. convert email subject using base64_encode $subject = "=?utf-8?B?".base64_encode($subject)."?=\n";.. 2012. 4. 26.
/etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/share".#012 Assuming default behaviour ('no_subtree_check').#012 NOTE: this default has changed since nfs-utils version 1.0.x NIS Server Error Just add the option subtree_check to /etc/exports like this:/storage 172.16.20.1/24(rw,sync,no_root_squash,subtree_check) 2012. 4. 10.
usage bwa using paired-end reads make reference index/home/galaxy/galaxy-dist/bin/bwa index -p 454.bwa.index -a bwtsw assembly1/454AllContigs.fna paired-end alignment/home/galaxy/galaxy-dist/bin/bwa aln 454.bwa.index -I denovo/Gal_trim1.fastq > Gal_trim1.bwa.aln.sai/home/galaxy/galaxy-dist/bin/bwa aln 454.bwa.index -I denovo/Gal_trim2.fastq > Gal_trim2.bwa.aln.sai/home/galaxy/galaxy-dist/bin/bwa sampe 454.bwa.index Gal_trim1.bw.. 2012. 4. 5.
ssh에서 X window 가능하게 하기 우분투 기준으로 작성한다.$ sudo vim /etc/ssh/ssh_configForwardX11 yes이렇게 해주면 ssh로 접속할 때마다 매번 -X를 붙이지 않아도 된다. 2012. 4. 4.
Ubuntu 환경 설정 System-wide environment variablesEnvironment variable settings that affect the system as a whole (rather then just a particular user) should not be placed in any of the many system-level scripts that get executed when the system or the desktop session are loaded, but into/etc/environment - This file is specifically meant for system-wide environment variable settings. It is not a script file, but.. 2012. 3. 29.