#cp ~/project/Allele_Web/data_result/ASM/asm_topGene/result_other_species/plot_mark.r ./

#awk 'BEGIN{print "Type\tShape\tChr\tStart\tEnd\tcolor"}{print "Top\ttriangle\t"$1"\t"$2"\t"$3"\tff7f00"}' ./Oryza_sativa.top100.txt |awk 'ARGIND==1{a[$1]}ARGIND==2{if($3 in a){print $0}}' ~/project/Genome/oryza/oryza_karyotype.txt - > ./data/Oryza_sativa.top100.mark.txt
#Rscript plot_mark.r ./data/Oryza_sativa.top100.mark.txt ~/project/Genome/oryza/oryza_karyotype.txt Oryza_sativa.top100 ./ 240 220

awk 'BEGIN{print "Type\tShape\tChr\tStart\tEnd\tcolor"}{print "Top\ttriangle\t"$1"\t"$2"\t"$3"\tff7f00"}' ./Oryza_sativa_Indica_Group.top100.txt |awk 'ARGIND==1{a[$1]}ARGIND==2{if($3 in a){print $0}}' ~/project/Genome/oryza/oryza_karyotype.txt - > ./data/Oryza_sativa_Indica_Group.top100.mark.txt
Rscript plot_mark.r ./data/Oryza_sativa_Indica_Group.top100.mark.txt ~/project/Genome/oryza/oryza_karyotype.txt Oryza_sativa_Indica_Group.top100 ./ 240 220
