| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 550 人关注过本帖
标题:[求助]关于文本文件分割
取消只看楼主 加入收藏
dnayang
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2007-4-20
收藏
 问题点数:0 回复次数:0 
[求助]关于文本文件分割

因在网站上查询基因序列后 保存下的文件为一个总文件
为方便分析与查找 总文件要分割成小文件 
文件分割器不能按自己的要求分割
就只能自己编写程序...
汗 不会 呵呵 只有想各位求援了
具体序列放附件里面了 在线QQ:124674322
要分割为单个的 如:
>gi|1532267|gb|U68521.1|HIVU68521 HIV-1 sample 9939 patient 10 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAGTTAGATAAATGGGAAAGAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAAACATCAGAAGGCTGTAGACAAATACTGGGACAGCTACAACCAGCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTACATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAAATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAAGCACAGCA


晕 不能上传 
序列
>gi|1532267|gb|U68521.1|HIVU68521 HIV-1 sample 9939 patient 10 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAGTTAGATAAATGGGAAAGAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAAACATCAGAAGGCTGTAGACAAATACTGGGACAGCTACAACCAGCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTACATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAAATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAAGCACAGCA
AGCAGCAGCTGACACAGGAAACAACAGCCAGGTCAGCCAAAATTACCCTATAGTGCAGAACCTTCAGGGG
CAAATGGTA

>gi|1532263|gb|U68519.1|HIVU68519 HIV-1 sample 256 patient 9 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTAGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATACTGGGACAGCTACAACCGGCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTACATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAGATAGAGGAAGAGCAAAACAAAAGCAAGAAAAAGGCACAGCA
AGCAGCAGCTGACACAGGAAACAACAGCCAGGTCAGCCAAAATTACCCTATAGTGCAGAACCTCCAGGGG
CAAATGGTA

>gi|1532259|gb|U68517.1|HIVU68517 HIV-1 sample 159 patient 8 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAGATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGAAGGGAGCTAGAACGATTCGMAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGTTGTAGACAAATACTGGGACAGCTACAGCCATCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTACATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGACAAAATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAAGCACAGCA
AGCAGCAGCTGACACAGGAAACAACAGCCAGGTCAGTCAAAATTACCCTATAGTGCAGAACCTTCAGGGG
CAAATGGTA

>gi|1532257|gb|U68516.1|HIVU68516 HIV-1 sample 6760 patient 7 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAGGAAAAAGTATAAATTAAAACATCTAGTATGGGCAAGCAGGGAGCTAGAACGATATGCAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTAGGACAGCTACAACCAGCCATTCAGACA
GGATCAGAAGAACTTAAATCATTATATAATACAGTAGTAACCCTCTACTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGACAAGGTAGAGGAAGAACAAAACAAAAGTAAGAAAAAAGCACAGCA
AGCAGCAGCTGACACAGGAAACAGCGGCAAGGTCAGCCAAAATTTCCCTATAGTGCAGAACCTACAGGGG
CAAATGGTA

>gi|1532255|gb|U68515.1|HIVU68515 HIV-1 sample 6767 patient 6 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTACGGCCAG
GGGGAAAGAAAAAATATCAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTGGGACAGTTACAACCATCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTATATAATACAGTAGCAACCCTCTATTGTGTGCATCAAAAGATAGATA
TAAAAGACACCAAGGAAGCTTTAGAGAAGATAGAGGAAGAGCAAAACAAATGTAAGAAAAAGGCACAGCA
AGCCGCTGCTAACACAGGAAGCAGCAGCCAGGTCAGCCAAAATTACCCTATAGTGCAGAACCTCCAGGGG
CAAATGGTA

>gi|1532253|gb|U68514.1|HIVU68514 HIV-1 sample 317 patient 5 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTACTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATCAATTAAAACATCTAGTATGGGCAAGCAGGGAGCTAGAACGATTCTCAATTAA
TCCTGGTCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTGAGACAGCTACAACCATCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTATATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAAAAGATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAGGCACAGCA
AGCAGCAGCTGACACAGGAAACAGCAGCCAGGTCAGCCAAAATTACCCTATAGTGCAGAACCTCCAGGGG
CAAATGGTA

>gi|1532249|gb|U68512.1|HIVU68512 HIV-1 sample 105 patient 3 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTGGGACAGCTACAACCAGCCCTTCAGACA
GGATCAGAAGAACTTAGATCATTATATAATACAGTAGCAACCCTCTATTGTGTACATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAGATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAAGCACAGCA
AGCAGCAGCTGACACAGGAAGCAGCAGCCAGGTCAGCCAAAATTACCCTATAGTGCAGAACTTACAGGGG
CAAATGGTA

>gi|1532247|gb|U68511.1|HIVU68511 HIV-1 sample 135 patient 2 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCAGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTGGGACAGCTACAACCAGCCCTTCAGACA
GGATCAGAAGAACTTAAATCATTATATAATACAGTAGCAACCCTCTATTGTGTACATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAGATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAGGCACAGCA
AGCAGCAGCTGACACAGGAAGCAGCAGCCAGGTCAACCAAAATTACCCTATAGTGCAGAACTTACAGGGG
CAAATGGTA

>gi|1532243|gb|U68509.1|HIVU68509 HIV-1 sample 136 patient 1 from Sweden matrix protein (gag) gene, p17 region, partial cds
ATGGGTGCGAGAGCGTCRGTATTAAGCGGGGGAGAATTAGATAAATGGGAAAAAATTCGGTTAAGGCCAG
GGGGAAAGAAAAAATATAAATTAAAACATATAGTATGGGCAAGCAGGGAGCTAGAACGATTCGCAGTTAA
TCCTGGCCTTTTAGAGACATCAGAAGGCTGTAGACAAATATTGGGACAGCTACAACCATCCCTTCAGACA
GGATCAGAAGAACTTAGATCATTATATAATACAGTAGCAGTCCTCTATTGTGTGCATCAAAGGATAGATG
TAAAAGACACCAAGGAAGCTTTAGAGAAGATAGAGGAAGAGCAAAACAAAAGTAAGAAAAAGGCACAGCA
AGCAGCAGCCGCAGCAGCTGACACAGGAAACAGCAGYCAGGTCAGCCAAAATTACCCTATAGTGCAGAAC
CTACAGGGGCAAATGGTA

搜索更多相关主题的帖子: 文本文件 基因 序列 gag protein 
2007-06-21 14:17
快速回复:[求助]关于文本文件分割
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.039407 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved