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

problem with running ISEScan stats #1

Closed
gaworj opened this issue Apr 19, 2024 · 2 comments
Closed

problem with running ISEScan stats #1

gaworj opened this issue Apr 19, 2024 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@gaworj
Copy link

gaworj commented Apr 19, 2024

Hi,

I tried to run:

ISEScan_stats/ise_stats_with_nis.py -i input_data/ -p ISEscan_summary

and the script shows me this error

Traceback (most recent call last):
File "ISEScan_stats/ise_stats_with_nis.py", line 62, in
df1["Isolate"] = df["filename"].str.removesuffix(".fna.sum")
AttributeError: 'StringMethods' object has no attribute 'removesuffix

I'm using Ubuntu 16.04 and python 3.7. All of the sugeested packages were installed in my conda env.

Any hints?

Bests,
Jan

@gaworj
Copy link
Author

gaworj commented Apr 19, 2024

Haha! I have created new conda env with python 3.9 + suggested python packages and the scripts works smoothly!

Please add neccessary info to your manual.

Bests,
Jan

PS. Can you also add option for exporting to tab separated file? Excel format is nice but simple tabulated file will be also helpful.

@AhmedElsherbini
Copy link
Owner

Hi Jan,

I am happy that the script worked with you,

Thank you for your observation.

Indeed, now, I added the info regarding the need for Python 3.9. and I moved to CSV instead of Excel.

Anyhow, you can try it now, and do not forget to star the repo, if it is useful for your work 😅 .

Best,
Ahmed

@AhmedElsherbini AhmedElsherbini self-assigned this Apr 19, 2024
@AhmedElsherbini AhmedElsherbini added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants