This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can deleted specific sequences of alignment file without change to the sequences aligned?

How can deleted specific sequences of alignment file without change to the sequences aligned?

I have a alignment file (from clustal omega) with much sequences. The alignments are very good, but I need to deleted some specific sequences (for name) without changer the alignment.

Thanks for your time

Algas2006

alignment sequence r

1 answer

If your sequences are not so many, maybe you can use Mega to delete those sequences. If there are over hundreds of sequences, maybe you can write a python script to solve it. From my opinion, I will list a file of seq names(.txt or .xlsx), then you can use regular expression to match those sequences and delete them. Hope can help you.

Log in to answer this question.