Extensión de cambio de PathLib
from pathlib import Path
filename = "mysequence.fasta"
new_filename = Path(filename).stem + ".aln"
Danger D
from pathlib import Path
filename = "mysequence.fasta"
new_filename = Path(filename).stem + ".aln"