文档1基因名 文档2是所有基因名和对应的序列 文档2中包含有文档1中基因的序列 如何从文档2中将文档1中基因所对应的序列和基因名提取出来?
TXT1:
accBp
aceBp
acnBp
acrZp
adep
adiAp
agaRp
ahpCp2
alaEp
aldAp
alsRp2
amiAp
ansBp2
aptp
araBp
araCp
TXT2:
accAp cgcgggcttgctat
accBp tagctgttgattat
accDp ttttttatccaaag
aceBp aaattgtttttgat
acnAp2 tgttatcaaatcgt
acnBp aaacagattaacac
acpPp gggatttagttgca
acrAp gttagatttacata
acrZp aaaggggagtgctt
adep atttcaattgcaca
adiAp tcacgcgctttaca
agaRp aggtgggcttgcat
agaSp ctccattgaacttt
ahpCp acgcattagccgaa
ahpCp2 aggtgattgccctt
alaEp tttttcactaattg
aldAp tttcacgattccgt
alsRp1 ccagaaaaacaaat
alsRp2 aaaaaccagaaaaa
amiAp caatatctgacgaa
ampCp ctgacagttgtcac
ansBp2 aacgtcaaatttcc
aptp aatcgcagttgcaa
araBp ctacctgacgcttt
araCp cgtgattatagaca
araEp gacctgacacctgc