quarTeT:Telomere-to-telomere Toolkit(一款多功能軟件欺冀。)

功能

參考引導(dǎo)的基因組組裝

1.AssemblyMapper: reference-guided genome assembly

基于長(zhǎng)讀長(zhǎng)的填縫

2.GapFiller: long-reads based gap filling

端粒識(shí)別

3.TeloExplorer: telomere identification

著絲粒候選預(yù)測(cè)

4.CentroMiner: centromere candidate prediction

1、軟件安裝

git clone https://github.com/aaranyue/quarTeT.git
cd quarTeT && chmod 755 *

2、軟件依賴

#trf手動(dòng)安裝(添加路勁到.bashrc)
wget https://github.com/Benson-Genomics-Lab/TRF/archive/master.zip
mv master.zip trf.zip
unzip trf.zip && cd TRF-master/
./configure --prefix=/path/you/TRF
make && make install
#trf conda安裝
conda install trf -y
#tidy conda安裝
conda install -c bioconda tidk -y
#Minimap2
conda install -c "bioconda/label/cf201901" minimap2
#MUMmer4 
git clone https://github.com/mummer4/mummer.git
cd mummer
./configure --prefix=/path/to/installation
make
make install
#gnuplot推薦conda安裝(會(huì)添加很多其他依賴)
conda install -c "bioconda/label/cf201901" gnuplot
#EDTA手動(dòng)安裝或conda安裝
git clone https://github.com/oushujun/EDTA.git
conda env create -f EDTA.yml

conda activate EDTA
perl EDTA.pl
#R和Python3一般服務(wù)器上都會(huì)配置

3审丘、軟件的使用
AssemblyMapper

#{prefix}.bp.hap1.p_ctg.gfa 和{prefix}.bp.hap2.p_ctg.gfa轉(zhuǎn)換為fasta格式作為輸入文件
Usage: python3 quartet.py AssemblyMapper <parameters>
  -h, --help            show this help message and exit
  -r REFERENCE_GENOME   (*Required) Reference genome file, FASTA format.
  -q CONTIGS
                        (*Required) Phased contigs file, FASTA format.
  -c MIN_CONTIG_LENGTH  Contigs shorter than INT (bp) will be removed, default: 50000
  -l MIN_ALIGNMENT_LENGTH
                        The min alignment length to be select (bp), default: 10000
  -i MIN_ALIGNMENT_IDENTITY
                        The min alignment identity to be select (%), default: 90
  -p PREFIX             The prefix used on generated files, default: quarTeT
  -t THREADS            Use number of threads, default: 1
  -a {minimap2,mummer}  Specify alignment program (support minimap2 and mummer), default: minimap2
  --plot                Plot a colinearity graph for draft genome to reference alignments. (will cost more time)
  --overwrite           Overwrite existing alignment file instead of reuse.
  --minimapoption MINIMAPOPTION
                        Pass additional parameters to minimap2 program, default: -x asm5
  --nucmeroption NUCMEROPTION
                        Pass additional parameters to nucmer program.
  --deltafilteroption DELTAFILTEROPTION
                        Pass additional parameters to delta-filter program.
                        
 #輸出文件為:
{prefix}.draftgenome.fasta        | The pseudo-chromosome-level assembly, fasta format.
{prefix}.draftgenome.agp          | The structure of this assembly, AGP format.
{prefix}.draftgenome.stat         | The statistic of this assembly, including total size and each chromosome's size, GC content, gap                                     count and locations.
{prefix}.draftgenome.png          | The figure draws relative length of chromosomes and gap locations for assembly.
{prefix}.contig.mapinfo           | The statistic of input contigs, including total mapped and discarded size, and each contig's                                         destination.
{prefix}.contig_map_ref.png       | The alignment colinearity graph between contigs and reference genome.
{prefix}.draftgenome_map_ref.png  | The alignment colinearity graph between this assembly genome and reference genome. Only available with --plot.

GapFiller

Usage: python3 quartet.py GapFiller <parameters>
  -h, --help            show this help message and exit
  -d DRAFT_GENOME       (*Required) Draft genome file to be filled, FASTA format.
  -g GAPCLOSER_CONTIG [GAPCLOSER_CONTIG ...]
                        (*Required) All contigs files (accept multiple file) used to fill gaps, FASTA format.
  -f FLANKING_LEN       The flanking seq length of gap used to anchor (bp), default: 5000
  -l MIN_ALIGNMENT_LENGTH
                        The min alignment length to be select (bp), default: 1000
  -i MIN_ALIGNMENT_IDENTITY
                        The min alignment identity to be select (%), default: 40
  -m MAX_FILLING_LEN    The max sequence length acceptable to fill any gaps, default: 1000000
  -p PREFIX             The prefix used on generated files, default: quarTeT
  -t THREADS            Use number of threads, default: 1
  --overwrite           Overwrite existing alignment file instead of reuse.
  --minimapoption MINIMAPOPTION
                        Pass additional parameters to minimap2 program, default: -x asm5

TeloExplorer

#需要fasta格式的基因組文件作為輸入文件(為掛載到假染色體上的scaffold序列) Usage: python3 quartet.py TeloExplorer <parameters>  -h, --help            show this help message and exit  -i GENOME             (*Required) Genome file to be identified, FASTA format.  -c {plant,animal,other}                        Specify clade of this genome. Plant will search TTTAGGG, animal will search TTAGGG, other will use tidk explore's                       suggestion, default: other  -m MIN_REPEAT_TIMES   The min repeat times to be reported, default: 100  -p PREFIX             The prefix used on generated files, default: quarTeT
eg:
  python3 ~/biosoft/quarTeT/quartet.py TeloExplorer -i group.asm.fasta -c plant -p sx_tm
 
#輸出文件為:
sx_tm.telo.info  | The statistic of telomere, including monomer, repeat times on both end of each chromosome.
sx_tm.telo.png   | The figure draws telomere location, alongside relative length of chromosomes and gap locations for assembly.

CentroMiner:

#需要fasta格式的基因組文件作為輸入文件(為掛載到假染色體上的scaffold序列)
#或者,以 gff3 格式添加 TE 注釋(或僅 LTR 注釋)的輸入可以提高性能勾给。
#建議使用 EDTA 獲取 TE 注釋滩报。
#{genome file}.mod.EDTA.TEanno.gff3 由EDTA生成,可以直接提供CentroMiner播急,除非您的序列ID超過(guò)15個(gè)字符脓钾。
Usage: python3 quartet.py CentroMiner <parameters>
  -h, --help            show this help message and exit
  -i GENOME_FASTA       (*Required) Genome file, FASTA format.
  --TE TE               TE annotation file, gff3 format.
  -n MIN_PERIOD         Min period to be consider as centromere repeat monomer. Default: 100
  -m MAX_PERIOD         Max period to be consider as centromere repeat monomer. Default: 200
  -s CLUSTER_IDENTITY   Min identity between TR monomers to be clustered (Cannot be smaller than 0.8). Default: 0.8
  -d CLUSTER_MAX_DELTA  Max period delta for TR monomers in a cluster. Default: 10
  -e EVALUE             E-value threholds in blast. Default: 0.00001
  -g MAX_GAP            Max allowed gap size between two tandem repeats to be considered as in one tandem repeat region. Default: 50000
  -l MIN_LENGTH         Min size of tandem repeat region to be selected as candidate. Default: 100000
  -t THREADS            Limit number of using threads, default: 1
  -p PREFIX             Prefix used by generated files. Default: quarTeT
  --trf [TRF_PARAMETER ...]
                        Change TRF parameters: <match> <mismatch> <delta> <PM> <PI> <minscore> Default: 2 7 7 80 10 50
  --overwrite           Overwrite existing trf dat file instead of reuse.

eg:  python3 ~/biosoft/quarTeT/quartet.py CentroMiner -i group.asm.fasta -p sx_cm -t 20  
#輸出文件為:
sx_cm.best.candidate | The best centromere candidate on each chromosome, and corresponding monomers.
sx_cm.centro.png     | The figure draws best centromere candidate location, alongside relative length of chromosomes and gap locations for assembly.
candidate/              | The folder of all centromere candidates. Check here if the best candidate doesn't look well.
TRfasta/                | The folder of all tandem repeat monomers identified by trf and cluster result on each chromosome.
TRgff3/                 | The folder of all tandem repeat hit by BLAST on each chromosome, in gff3 format.

后續(xù)若有報(bào)錯(cuò)信息,會(huì)繼續(xù)更新

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
禁止轉(zhuǎn)載桩警,如需轉(zhuǎn)載請(qǐng)通過(guò)簡(jiǎn)信或評(píng)論聯(lián)系作者可训。
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市捶枢,隨后出現(xiàn)的幾起案子握截,更是在濱河造成了極大的恐慌,老刑警劉巖烂叔,帶你破解...
    沈念sama閱讀 221,635評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件谨胞,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡蒜鸡,警方通過(guò)查閱死者的電腦和手機(jī)胯努,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,543評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門(mén)牢裳,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人叶沛,你說(shuō)我怎么就攤上這事蒲讯。” “怎么了灰署?”我有些...
    開(kāi)封第一講書(shū)人閱讀 168,083評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵判帮,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我溉箕,道長(zhǎng)脊另,這世上最難降的妖魔是什么? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 59,640評(píng)論 1 296
  • 正文 為了忘掉前任约巷,我火速辦了婚禮,結(jié)果婚禮上旱捧,老公的妹妹穿的比我還像新娘独郎。我一直安慰自己,他們只是感情好枚赡,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,640評(píng)論 6 397
  • 文/花漫 我一把揭開(kāi)白布氓癌。 她就那樣靜靜地躺著,像睡著了一般贫橙。 火紅的嫁衣襯著肌膚如雪贪婉。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 52,262評(píng)論 1 308
  • 那天卢肃,我揣著相機(jī)與錄音疲迂,去河邊找鬼。 笑死莫湘,一個(gè)胖子當(dāng)著我的面吹牛尤蒿,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播幅垮,決...
    沈念sama閱讀 40,833評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼腰池,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了忙芒?” 一聲冷哼從身側(cè)響起示弓,我...
    開(kāi)封第一講書(shū)人閱讀 39,736評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎呵萨,沒(méi)想到半個(gè)月后奏属,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,280評(píng)論 1 319
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡甘桑,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,369評(píng)論 3 340
  • 正文 我和宋清朗相戀三年拍皮,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了歹叮。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,503評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡铆帽,死狀恐怖咆耿,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情爹橱,我是刑警寧澤萨螺,帶...
    沈念sama閱讀 36,185評(píng)論 5 350
  • 正文 年R本政府宣布,位于F島的核電站愧驱,受9級(jí)特大地震影響慰技,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜组砚,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,870評(píng)論 3 333
  • 文/蒙蒙 一吻商、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧糟红,春花似錦艾帐、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 32,340評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至事扭,卻和暖如春捎稚,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背求橄。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,460評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工今野, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人谈撒。 一個(gè)月前我還...
    沈念sama閱讀 48,909評(píng)論 3 376
  • 正文 我出身青樓腥泥,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親啃匿。 傳聞我的和親對(duì)象是個(gè)殘疾皇子蛔外,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,512評(píng)論 2 359

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