Closed cwine closed 3 years ago
I suspect an older version of pysam is in use not the expected version. Can you check you have pysam-0.16.0.1 or better? Sadly it looks like installing using into a clean environment will work (directly via pypi), there are some errors in requirement files that will be causing this via the existing docs. We've since fixed-up the pypi releases.
The following works correctly:
$ python3 -m venv venv
tmp$ source venv/bin/activate
(venv) tmp$ pip3 install telomerecat
...
Successfully installed argparse-1.4.0 click-8.0.1 numpy-1.21.1 pandas-1.3.1 parabam-3.0.1 pysam-0.16.0.1 python-dateutil-2.8.2 pytz-2021.1 six-1.16.0 telomerecat-4.0.0
To be corrected:
requirments.txt
- pysam version (should be >=0.16.0.1
)README.md
install methods need cleaning up.Thank you for your response! I was using pysam 0.15.3 because when I used version 0.16.0.1 I got an error where the script continuously threw errors about not finding an index file, which is the same problem in issue #14.
That issue was resolved by reverting back to 0.15.3 which is what I did. Not sure how to break the cycle between these two versions now.
The issue with warnings (they are warnings, not errors) about lack of index file should not be present in telomerecat >=4.0.0
. It's possible some file opens were missed but I'm not seeing this in my local execution.
When I run the bam2length function I get the following errors. Not sure what should be done to handle them. Any help would be appreciated.