05鉴定duplicate gene
blastp比对
awk 'NR==1&&$1~/^>/{print $0}NR>=2&&$1~/^>/{print "\n"$0}$1~/^[^>]/{printf $0}' Ghirsutum_gene_peptide.fasta|grep -E "Ghir_A[^\.]*\.1$" -A 1|sed -e 's/-//g' -e 's/\.1//g'## 建库
makeblastdb -dbtype 'prot' -parse_seqids -in Dt_peptide.fa -out blastpDB/Dt
# 比对
blastp -query At_peptide.fa -db At -evalue 1e-10 -num_threads 20 -outfmt 6 -out At_vs_At.blast
## 提交LSF任务
bsub -J Dt_Dt -q "normal" -n 20 -R span[hosts=1] -e Dt_Dt.err -o Dt_Dt.out "blastp -query ~/work/Alternative/data/Ghirsutum_genome_HAU_v1.0/Dt_peptide.fa -db ~/work/Alternative/data/Ghirsutum_genome_HAU_v1.0/blastpDB/Dt -evalue 1e-10 -num_threads 20 -outfmt 6 -out Dt_vs_Dt.blast"安装MCScanX
error: ‘getopt’ was not declared in this scope
dissect_multiple_alignment.cc中添加头文件
#include <getopt.h>
‘chdir’ was not declared in this scope
添加头文件 #include <unistd.h>制作对应的gff文件
鉴定共线性区域
下游的画点图程序

对duplicate gene进行分类
鉴定homologous gene
1.运行All-vs-All-blastp
2.运行MCScanx
3.筛选同源基因对
4.筛选四个基因组都同源的基因
Last updated