Entering edit mode
8.3 years ago
pendragon
▴
50
I have large fasta files containing all the sequences of some large families of receptors, each sequence is currently indicated by the ensembl ID. I would like to change each ensembl ID header to be the gene ID. I have a list of all the corresponding IDs (ensembl - gene), is there a way to change these headers?
For example, I want to change this type of ID header:
>ENSMUSG00000055515|ENSMUST00000020547
Into this type of ID header:
> Vmn2r3
Thanks so much!
There are many posts on biostars with solutions for this request.
replace fasta headers with another name in a text file
Renaming fasta headers according to a matching name list