meta SNV gt-pro

文章
標題:Fast and accurate metagenotyping of the human gut microbiome with GT-Pro
譯文:快速人腸道宏基因分型
期刊:NBT
時間:2022

計算表現(xiàn)
accuracy evaluation

Github: https://github.com/zjshi/gt-pro

安裝

wget -c https://github.com/zjshi/gt-pro/releases/download/v1.0.1/gt_pro_prebuilt_v1.0.1.tar.gz
tar -zxvf gt_pro_prebuilt_v1.0.1.tar.gz
cd gt-pro-static

conda create -n gt-pro
source /hwfsxx1/ST_HN/P18Z10200N0423/huty/software/miniconda3_2/etc/profile.d/conda.sh
conda activate gt-pro
# dependency c++ env
# https://blog.csdn.net/cyr20040123/article/details/129479126
conda install gcc=11 -c conda-forge
conda install libgcc -c conda-forge
conda install gxx_linux-64 -c conda-forge
route="/hwfsxx1/ST_HN/P18Z10200N0423/huty/software/miniconda3_2/envs/gt-pro/bin"
ln -s $route/x86_64-conda_cos7-linux-gnu-g++ g++
# python3.8 pigz (optional)
conda install python=3.8 
conda install pigz=2.6
# 自建庫denpendency
conda install kmc -c bioconda
conda install biopython
conda install numpy

1 Build customized database

tar xzvf test/100035.tar.gz && tar xzvf test/101747.tar.gz && tar xzvf test/102779.tar.gz
./GT_Pro build \
--in test/build.list \
--out ./test/my_db \
--dbname tri_db --threads 4

過程

read ./test/100035
read ./test/101747
read ./test/102779
[OK] a total of 3 species found.
check ./test/100035 for required files
        genome path found: ./test/100035/genomes/GUT_GENOME137233.fna
        genome path found: ./test/100035/genomes/GUT_GENOME073777.fna
        genome path found: ./test/100035/genomes/GUT_GENOME120930.fna
        genome path found: ./test/100035/genomes/GUT_GENOME131088.fna
        genome path found: ./test/100035/genomes/GUT_GENOME137819.fna
        genome path found: ./test/100035/genomes/GUT_GENOME000139.fna
        genome path found: ./test/100035/genomes/GUT_GENOME137257.fna
        genome path found: ./test/100035/genomes/GUT_GENOME120554.fna
        genome path found: ./test/100035/genomes/GUT_GENOME138280.fna
        genome path found: ./test/100035/genomes/GUT_GENOME198444.fna
        genome path found: ./test/100035/genomes/GUT_GENOME138765.fna
        genome path found: ./test/100035/genomes/GUT_GENOME096021.fna
12 genomes sequences will be used for database building
[OK] ./test/100035/reference.fna found.
[OK] ./test/100035/msa.fa found.
[OK] ./test/100035/core_snps.vcf found.
check ./test/101747 for required files
        genome path found: ./test/101747/genomes/GUT_GENOME190234.fna
        genome path found: ./test/101747/genomes/GUT_GENOME253845.fna
        genome path found: ./test/101747/genomes/GUT_GENOME107393.fna
        genome path found: ./test/101747/genomes/GUT_GENOME185690.fna
        genome path found: ./test/101747/genomes/GUT_GENOME188736.fna
        genome path found: ./test/101747/genomes/GUT_GENOME092036.fna
        genome path found: ./test/101747/genomes/GUT_GENOME093349.fna
        genome path found: ./test/101747/genomes/GUT_GENOME194019.fna
        genome path found: ./test/101747/genomes/GUT_GENOME105882.fna
        genome path found: ./test/101747/genomes/GUT_GENOME094667.fna
        genome path found: ./test/101747/genomes/GUT_GENOME185233.fna
        genome path found: ./test/101747/genomes/GUT_GENOME107011.fna
12 genomes sequences will be used for database building
[OK] ./test/101747/reference.fna found.
[OK] ./test/101747/msa.fa found.
[OK] ./test/101747/core_snps.vcf found.
check ./test/102779 for required files
        genome path found: ./test/102779/genomes/GUT_GENOME166581.fna
        genome path found: ./test/102779/genomes/GUT_GENOME164547.fna
        genome path found: ./test/102779/genomes/GUT_GENOME164615.fna
        genome path found: ./test/102779/genomes/GUT_GENOME096682.fna
        genome path found: ./test/102779/genomes/GUT_GENOME166279.fna
        genome path found: ./test/102779/genomes/GUT_GENOME166503.fna
        genome path found: ./test/102779/genomes/GUT_GENOME158726.fna
        genome path found: ./test/102779/genomes/GUT_GENOME166574.fna
        genome path found: ./test/102779/genomes/GUT_GENOME165490.fna
        genome path found: ./test/102779/genomes/GUT_GENOME165777.fna
        genome path found: ./test/102779/genomes/GUT_GENOME166618.fna
        genome path found: ./test/102779/genomes/GUT_GENOME165550.fna
        genome path found: ./test/102779/genomes/GUT_GENOME165783.fna
13 genomes sequences will be used for database building
[OK] ./test/102779/reference.fna found.
[OK] ./test/102779/msa.fa found.
[OK] ./test/102779/core_snps.vcf found.
[load] loading core-genome consensus sequence from ./test/100035/reference.f                                                                                 na
[load] loading core-genome consensus sequence from ./test/101747/reference.f                                                                                 na
[load] loading core-genome consensus sequence from ./test/102779/reference.f                                                                                 na
        the loaded core-genome has a consensus sequence of 1919699 bases
[load] loading core snps from ./test/101747/core_snps.vcf
        the loaded core-genome has a consensus sequence of 3160876 bases
[load] loading core snps from ./test/102779/core_snps.vcf
        the loaded core-genome has a consensus sequence of 3626943 bases
[load] loading core snps from ./test/100035/core_snps.vcf
        a total of 17386 core bi-allelic snps was found
[load] loading key coordinates on core-genome from ./test/100035/coords.tsv
        a total of 705 divisions was found
        a total of 34488 core bi-allelic snps was found
[load] loading key coordinates on core-genome from ./test/101747/coords.tsv
        a total of 511 divisions was found
        a total of 41034 core bi-allelic snps was found
[load] loading key coordinates on core-genome from ./test/102779/coords.tsv
        a total of 297 divisions was found
[searching] start to search 31-mers
[searching] start to search 31-mers
[searching] start to search 31-mers
        a total of 518260 kmer records was found
        a total of 1038192 kmer records was found
        a total of 1239348 kmer records was found

2 Optimize GT-Pro database before metagenotyping

./GT_Pro optimize \
-d test/my_db/tri_db \
-i test/SRR413665_2.fastq.gz

過程

[OK] start initial optimization
[OK] database found
[OK] optimize from test/my_db/tri_db.bin
[OK] initial optimization done
[OK] finalize optimization with a break-in test
[OK] optimization done
新增4個文件

Quick start

# 1 下載構(gòu)建好的數(shù)據(jù)庫
# 1.1 20190723_881species_optimized_db_kmer_index.bin
# 1.2 20190723_881species_optimized_db_snps.bin
wget --content-disposition https://fileshare.czbiohub.org/s/daK4Wj3N7EwSSrd/download
wget --content-disposition https://fileshare.czbiohub.org/s/XNCzWziB4JydWFH/download
# 2 SNP字典
# variants_main.covered.hq.snp_dict.tsv
wget --content-disposition https://fileshare.czbiohub.org/s/cYDwCAB539kE5yt/download
# 3 物種信息
# species_taxonomy_ext.tsv
wget --content-disposition https://fileshare.czbiohub.org/s/XBzwFpfJpmJpBSQ/download

更多
GT-Pro——快速準確地對人體腸道微生物組進行宏基因組分型
【Nature Medicine】人類腸道微生物群中的細菌SNP與宿主BMI相關(guān)

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末剂桥,一起剝皮案震驚了整個濱河市禽笑,隨后出現(xiàn)的幾起案子橄抹,更是在濱河造成了極大的恐慌屈梁,老刑警劉巖,帶你破解...
    沈念sama閱讀 218,682評論 6 507
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件扇调,死亡現(xiàn)場離奇詭異矿咕,居然都是意外死亡,警方通過查閱死者的電腦和手機狼钮,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,277評論 3 395
  • 文/潘曉璐 我一進店門碳柱,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人熬芜,你說我怎么就攤上這事莲镣。” “怎么了涎拉?”我有些...
    開封第一講書人閱讀 165,083評論 0 355
  • 文/不壞的土叔 我叫張陵剥悟,是天一觀的道長。 經(jīng)常有香客問我曼库,道長,這世上最難降的妖魔是什么略板? 我笑而不...
    開封第一講書人閱讀 58,763評論 1 295
  • 正文 為了忘掉前任毁枯,我火速辦了婚禮,結(jié)果婚禮上叮称,老公的妹妹穿的比我還像新娘种玛。我一直安慰自己,他們只是感情好瓤檐,可當(dāng)我...
    茶點故事閱讀 67,785評論 6 392
  • 文/花漫 我一把揭開白布赂韵。 她就那樣靜靜地躺著,像睡著了一般挠蛉。 火紅的嫁衣襯著肌膚如雪祭示。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 51,624評論 1 305
  • 那天谴古,我揣著相機與錄音质涛,去河邊找鬼稠歉。 笑死,一個胖子當(dāng)著我的面吹牛汇陆,可吹牛的內(nèi)容都是我干的怒炸。 我是一名探鬼主播,決...
    沈念sama閱讀 40,358評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼毡代,長吁一口氣:“原來是場噩夢啊……” “哼阅羹!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起教寂,我...
    開封第一講書人閱讀 39,261評論 0 276
  • 序言:老撾萬榮一對情侶失蹤捏鱼,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后孝宗,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體穷躁,經(jīng)...
    沈念sama閱讀 45,722評論 1 315
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,900評論 3 336
  • 正文 我和宋清朗相戀三年因妇,在試婚紗的時候發(fā)現(xiàn)自己被綠了问潭。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 40,030評論 1 350
  • 序言:一個原本活蹦亂跳的男人離奇死亡婚被,死狀恐怖狡忙,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情址芯,我是刑警寧澤灾茁,帶...
    沈念sama閱讀 35,737評論 5 346
  • 正文 年R本政府宣布,位于F島的核電站谷炸,受9級特大地震影響北专,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜旬陡,卻給世界環(huán)境...
    茶點故事閱讀 41,360評論 3 330
  • 文/蒙蒙 一拓颓、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧描孟,春花似錦驶睦、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,941評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至廉羔,卻和暖如春溉痢,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,057評論 1 270
  • 我被黑心中介騙來泰國打工适室, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留嫡意,地道東北人。 一個月前我還...
    沈念sama閱讀 48,237評論 3 371
  • 正文 我出身青樓捣辆,卻偏偏與公主長得像蔬螟,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子汽畴,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,976評論 2 355

推薦閱讀更多精彩內(nèi)容