美文网首页下游分析组学Linux与生物信息
genblastg和genewise鉴定缺失基因

genblastg和genewise鉴定缺失基因

作者: 多啦A梦的时光机_648d | 来源:发表于2023-11-07 21:43 被阅读0次

基于组装好的基因组,例如某一个基因在该基因组中无注释,需检查是否为注释错误,还是该基因本身缺失。

软件:genblastg和genewise

genblastg下载地址:https://github.com/thecgs/genblastG_extension

1.下载目标基因的蛋白序列,以拟南芥CYP711A1基因为例,到官网下载https://www.arabidopsis.org/servlets/TairObject?id=34142&type=locus,保存为CYP711A1.faa

2.基因组序列文件:final_assembly_descending.fa

3. 利用genblastg在基因组序列中查找,找到基因组中CYP711A1基因的候选区域。并整理成bed文件

export PATH=/home/lx_sky6/yt/soft/miniconda3/envs/genblastg/bin/:$PATH
python3 /home/lx_sky6/yt/soft/genblastG_extension-master/run_formatdb_nucl.py final_assembly_descending.fa
python3 /home/lx_sky6/yt/soft/genblastG_extension-master/run_genblastG.py -g final_assembly_descending.fa -i CYP711A1.faa -o out.gff3
###注意,脚本中-c默认为0.8,可自行修改阈值


```{tmp.bed}
Chr7    44465688        44468002
Chr7    44490184        44504841
Chr7    54220158        54222085
Chr7    54225358        54227310

4. 向该区域两端延伸500bp,并利用bedtools提取序列

cat tmp.bed |awk '{print $1"\t"$2-500"\t"$3+500}' >ex500.bed

Chr7    44465188        44468502
Chr7    44489684        44505341
Chr7    54219658        54222585
Chr7    54224858        54227810

bedtools getfasta -fi final_assembly_descending.fa -bed 500.bed -fo ex500.fa

5. 然后利用拟南芥CYP711A1.faa为参考序列,利用genewise软件简单CYP711A1基因结构。由于genewise每次只能做一条序列,所以将ex500.fa序列分成4份。

seqkit split ex500.fa  -p 4
cd ~/yt/test/genewise/ex500.fa.split
genewise ../CYP711A1.faa  ex500.part_001.fa -both -gff >1.out
genewise ../CYP711A1.faa  ex500.part_002.fa -both -gff >2.out
genewise ../CYP711A1.faa  ex500.part_003.fa -both -gff >3.out
genewise ../CYP711A1.faa  ex500.part_004.fa -both -gff >4.out

6. 剔除内含子,提取蛋白编码序列

Chr7:44465188-44468502  GeneWise        gene    503     2595    544.59  +       .       Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        cds     503     750     0.00    +       0       Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        intron  751     911     0.00    +       .       Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        cds     912     1064    0.00    +       1       Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        intron  1065    1213    0.00    +       .       Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        gene    503     2595    544.59  +       .       ID=CYP711A1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        mRNA    503     2595    544.59  +       .       ID=CYP711A1.1;Parent=CYP711A1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        exon    503     750     0.00    +       0       Parent=CYP711A1.1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        cds     503     750     0.00    +       0       Parent=CYP711A1.1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        exon    912     1064    0.00    +       1       Parent=CYP711A1.1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        cds     912     1064    0.00    +       1       Parent=CYP711A1.1;Chr7:44465188-44468502-genewise-prediction-1
Chr7:44465188-44468502  GeneWise        exon    1214    1997    0.00    +       1       Parent=CYP711A1.1;Chr7:44465188-44468502-genewise-prediction-1

然后利用gffread提取cds和pep

gffread 1.gff -g ex500.part_001.fa -x cds.fa -p pep.fa

>CYP711A1.1
NETLVRSMAALDWDALTTKSASTAFTMLAILAGVLVYFYAPYWGVRRVPGPPALPILGHLHLIVKYGTSI
FSVLADQYGPVFRFHMGRQPLVIIADPELCREVGIKKFKDFSDRSMPYSISTIAVHANGYPFSREPRRSA
TRSILLSIYQSSFVANLLPTMQAYIESAAENLNIKDEESIDFFTLSHKMTTDIIGKAAFGVNFGLSRCLN
SAALDTSDIQIISEKDASEFIDKHTYATTCLKMDLAGSFSMIVGQILPLFQKPLYHFLRRIPGTMDYKIF
TSHEDLGDRINKIVDSRIQHGDTGSKDFLSLILKATESETENKRFFTRDYVGALAYEHIIGGSTSTAVTL
TCIIYLVAGHPEVQKKLLNEIDAFGPIDKVPTPEDLQNNFPYLDLVVKEGMRYYTLSPITAREAGRDVHI
GGYFIPKGTWVWPALGVLAKDPKHFPDPEAFKPERFDPNGEEEKNRHPYAYIPFGIGPRACLGQKFALQV
LKLSLIHQYRRYVFARDGPIEFQYGVFLTFKTEVKFKVTKRC

和拟南芥序列进行比对

CLUSTAL format alignment by MAFFT L-INS-i (v7.520)


AT2G26170.1     MKTQHQWWEVLD-PFLTQHEALIAFLTFAAVV-IVIYLYRPSWSVCNVPGPTAMPLVGHL
AT2G26170.2     ------------------------------------------------------------
CYP711A1.1      NETLVRSMAALDWDALTTKSASTAFTMLAILAGVLVYFYAPYWGVRRVPGPPALPILGHL
                                                                            

AT2G26170.1     PLMAKYGPDVFSVLAKQYGPIFRFQMGRQPLIIIAEAELCREVGIKKFKDLPNRSIPSPI
AT2G26170.2     -------------------------MGRQPLIIIAEAELCREVGIKKFKDLPNRSIPSPI
CYP711A1.1      HLIVKYGTSIFSVLADQYGPVFRFHMGRQPLVIIADPELCREVGIKKFKDFSDRSMPYSI
                                         ******:***:.*************:.:**:* .*

AT2G26170.1     SASPLHKKGLFFTRDKRWSKMRNTILSLYQPSHLTSLIPTMHSFITSATHNLDSKPRD-I
AT2G26170.2     SASPLHKKGLFFTRDKRWSKMRNTILSLYQPSHLTSLIPTMHSFITSATHNLDSKPRD-I
CYP711A1.1      STIAVHANGYPFSREPRRSATRSILLSIYQSSFVANLLPTMQAYIESAAENLNIKDEESI
                *: .:* :*  *:*: * *  *. :**:**.*.::.*:***:::* **:.**: * .: *

AT2G26170.1     VFSNLFLKLTTDIIGQAAFGVDFGL-----------SGKKPIKDVEVTDFINQHVYSTTQ
AT2G26170.2     VFSNLFLKLTTDIIGQAAFGVDFGL-----------SGKKPIKDVEVTDFINQHVYSTTQ
CYP711A1.1      DFFTLSHKMTTDIIGKAAFGVNFGLSRCLNSAALDTSDIQIISEKDASEFIDKHTYATTC
                 * .*  *:******:*****:***           *. : *.: :.::**::*.*:** 

AT2G26170.1     LKMDLSGSLSIILGLLIPILQEPFRQVLKRIPGTMDWRVEKTNARLSGQLNEIVSKRAKE
AT2G26170.2     LKMDLSGSLSIILGLLIPILQEPFRQVLKRIPGTMDWRVEKTNARLSGQLNEIVSKRAKE
CYP711A1.1      LKMDLAGSFSMIVGQILPLFQKPLYHFLRRIPGTMDYKIFTSHEDLGDRINKIVDSRIQH

CYP711A1.1 基因其实是存在于基因组中,注释漏掉了,因此需要手动添加注释到gff中.

修改为chr上正确的位置

44466106 44466252
44466402 44467185
44467277 44467372
44467469 44467783

Chr7    EVM     gene    44466106        44467783        544.59  +       .       ID=evm.TU.Chr7.3604;Name=EVM%20prediction%20Chr7.3604
Chr7    EVM     mRNA    44466106        44467783        544.59  +       .       ID=evm.model.Chr7.3604;Parent=evm.TU.Chr7.3604;Name=EVM%20prediction%20Chr7.3604
Chr7    EVM     exon    44466106        44466252        0.00    +       1       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     cds     44466106        44466252        0.00    +       1       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     exon    44466402        44467185        0.00    +       1       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     cds     44466402        44467185        0.00    +       1       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     exon    44467277        44467372        0.00    +       0       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     cds     44467277        44467372        0.00    +       0       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     exon    44467469        44467783        0.00    +       0       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604
Chr7    EVM     cds     44467469        44467783        0.00    +       0       Parent=evm.model.Chr7.3604;Parent=evm.model.Chr7.3604

更新evm.gff

相关文章

  • 同源注释-Genewise

    在基因预测之前,先要mask基因组序列;同源注释本次选择用genewise软件 软件安装 1 . genblast...

  • 练习:基因家族

    基因家族鉴定分析操作手册: 基因家族 基因家族鉴定 基因家族鉴定分析总结 1.下载基因组信息文件,gff,cds,...

  • 生信小练习:用python均分fasta序列

    之所以有写这个脚本的想法是因为要用genewise和exonerate预测序列,然而好像genewise和exon...

  • GENEWISE 的使用

    今天要用到genewise 软件分析数据,记录一下过程! 1. GeneWise 简介 Genewise主要用于将...

  • 基因家族分析(2)鉴定

    基因家族成员鉴定的主要方法为序列相似性比对和功能结构域预测。以苦荞的MAPK基因家族的鉴定为例。 苦荞基因组数据处...

  • 目录

    1.基因家族分析专题 • 基因家族概念• 数据库检索与成员鉴定• 蛋白成员基本特性和基因结构分析• ...

  • 基因组||基因组分析之鉴定基因类型

    基因类型的鉴定 基因组组装和注释完成,得到配套的基因组和注释文件之后,可以利用gffread提取对应的gene,c...

  • 基因家族分析(一)

    基本分析内容 • 基因家族概念• 数据库检索与成员鉴定• 蛋白成员基本特性和基因结构分析• 多序列...

  • wise2的安装

    在做基因组注释的时候可能会用到genewise这个工具,属于wise2工具包的一项。因为这个软件太老了,安装的时候...

  • 基因家族鉴定及分析

    单个基因家族分析方法基因家族鉴定及分析 | Wutianzhen (wu-tz.github.io)[https:...

网友评论

    本文标题:genblastg和genewise鉴定缺失基因

    本文链接:https://www.haomeiwen.com/subject/vbifwdtx.html