Trinity-2.8.5 install with source code (Trinity-2.8.5源码安装 )

#trinity_2.8.5 install
tar -zxf ~/software/trinityrnaseq-Trinity-v2.8.5.tar.gz -C /opt/biosoft/
cd /opt/biosoft/trinityrnaseq-Trinity-v2.8.5/
source ~/
source ~/.bashrc_python-2.7.11
source ~/.bashrc_cmake-3.4.3
source ~/.bashrc_gcc-4.9.3
make plugins
echo 'export TRINITY_HOME=/opt/biosoft/trinityrnaseq-Trinity-v2.8.5/' >> ~/.bashrc.trinity-2.8.5
echo 'export PATH=$TRINITY_HOME:$PATH' >> ~/.bashrc.trinity-2.8.5
echo 'source ~/ \
source ~/.bashrc_python-2.7.11 \
source ~/.bashrc_python-2.7.11' >> ~/.bashrc.trinity-2.8.5
source ~/.bashrc.trinity-2.8.5
cd sample_data/test_Trinity_Assembly/
#install samtools
        #install htslib
        tar -zxf ~/software/htslib-1.9.tar.gz -C /opt/biosoft/
        cd /opt/biosoft/htslib-1.9/
        #autoreconf update
            tar -zxf ~/software/autoconf-2.69.tar.gz
            cd autoconf-2.69/
            ./configure --prefix=/opt/sysoft/autoconf-2.69/
            make -j 8
            make install
            cd ..
            rm -rf autoconf-2.69/
            echo 'export PATH=/opt/sysoft/autoconf-2.69/bin/:$PATH' >> ~/.bashrc_autoconf_2.6.9
        source ~/.bashrc_autoconf_2.6.9
        sudo yum install xz-devel
        ./configure --prefix=/opt/biosoft/htslib-1.9/
        make -j 8
        make install
        echo 'export PATH=$PATH:/opt/biosoft/htslib-1.9/bin/' >> ~/.bashrc      
        source ~/.bashrc
    tar -zxf ~/software/samtools-1.9.tar.gz -C /opt/biosoft/
    cd /opt/biosoft/samtools-1.9
    ./configure --prefix=/opt/biosoft/samtools-1.9/
    make -j 8
    make install
    echo 'export PATH=/opt/biosoft/samtools-1.9/bin/:$PATH' >> ~/.bashrc_samtools-1.9
source ~/.bashrc_samtools-1.9
    #install jellyfish
    tar -zxf ~/software/jellyfish-2.3.0.tar.gz
    cd jellyfish-2.3.0/
    #autoreconf -B --prepend-include=/opt/sysoft/autoconf-2.69/share/
    #automake --add-missing
    source ~/.bashrc_gcc-4.9.3 
    ./configure --prefix=/opt/biosoft/jellyfish-2.3.0
    make -j 8
    make install
    echo 'export PATH=/opt/biosoft/jellyfish-2.3.0/bin/:$PATH' >> ~/.bashrc.trinity-2.8.5
    cd .. && rm -rf jellyfish-2.3.0/
    #install salmon
    #use binary program with salmon
    tar -zxf ~/software/salmon_0.14.2_linux_x86_64.tar.gz -C /opt/biosoft/
    echo 'export PATH=/opt/biosoft/salmon-latest_linux_x86_64/bin/:$PATH' >> ~/.bashrc
    #install bowtie2-
    tar -zxf ~/software/bowtie2-2.3.5.tar.gz -C /opt/biosoft/
    cd /opt/biosoft/bowtie2-2.3.5/
    make static-libs && make STATIC_BUILD=1
    cd .tmp/
    cp ~/software/tbb-2019_U4.tar.gz && tar -zxf tbb-2019_U4.tar.gz
    perl -i -e 'while(<>){$_ =~ s/\$\$DL\ https:\/\/\/01org\/tbb\/archive\/2019_U4.tar.gz\ \&\&\ tar\ xzf\ 2019\_U4.tar.gz\ \&\&\ cd\ tbb\-2019_U4;/cd tbb-2019_U4;/g;print $_}' Makefile
    make static-libs && make STATIC_BUILD=1
    echo 'export PATH=/opt/biosoft/bowtie2-2.3.5/:$PATH' >> ~/.bashrc_bowtie_tbb
source ~/.bashrc.trinity-2.8.5
此条目发表在Linux, Perl分类目录。将固定链接加入收藏夹。


电子邮件地址不会被公开。 必填项已用*标注

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see

Protected with IP Blacklist CloudIP Blacklist Cloud