hello everyone,
I have some fasta files like this:
>ARP3_HUMAN
----------------------------------------------MAGRLPACVVDCGT
GYTKLGYAGNTEPQFIIPSCIAIKESAKVGDQAQRRVMKGVDDLDFFIGDEAIEKP-TYA
TKWPIRHGIVEDWDLMERFMEQVIFKYLRAEPEDHYFLLTEPPLNTPENREYTAEIMFES
FNVPGLYIAVQAVLALAASWTSRQVGERTLTGTVIDSGDGVTHVIPVAEGYVIGSCIKHI
PIAGRDITYFIQQLLRDREVGIPPEQSLETAKAVKERYSYVCPDLVKEFNKYDTDGSKWI
KQYTGINAISKKEFSIDVGYERFLGPEIFFHPEFANPDFTQPISEVVDEVIQNCPIDVRR
PLYKNIVLSGGSTMFRDFGRRLQRDLKRTVDARLKLSEELSGGRLKPKPIDVQVITHHMQ
RYAVWFGGSMLASTPEFYQVCHTKKDYEEIGPSICRHNPVFGVMS
>ARP3_BOVIN
----------------------------------------------MAGRLPACVVDCGT
GYTKLGYAGNTEPQFIIPSCIAIKESAKVGDQAQRRVMKGVDDLDFFIGDEAIEKP-TYA
TKWPIRHGIVEDWDLMERFMEQVIFKYLRAEPEDHYFLLTEPPLNTPENREYTAEIMFES
FNVPGLYIAVQAVLALAASWTSRQVGERTLTGTVIDSGDGVTHVIPVAEGYVIGSCIKHI
PIAGRDITYFIQQLLRDREVGIPPEQSLETAKAVKERYSYVCPDLVKEFNKYDTDGSKWI
KQYTGINAISKKEFSIDVGYERFLGPEIFFHPEFANPDFTQPISEVVDEVIQNCPIDVRR
PLYKNIVLSGGSTMFRDFGRRLQRDLKRTVDARLKLSEELSGGRLKPKPIDVQVITHHMQ
RYAVWFGGSMLASTPEFYQVCHTKKDYEEIGPSICRHNPVFGVMS
I want to concatenate these files by consideration that each specious should concatenate with same specious in other files that might be in different order relate to this example file that I pasted. Any suggestion to concatenate theses file with perl script?thanks in advance
I have some fasta files like this:
>ARP3_HUMAN
----------------------------------------------MAGRLPACVVDCGT
GYTKLGYAGNTEPQFIIPSCIAIKESAKVGDQAQRRVMKGVDDLDFFIGDEAIEKP-TYA
TKWPIRHGIVEDWDLMERFMEQVIFKYLRAEPEDHYFLLTEPPLNTPENREYTAEIMFES
FNVPGLYIAVQAVLALAASWTSRQVGERTLTGTVIDSGDGVTHVIPVAEGYVIGSCIKHI
PIAGRDITYFIQQLLRDREVGIPPEQSLETAKAVKERYSYVCPDLVKEFNKYDTDGSKWI
KQYTGINAISKKEFSIDVGYERFLGPEIFFHPEFANPDFTQPISEVVDEVIQNCPIDVRR
PLYKNIVLSGGSTMFRDFGRRLQRDLKRTVDARLKLSEELSGGRLKPKPIDVQVITHHMQ
RYAVWFGGSMLASTPEFYQVCHTKKDYEEIGPSICRHNPVFGVMS
>ARP3_BOVIN
----------------------------------------------MAGRLPACVVDCGT
GYTKLGYAGNTEPQFIIPSCIAIKESAKVGDQAQRRVMKGVDDLDFFIGDEAIEKP-TYA
TKWPIRHGIVEDWDLMERFMEQVIFKYLRAEPEDHYFLLTEPPLNTPENREYTAEIMFES
FNVPGLYIAVQAVLALAASWTSRQVGERTLTGTVIDSGDGVTHVIPVAEGYVIGSCIKHI
PIAGRDITYFIQQLLRDREVGIPPEQSLETAKAVKERYSYVCPDLVKEFNKYDTDGSKWI
KQYTGINAISKKEFSIDVGYERFLGPEIFFHPEFANPDFTQPISEVVDEVIQNCPIDVRR
PLYKNIVLSGGSTMFRDFGRRLQRDLKRTVDARLKLSEELSGGRLKPKPIDVQVITHHMQ
RYAVWFGGSMLASTPEFYQVCHTKKDYEEIGPSICRHNPVFGVMS
I want to concatenate these files by consideration that each specious should concatenate with same specious in other files that might be in different order relate to this example file that I pasted. Any suggestion to concatenate theses file with perl script?thanks in advance
Comment