This is a test version of Biostars. For the public version, visit https://www.biostars.org.
fasta header trimming in a multifasta

Hi,

I have a multifasta with the transcripts of an assembled rnaseq and the header of each fasta is like this:

>TRINITY_DN5895_c0_g1_i1 len=288 path=[152:0-287] [-1, 152, -2]

I want to trim each fasta header to:

>TRINITY_DN5895_c0_g1_i1

Can you help me? Thanks

fasta header trim

Hello ignazio.fontana!

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!

PS: Please search the site before opening a new question - you'll probably get answers faster that way.

0 answers

No answers yet.

Log in to answer this question.