how to change the header of input file
I have a fasta file input, I want change the header in my way like
>AGP1
AAAAAAAAAAAACTCAAAAG
>CRK25
AAAAAAAAAAAACTTTGAACTTGCTT
AT5G27080
AAAAAAAAAAAAGAAAGAA
>AT1G12620
AAAAAAAAAAACAAATT
I want output in this way
>chromosome1
AAAAAAAAAAAACTCAAAAG
>chromosome2
AAAAAAAAAAAACTTTGAACTTGCTT
change all the header in input file with chromosome
and chromosome number like chromosome1 , chromosome2... is equal to number of headers present in input file.
is there way to resolve this problem by using sed awk or shell script?
please suggest me
thank you in advance
• 384 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello raghvendra1986singh!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!
Dear Sir,
I am to sorry, By mistake I have asked the same question twice.
Please block one of them.