1、更改.bashrc
查看:cat .bashrc
可以scp从别的服务器传过来
scp fengxinkang@218.76.35.134/home/fengxinkang/.bashrc ./
输入密码
这样就替换了
source ~/.bashrc
将.bashrc文件移动至/etc/skel/目录下,所创建的用户都可以使用
cp .bashrc /etc/skel/.bashrc
可以直接编辑.bashrc文件
#设置快捷命令
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias df='df -h'
alias du='du -skh'
alias grep='grep --color'
alias ls='ls -hF --color=tty' # classify files in colour
alias dir='ls --color=auto --format=vertical'
alias ll='ls -lh -rt --file-type' # long list
alias l='ls -CF' #
alias lla='ls -a -l'
alias e='exit'
alias le='less -S'
alias d='display'
alias t='top -u $USER'
#2 修改命令行显示
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ "$TERM" = "xterm" ]
then
export PS1="\[\e[31;1m\]\u\[\e[0m\] \[\e[32;1m\]\t \[\e[0m\]\[\e[34;1m\]\w\[\e[0m\]\n\[\e[31;1m\]$ \[\e[0m\]"
else
export PS2="\[\e[31;1m\]\u\[\e[0m\] \[\e[32;1m\]\t \[\e[0m\]\[\e[34;1m\]\w\[\e[0m\]\n\[\e[31;1m\]$ \[\e[0m\]"
fi
#3 export环境变量
export PATH="$PATH:./:/usr/bin:$PATH"
export PATH="$PATH:/ifs1/Software/bin/:$PATH"
export PERL5LIB="/ifs1/Software/biosoft/tRNAscan-SE-1.3.1/"
# added by Miniconda3 installer
export LD_LIBRARY_PATH="/ifs1/Software/boost-1.60.0-py27_3/lib/"
2、下载bioconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
#2安装
sh Miniconda3-latest-Linux-x86_64.sh
source ~/.bashrc
#3添加软件源
conda config --add channels bioconda
conda config --add channels conda-forge
3、安装mamba
conda install -c conda-forge -y mamba
4、安装软件
vim mamba.sh
加入以下代码:
mamba install -y bwa
mamba install -y samtools
mamba install -y bcftools
mamba install -y blast
mamba install -y mummer
#比对
mamba install -y blat
mamba install -y mafft
mamba install -y muscle
mamba install -y lastz
mamba install -y sra-tools
mamba install -y seqkit
mamba install -y seqtk
mamba install -y bedtools
mamba install -y bedops
mamba install -y gfatools
mamba install -y circos
mamba install -y entrez-direct
mamba install -y emboss
#数据质控软件
mamba install -y fastqc multiqc
mamba install -y trimmomatic
mamba install -y fastp
#基因组拼接相关
mamba install -y velvet
mamba install -y flye
mamba install -y miniasm
mamba install -y canu
mamba install -y megahit
mamba install -y spades
mamba install -y quast
mamba install -y racon
mamba install -y miniasm
mamba install -y nanopolish
#基因功能分析软件
mamba install -y prodigal
mamba install -y glimmer
mamba install -y augustus
mamba install -y trf
5、查看
conda list
网友评论