Question: How to rename headers of sequences in large fasta file
0
gravatar for lukhanyomakhabane
3 days ago by
lukhanyomakhabane0 wrote:

Hello guys, can you please help me. I want to rename headers of different sequences in large FASTA file. I want to rename each individual sequence with different name, is there any easy script that can perform such purpose? PLzzz help, I am new into this field of bioinformatics.

sequence • 74 views
ADD COMMENTlink modified 3 days ago by swbarnes28.8k • written 3 days ago by lukhanyomakhabane0

I'm very sorry. but this is a pretty easy thing to do in any scripting language, and you aren't going to be able to get far in this field unless you know enough programming to do simple custom one-off tasks like this in some language.

ADD REPLYlink written 3 days ago by swbarnes28.8k

See a recent thread: how to change header of fasta file and the answer in it. Sounds like you just need a different name? Change >ASV to get any other prefix you want.

ADD REPLYlink modified 3 days ago • written 3 days ago by genomax91k

You can use sed too.

Try searching for a few tasks done by sed, and you will learn how to make it work for this task :)

If you provide an example of sample input and sample output, we can help you better.

ADD REPLYlink modified 3 days ago • written 3 days ago by Fatima630
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1741 users visited in the last hour