表观遗传在AS中的作用2
##统一保留内含子第一个和最后一个坐标
grep RI ~/work/Alternative/result/Gh_result/CO31_32_result/evolution2/A2_AS.txt |grep PB|cut -f3,4 >1
python ~/github/zpliuCode/Isoseq3/04ASconserved/extractAScoordinate.py 1 1 2
##RI坐标
awk '{OFS="\t";print $1,$2+1,$3,$4,$6}' 2 >RI.bed
##SE坐标
awk '{OFS="\t";print $1,$2,$3+1,$4,$6}' 2 >SE.bed
##对于组成型的exon和intron,根据基因的链,赋予对于的链,对于超出原有注释范围的不管
~/software/bedtools2-2.29.0/bin/intersectBed -a constitutive_intron.bed -loj -b ../TM1_gene.bed |awk '$4!="."{OFS="\t";print $1,$2,$3,$7,$9}' >1
mv 1 constitutive_intron.bed
##分割文件
##提取每个坐标处的是否甲基化
python ~/github/zpliuCode/Isoseq3/07methylation/methylationByLocation.py ~/work/Alternative/data/Ga_genome/G.arboreum.Chr.v1.0.fasta /data/cotton/zhenpingliu/QingxinSong_GB_DNAmethlation/A2/Rep1/02deduplicate_methylation/CpG_fdr_sorted.bam 1 3
##合并所有的任务的结果
python ~/github/zpliuCode/Isoseq3/07methylation/gatherAlleventLocal.py conExon_methylation.txt
##由于基数太大可能会造成差异,只对AS基因进行比较分析不同基因组的事件间序列的保守程度
比较序列完全保守的坐标之间CpG甲基化程度的差异
分析同源基因间保守的胞嘧啶坐标
对保守的C进行DmC分析
基因的DmCG与基因AS差异程度的比较
基因AS数目的差异与DmCG/CG
源基因序列发生变异附近的motif 富集分析
举个例子
Last updated