-
Notifications
You must be signed in to change notification settings - Fork 95
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
install sniffles2 issues #347
Comments
Do you have python 3 installed ? |
I test the version: |
ok my last guess: pysam ? |
The installed pysam is: Then I try to install a higher version: |
I had a similar error. |
Thank you so much! It also works me! |
I try to install sniffles2 using different strategies, but all failed:
pip install sniffles, see error:
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see ImportError in system pip wrappers after an upgrade pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement sniffles (from versions: none)
ERROR: No matching distribution found for sniffles
conda install -c bioconda sniffles=2.0 -n sniffles -m, then run sniffles -h, see error:
Traceback (most recent call last):
File "/home/dguan/anaconda3/envs/sniffles/bin/sniffles", line 33, in
from sniffles import parallel
File "/home/dguan/anaconda3/envs/sniffles/lib/python3.8/site-packages/sniffles/parallel.py", line 17, in
from sniffles import leadprov
File "/home/dguan/anaconda3/envs/sniffles/lib/python3.8/site-packages/sniffles/leadprov.py", line 137, in
OPTAB={pysam.CMATCH: (1,1,0),
AttributeError: module 'pysam' has no attribute 'CMATCH'
install sniffles 1 first in conda, then update to 2
conda install -c bioconda sniffles -n sniffles -m, then conda update -c bioconda sniffles, then run sniffles -h
Usage: sniffles [options] -m <sorted.bam> -v <output.vcf>
Version: 1.0.12
Contact: [email protected]
Not update it.
The text was updated successfully, but these errors were encountered: