Remove duplicated sequences in a fasta file

Fasta file(fasta):
Remove sub-sequences found in longer sequences:
If dna, analyse both strand (sequence aaaacc is considered identical than ggtttt):




For any problem contact H. San Clemente