Giter Club home page Giter Club logo

rnaseqrecipe_chap1's Introduction

RNA-Seqデータ解析 WETラボのための鉄板レシピ Chapter1 AnnualUpdate 2021/11/28

M1 Macについて

M1 Macではbiocondaを用いたツールインストールなどが現状できない。dockerを用いるか、ワークステーションなどを別途用意することが必要。また、遺伝研スパコンは基本無償使用可能。

RNA-Seqデータ解析 WETラボのための鉄板レシピ Chapter1 AnnualUpdate 2020/11/05 

Anaconda

ダウンロードリンクがhttps://www.anaconda.com/products/individualへ変更されている。バージョンも3.8へ。

Anaconda installのzshへの対応

condaはインストール時に、~/.bash_profileというbashの設定ファイルにconda自動立ち上げに関する処理を追記する。一方、2019年にデフォルトとなったzshではこの設定が反映されていないため、手動で対応しなければならない。以下に2つの解決方法をあげる。また、この手順は今後のanacondaのアップデートで不要になる可能性があるので常にインストール前に確認してほしい。

  1. ~/.bash_profileの内容を~/.zshrcに追記する。~/.zshrcを編集するには% open -e ~/.zshrcをターミナルから実行する。追記後はターミナルを再起動。なお、.zshrcは重要なzshの設定ファイルで破損すると容易にターミナルが立ち上がらなくなる。よく吟味しながら編集すること。
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
   eval "$__conda_setup"
else
   if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
       . "/opt/anaconda3/etc/profile.d/conda.sh"
   else
       export PATH="/opt/anaconda3/bin:$PATH"
   fi
fi
unset __conda_setup
# <<< conda initialize <<<
  1. source ~/.bash_profile という一文を~/.zshrcに追加する。

brew install

推奨インストール方法が以下へと変更されていた。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Rの最新版が4.0.3へとバージョンアップされている。

samtoolsがインストールできない場合 2020/04/29

書籍の方法でもsamtoolsが適切にインストールできない場合、以下のようにソースからビルドする。なお、パスの通し方に関してはネット上の文献等を参照のこと。

% cd ~
% mkdir Programs
% cd Programs
% curl -L https://github.com/samtools/samtools/releases/download/1.10/samtools-1.10.tar.bz2 > samtools-1.10.tar.bz2\ntar -jxvf % samtools-1.10.tar.bz2
% cd samtools-1.10
% ./configure --prefix=/usr/local/
% make -j 8
% make install
% ./samtools
% open -e ~/.zshrc  # PATHに$HOME/Programs/samtools-1.10を追加。
% source ~/.zshrc

詳細は公式サイト(http://www.htslib.org/download/)を参照。

rnaseqrecipe_chap1's People

Contributors

yyoshiaki avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.