Skip to content
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

DeprecationWarning and AttributeError in markerMiner.py #3

Open
bslgrg00 opened this issue Apr 16, 2024 · 1 comment
Open

DeprecationWarning and AttributeError in markerMiner.py #3

bslgrg00 opened this issue Apr 16, 2024 · 1 comment

Comments

@bslgrg00
Copy link

Hello there,
I encountered the following warnings and error while running markerMiner:

##########################################################
/public/home/bishal/soft/markerminer/./markerMiner.py:115: DeprecationWarning: 'U' mode is deprecated
in_file = open(SINGLE_COPY_IDS_FILE, 'rU')
/public/home/bishal/soft/markerminer/./markerMiner.py:135: DeprecationWarning: 'U' mode is deprecated
in_file = open(transcriptFilePaths, 'rU')

Warning: [Query 10108-10164] Query_7 AT3G08520: Could not calculate ungapped Karlin-Altschul parameters due to an invalid query sequence or its translation. Please verify the query sequence(s) and/or filtering options
...
Warning: [Query 24445-24492] Query_45 AT2G40205: Could not calculate ungapped Karlin-Altschul parameters due to an invalid query sequence or its translation. Please verify the query sequence(s) and/or filtering options

Traceback (most recent call last):
File "/public/home/bishal/soft/markerminer/./markerMiner.py", line 205, in
if ct.has_key("NA"):
AttributeError: 'Counter' object has no attribute 'has_key'
##################################################################

Thank you in advance!

Bishal

@lishuhanin
Copy link

You could try running in the Python 2.7 environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants