-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: missing molecule_type in annotations #41
Comments
Hi, thanks for using PhiSpy! simply run Also, can you provide the whole error message or a log file? In case of Thanks, |
Thank you so much. $ PhiSpy.py --version $ PhiSpy.py Streptococcus_pyogenes_M1_GAS.gbk -o M1.phages -p M1 --threads 4 --log M1_choice4.log --output_choice 4 Processing 1 contigs Following two examples also give error- PhiSpy.py CP015626.gbk -o CP015626.phages -p CP015626 --threads 4 --log CP015626_choice4.log --output_choice 4 --output_choice 4 : does not work as it says, only generates M1_prophage.fasta, other 3 files are empty |
Hey, thanks for the note! I could reproduce your error after updating Biopython to v1.78. Starting from this version the Bio.Alphabet is removed and requires some changes in the code. More about that here. To avoid your error you can either switch to previous Biopython version (eg. I recommend the second option as we also fixed the --output_choice 8. In version 4.1.22 code 8 works as code 7 due to ">" instead of ">=" typo. Note that if you want several different output files you must add code numbers, e.g. code 11 will provide the output of codes 8, 2 and 1. Let us know whether it fixes your error. Przemek |
Thank you very much. It is working perfectly fine now. Installed the latest version using git. I will eventually install through bioconda when latest version is available. Thanks again for fixing those errors. Tauqeer |
That's great! Przemek |
Hi
I get following error with --output_choice 4 or --output_choice 8. I don't get bacteria.fasta, bacteria.gbk and phage.gbk. I do get phage.fasta. What could be the possible reason? All other options work fine.
PhiSpy.py Streptococcus_pyogenes_M1_GAS.gbk -o M.phages -p M1 --threads 4 --log M1.log --output_choice 4
ValueError: missing molecule_type in annotations
Thank you so much.
The text was updated successfully, but these errors were encountered: