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

raise Exception(f'Your samtools version is v{samtools_version}, but >=v1.9 is required') #2

Open
aiqubo opened this issue Oct 21, 2019 · 3 comments

Comments

@aiqubo
Copy link

aiqubo commented Oct 21, 2019

‘’[root@iZ8vbhjgwhc1nm2b1b1kwwZ PrimerServer2]# samtools

Program: samtools (Tools for alignments in the SAM format)
Version: 1.9 (using htslib )”

I have updated the software version
Thank you for your great program, but it seems that there is an error,Is it something wrong?

@billzt
Copy link
Owner

billzt commented Nov 17, 2019

I'm so sorry for my late reply.
What's your python's version?

@aiqubo
Copy link
Author

aiqubo commented Dec 26, 2019

I'm so sorry for my late reply.
What's your python's version?

Python 3.8.0 (default, Oct 21 2019, 16:48:51)

@billzt
Copy link
Owner

billzt commented Dec 27, 2019

Thanks. Please try to debug as this:

(1) in your console, type samtools --version to see the results

(2) In your console, type python3 to enter the python3 console, then execute to see the results:

import os
samtools_version = os.popen('samtools --version').readlines()[0].strip().split(' ')[1]
samtools_version

Hope for your reply soon

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