如何用perl对一个txt进行添加和对内部文本换行 20
具体内容如下Seq-1--MVSLVAQSeq-2MSVVSLVGQSeq-3MSVVALVSQSeq-4-MSVSLMSQPleasesavetheresultofse...
具体内容如下
Seq-1 --MVSLVAQ
Seq-2 MSVVSLVGQ
Seq-3 MSVVALVSQ
Seq-4 -MSVSLMSQ
Please save the result of sequence alignment into a file seqaln.txt, and write a real perl script to: (1) read the content of seqaln.txt; (2) save the content into another file seqaln2.txt using the following FASTA format:
>Seq-1
--MVSLVAQ
>Seq-2
MSVVSLVGQ
>Seq-3
MSVVALVSQ
>Seq-4
-MSVSLMSQ
问题具体描述如下:
Seq-1 --MVSLVAQ
Seq-2 MSVVSLVGQ
Seq-3 MSVVALVSQ
Seq-4 -MSVSLMSQ
将这个sequence写入一个文档,并通过perl读出,对这个文档进行修改,使其成为
>Seq-1
--MVSLVAQ
>Seq-2
MSVVSLVGQ
>Seq-3
MSVVALVSQ
>Seq-4
-MSVSLMSQ
并导入另一个文档里 展开
Seq-1 --MVSLVAQ
Seq-2 MSVVSLVGQ
Seq-3 MSVVALVSQ
Seq-4 -MSVSLMSQ
Please save the result of sequence alignment into a file seqaln.txt, and write a real perl script to: (1) read the content of seqaln.txt; (2) save the content into another file seqaln2.txt using the following FASTA format:
>Seq-1
--MVSLVAQ
>Seq-2
MSVVSLVGQ
>Seq-3
MSVVALVSQ
>Seq-4
-MSVSLMSQ
问题具体描述如下:
Seq-1 --MVSLVAQ
Seq-2 MSVVSLVGQ
Seq-3 MSVVALVSQ
Seq-4 -MSVSLMSQ
将这个sequence写入一个文档,并通过perl读出,对这个文档进行修改,使其成为
>Seq-1
--MVSLVAQ
>Seq-2
MSVVSLVGQ
>Seq-3
MSVVALVSQ
>Seq-4
-MSVSLMSQ
并导入另一个文档里 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询