I find that the program sometimes will truncate source files, namely clear all contents of the source files. After checking the code, I find the following function that convert multi-line fasta to single-line fasta. Perhaps writing to a new file instead of origin source file will be better.
|
with open(outFile,"w") as newFasta: |