Entering edit mode
9.1 years ago
midox
▴
290
Hello,
I use a BLAT alignment with two files.
But here is the error "Error: sequence name channel_231_read_27_template is repeated in the database, all nemes must be unique"
how to change the sequence header of a Fasta file?
or have you another idea.
Thanks
Is there a possibility of changing the header of sequences ?
Something like
To replace only first instance
I have three copies.
actually, they are not copies but just the same they header.
How I can change the headers?
it changes the three headers by "channel_231_read_27_template_2"
another solution?
thanks
there is a lot of repetition.
I want to change the headers of all sequences.
do I change the headers in command line?
Thank you
I am not sure why your fasta headers are repeated in the file.
If the sequences are different then the headers should have been different to begin with. If the sequences are identical then you should be using a non-redundant copy with only one representative of each sequence in your files.
If you still want to proceed you will have to think of a programmatic way to get the headers and then iterate through them to change ones you want.