Closed aedecano closed 2 years ago
Thanks Arun, these issues are due to deprecations in recent BioPython versions. Tests are now passing with revised install instructions in https://github.com/davideyre/runListCompare/commit/f950d9140636148430c5b4b959b87d4c8a8f2bca
First issue was when I had to create multi-level/nested output directories on CLI as it won't automatically get generated by running the code. The rest are due to deprecated biopython modules hence the error messages below.
I removed the Bio.Alphabet module in all the scripts and the 1st task of creating an all vs all alignment was completed but was met with another error:
This was resolved by modifying the ~/anaconda3/envs/runlistcompare/lib/python3.7/site-packages/Bio/Seq.py script and commenting out all ".decode()" functions.
However, I hit a wall when this error came up for generating clusters and clean alignments:
I tried changing chr() to str() on line 430 of ~/anaconda3/envs/runlistcompare/lib/python3.7/site-packages/Bio/Seq.py but it resulted in outputting either empty files (e.g. align_snps.fa) or empty cluster/ and cluster_ml/ folders.
There seems to be a need for further modification of the scripts, I just couldn't seem to identify the specific lines to change at this point.