linux中实现提取碱基序列的互补序列

 

001、

[root@PC1 test03]# ls
a.fa
[root@PC1 test03]# cat a.fa       ## 测试序列
ATCGATGC
[root@PC1 test03]# cat a.fa | tr "ATCG" "TAGC"    ## 提取碱基序列的互补序列
TAGCTACG

 

posted @ 2023-06-06 23:45  小鲨鱼2018  阅读(22)  评论(0编辑  收藏  举报