python版本MCScanX分析方法,仅供参考:
Genomic synteny
among C. annuum, C.chinenese and C.baccatum
The genomes of C. annuum, C.chinenese and C.baccatum were retrieved from PGP (http://peppergenome.snu.ac.kr/download.php).The C. annuum genome was compared
to C.chinenese and C.baccatum...
...上执行正常,在Mac上执行无效,原因是因为Mac上的sed是BSD版本,Linux上的是Gnu版本,在Mac上需要使用sed -e 's/ /\'$'\n/g' file.txt
5、awk '{for(i=1;i<=NF;i++)print $i}' file.txt
列转行
样例文件如下
cat file.txt
a
b
c
d
e
f
1、cat file.txt | tr "\n" ...