Entering edit mode
2.0 years ago
pavelasquezv
▴
50
Hi all,
Please, I would like to add a tag to all my fasta files.
head my_trypsins.fasta
>k141_39975_1 # 2 # 1138 # -1 #
RPAQGAPGAHTPSGSFGPPPAPPAPVTAGESGAPQRRRTWVPVVSAAAAAALLASVGTA
>k141_8001_9 # 6812 # 8068 # 1 #
MRRYVLPYLWPVITGVLIALLILPGLPNLLSNPFQSPASQDPTPAVVTVPAVVEPSPNRP
>k141_7139_56 # 56772 # 58046 # -1 #
MRRYVLPYLWPVITGVLVAVLVLFALPEQLSNPFRDSEPQTPAPAISPAPTISTAPAVVA
I would like something like this:
head my_trypsins.fasta
>Saboya 1-k141_39975_1 # 2 # 1138 # -1 #
RPAQGAPGAHTPSGSFGPPPAPPAPVTAGESGAPQRRRTWVPVVSAAAAAALLASVGTA
>Saboya 1-k141_8001_9 # 6812 # 8068 # 1 #
MRRYVLPYLWPVITGVLIALLILPGLPNLLSNPFQSPASQDPTPAVVTVPAVVEPSPNRP
>Saboya 1-k141_7139_56 # 56772 # 58046 # -1 #
MRRYVLPYLWPVITGVLVAVLVLFALPEQLSNPFRDSEPQTPAPAISPAPTISTAPAVVA
Many thanks!
All the best
Thanks my friend!