Created
April 20, 2014 12:14
-
-
Save t-oginogin/11112728 to your computer and use it in GitHub Desktop.
ゲノム解析用ソフトVICUNAをコンパイルする ref: http://qiita.com/t_oginogin/items/79f6af5bee9ba86b622c
This file contains hidden or 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
| OS:Ubuntu 12.04 LTS 64bit |
This file contains hidden or 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
| VirtualBox-4.3.10 | |
| vagrant_1.5.3 |
This file contains hidden or 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
| MYPATH=/usr/local/opt/ncbi_cxx/ | |
| COMPILER=/usr/bin/g++ |
This file contains hidden or 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
| $ make | |
| $ cd .. |
This file contains hidden or 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
| ~/research/VICUNA_v1.3/bin/vicuna-omp-v1.0 |
This file contains hidden or 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
| $ vi config/vicuna_config.txt |
This file contains hidden or 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
| pFqDir /path_to_your_fastq_files_dir/ | |
| //npFqDir /path_to_your_fastq_files_dir/ | |
| //pFaDir /path_to_your_fasta_files_dir/ | |
| //npFaDir /path_to_your_fasta_files_dir/ | |
| outputDIR /path_to_your_output_dir/ |
This file contains hidden or 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
| $ cd ~/research/VICUNA_v1.3/ | |
| $ OMP_NUM_THREADS=2 ./bin/vicuna-omp-v1.0 config/vicuna_config.txt |
This file contains hidden or 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
| $ cd scripts/vicuna_analysis/ | |
| $ make clean | |
| $ make all | |
| $ cd ../../ |
This file contains hidden or 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
| ~/research/VICUNA_v1.3/bin/vicuna_analysis |
This file contains hidden or 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
| $ vi config/vanalysis_contig.txt |
This file contains hidden or 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
| pFqDir /path_to_your_fastq_files_dir/ | |
| //npFqDir /path_to_your_fastq_files_dir/ | |
| //pFaDir /path_to_your_fasta_files_dir/ | |
| //npFaDir /path_to_your_fasta_files_dir/ | |
| trim_log_file /path_to_your_trim_log_file | |
| aln_file /path_to_your_aln_file | |
| outputDIR /path_to_your_analysis_output_dir/ | |
| trim_log_fileとaln_fileはvicunaの出力結果のパスです。 |
This file contains hidden or 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
| $ sudo apt-get install python-software-properties | |
| $ sudo apt-get install software-properties-common | |
| $ sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| $ sudo apt-get update; sudo apt-get install gcc-4.7 g++-4.7 | |
| $ sudo update-alternatives --remove-all gcc | |
| $ sudo update-alternatives --remove-all g++ | |
| $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 20 | |
| $ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 20 | |
| $ sudo update-alternatives --config gcc | |
| $ sudo update-alternatives --config g++ | |
| $ sudo apt-get install make |
This file contains hidden or 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/vicunAnalysis config/vanalysis config.txt |
This file contains hidden or 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
| /Users/xxx/research/ncbi_tools++/12_0_0/ncbi_cxx--12_0_0/include/corelib/impl/ncbi_atomic_defs.h:96:12: fatal error: 'bits/c++config.h' file not found |
This file contains hidden or 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
| $ sudo brew tap homebrew/versions | |
| $ sudo brew install gcc47 | |
| $ export CC=/usr/local/bin/gcc-4.7 | |
| $ export CXX=/usr/local/bin/g++-4.7 | |
| $ export LD_LIBRARY_PATH=/usr/local/opt/gcc47/lib/gcc/x86_64-apple-darwin13.1.0/4.7.3/ | |
| $ make |
This file contains hidden or 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
| ld: symbol(s) not found for architecture x86_64 |
This file contains hidden or 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 CFLAGS="-lstdc++" | |
| $ export CXXFLAGS="-lstdc++" |
This file contains hidden or 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
| /home/vagrant/research/ncbi_tools++/12_0_0/ncbi_cxx--12_0_0/GCC480-DebugOptMTDLL64/lib/libxobjread.so: undefined reference to `ncbi::objects::CPub_Base::DoSelect(ncbi::objects::CPub_Base::E_Choice, ncbi::CObjectMemoryPool*)' |
This file contains hidden or 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
| ./configure --prefix=/usr/local/opt/ncbi_cxx --with-optimization --with-mt --with-dll |
This file contains hidden or 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
| ./configure --prefix=/usr/local/opt/ncbi_cxx --with-optimization --with-mt |
This file contains hidden or 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
| ./configure --prefix=/usr/local/opt/ncbi_cxx |
This file contains hidden or 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
| $ wget ftp://ftp.ddbj.nig.ac.jp/ddbj_database/dra/fastq/SRA054/SRA054092/SRX154465/SRR513075.fastq.bz2 | |
| $ wget ftp://ftp.ddbj.nig.ac.jp/ddbj_database/dra/fastq/SRA054/SRA054092/SRX154465/SRR513075_1.fastq.bz2 | |
| $ wget ftp://ftp.ddbj.nig.ac.jp/ddbj_database/dra/fastq/SRA054/SRA054092/SRX154465/SRR513075_2.fastq.bz2 | |
| $ bzip2 -d SRR513075.fastq.bz2 | |
| $ bzip2 -d SRR513075_1.fastq.bz2 | |
| $ bzip2 -d SRR513075_2.fastq.bz2 |
This file contains hidden or 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
| ~/research/VICUNA_v1.3 |
This file contains hidden or 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
| ~/research/VICUNA_v1.3/doc/vicuna.pdf |
This file contains hidden or 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
| 3 Quik Start - for external users |
This file contains hidden or 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
| $ cd ~/research/ncbi_tools++/12_0_0/ | |
| $ tar xvzf ncbi_cxx--12_0_0.tar.gz |
This file contains hidden or 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
| $ cd ncbi_cxx--12_0_0 | |
| $ ./configure --prefix=/usr/local/opt/ncbi_cxx --with-optimization --with-mt | |
| $ make | |
| $ sudo make install |
This file contains hidden or 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 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/opt/ncbi_cxx/lib |
This file contains hidden or 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
| $ cd ~/research/VICUNA_v1.3/src | |
| $ vi Makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment