close
在公眾號內,回復學習資源,獲得驚喜喔

安裝conda

conda的安裝

conda的使用教程

#點上面鏈接,看下我之前寫的conda安裝安裝推文和使用教程#首先安裝conda及其mambabashMiniconda3-latest-Linux-x86_64.shsource~/.bashrccondainstallmamba-nbase初始化原始配置,添加國內鏡像源

清除原來的conda安裝源配置文件,並重新配置

#我之前配置過,直接刪掉rm~/.condarc#重新生成.condarccondaconfig--setshow_channel_urlsyes

添加鏡像源,編輯家目錄下的配置文件:~/.condarc,添加下面內容

#Thisisasample.condarcfile.#Itaddsmirror-channel(TsinghuaUniversity)ofanacondaandenables#theshow_channel_urlsoption.#channellocations.Theseoverridecondadefaults,i.e.,condawill#search*only*thechannelslistedhere,intheordergiven.#Use"defaults"toautomaticallyincludealldefaultchannels.#Non-urlchannelswillbeinterpretedasAnaconda.orgusernames#(thiscanbechangedbymodifyingthechannel_aliaskey;seebelow).#Thedefaultisjust'defaults'.channels:-defaultsdefault_channels:-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r-https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2custom_channels:conda-forge:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudmsys2:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudbioconda:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudmenpo:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudpytorch:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloudsimpleitk:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud#ShowchannelURLswhendisplayingwhatisgoingtobedownloaded#andin'condalist'.ThedefaultisFalse.show_channel_urls:true#Formoreinformationaboutthisfilesee:#https://conda.io/docs/user-guide/configuration/use-condarc.html嘗試創建ATAC分析小環境

使用mamba多線程安裝失敗,只能使用conda安裝,不過也挺快

#刪除我之前創建的atac小環境#condaremove-natac--all#刪除索引緩存、鎖定文件、未使用過的包和tar包#condaclean-a#創建atac小環境#mambacreate-natac-ypython=2|teemamba_env_atac_create.logcondacreate-natac-ypython=2|teeconda_env_atac_create.log#進入atac小環境condaactivateatac#在atac小環境內,使用mamba多線程安裝生信軟件#mambainstall-cbioconda-ytrim-galoresamtoolsbedtools\#deeptoolshomermememultiqcsambamba\#bwamacs2bowtiebowtie2|\#teemamba_env_atac_install-biosoft.logcondainstall-cbioconda-ytrim-galoresamtoolsbedtools\deeptoolshomermememultiqcsambamba\bwamacs2bowtiebowtie2|\teeconda_env_atac_install-biosoft.log

參考資料:

https://www.cnblogs.com/yahengwang/p/10613027.html


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 鑽石舞台 的頭像
    鑽石舞台

    鑽石舞台

    鑽石舞台 發表在 痞客邦 留言(0) 人氣()