Hi ferroao
You claim you've "forked" your code from https://github.com/rostun/DNA_multiple_sequence_alignment, but you've actually copied over their code to a different git site (github vs gitlab). Also, all you've done is made the input and output files command line arguments (and added an unnecessary step to strip empty lines). You have not changed any of the underlying algorithm. Have you at least addressed the 50-sequence, 1000-length, ATCG-only limitations?
I'd like to understand why you're spamming old threads with a script you did not author when the script is 2 years old, has so many limitations and was written as part of what looks like a classroom what is definitely a rosalind challenge?
If you sincerely think the script is performant, please create a Tool type post for it.
You should give
tadpole.shfrom BBMap a try. It should work with fasta formatted sequences.This would be trivially simple if you had access to Sequencher, DNASTAR, ContigExpress from Vector NTI among others (Note: these are all commercial software packages and are not free). Consed suite will work as well but it will require signing an academic agreement and some effort on your part to install everything.