nigyta / dfast_core

DDBJ Fast Annotation and Submission Tool
76 stars 14 forks source link

Import error #32

Closed blsteven closed 3 years ago

blsteven commented 3 years ago

I am getting the following error when I try to run the program

ImportError: Bio.Alphabet has been removed from Biopython. In many cases, the alphabet can simply be ignored and removed from scripts. In a few cases, you may need to specify the molecule_type as an annotation on a SeqRecord for your script to work correctly. Please see https://biopython.org/wiki/Alphabet for more information.

nigyta commented 3 years ago

Thank you for letting me know. Actually, I’ve just got the same error after updating the Biopython to the latest version. I’m going to fix this as soon as possible, but for now downgrading Biopython may fix this issue.

blsteven commented 3 years ago

Thanks for the quick response and the great tool!

Blaire Steven Associate Scientist Environmental Sciences Connecticut Agricultural Experiment Station 203-974-8461 blaire.steven@ct.gov

Adjunct Assistant Research Professor University of Connecticut Dept. Natural Resources and the Environment


This information may be confidential and/or privileged. If you received this in error, please inform the sender and remove any record of this message. Note that messages to or from the State of Connecticut domain may be subject to Freedom of Information statutes and regulations.



From: Yasuhiro Tanizawa notifications@github.com Sent: Wednesday, September 9, 2020 10:47 AM To: nigyta/dfast_core dfast_core@noreply.github.com Cc: Steven, Blaire Blaire.Steven@ct.gov; Author author@noreply.github.com Subject: Re: [nigyta/dfast_core] Import error (#32)

EXTERNAL EMAIL: This email originated from outside of the organization. Do not click any links or open any attachments unless you trust the sender and know the content is safe.

Thank you for letting me know. Actually, I’ve just got the same error after updating the Biopython to the latest version. I’m going to fix this as soon as possible, but for now downgrading Biopython may fix this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnigyta%2Fdfast_core%2Fissues%2F32%23issuecomment-689611889&data=01%7C01%7CBlaire.Steven%40ct.gov%7C60f33290b24f4d634a1208d854cf6583%7C118b7cfaa3dd48b9b02631ff69bb738b%7C0&sdata=2wGV2GaWmxLR1IyOXqcC%2F54%2BNUA%2BeKF0VEB43p2XuyU%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHNACWSQXEFYNEBYQOUGYLSE6IRZANCNFSM4RCKHJ2A&data=01%7C01%7CBlaire.Steven%40ct.gov%7C60f33290b24f4d634a1208d854cf6583%7C118b7cfaa3dd48b9b02631ff69bb738b%7C0&sdata=bjBcFn3pwmSpwLWvOtWggAgjTHbPugwDJnXqIiwYjLc%3D&reserved=0.

nigyta commented 3 years ago

@blsteven

As of version 1.2.9, II have fixed this issue following the workaround shown here https://biopython.org/wiki/Alphabet Confirmed that it works on both Biopython 1.71 and 1.78 Thanks again for letting me know.