This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Renaming fasta file headers

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!

fasta rename headers

0 answers

No answers yet.

Log in to answer this question.