Entering edit mode
                    3.0 years ago
        name_hidden
        
    
        •
    
    0
    If I have the .fasta file consisting of a sequence of genes from certain species, how do I add numbers after duplicate headers in such a manner:
i.e. before
>Homo Sapiens
ABCDEFG
>Mus Musculus
EDFGHIK
>Homo Sapiens
XYGFS
after
>Homo Sapiens_1
ABCDEFG
>Mus Musculus
EDFGHIK
>Homo Sapiens_2
XYGFS
that still adds the one to non-replicate header species.