-
Notifications
You must be signed in to change notification settings - Fork 34
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
IndexError in pairtools split #145
Comments
Hi, @BeetleMilk , before we look deeper into this, please, report your pairtools version and example of the file that you use. Are you sure this file is appropriate pairs file with header and columns? See the specification here: https://pairtools.readthedocs.io/en/latest/formats.html |
I tried to check the version (pairtools --version) and this is what I got:
So the problem must be in numpy version? My input file is a .pairsam file. I think it is correct. File size: 315Gb.
|
Looks like multiple packages in your environment is outdated. If you prefer pip, then the solution will be more focused and safe: git clone https://github.com/open2c/pairtools
cd pairtools
pip install -r requirements.txt The latter will install the most recent versions of pairtools dependencies. If you don't want to harm your working environment accidentally, I would start a new conda environment for pairtools and install all the dependencies with pairtools there and try running split again. |
I tried this, but got an error
I tried installing an updated scipy, but failed
Do you have advice on how to update scipy? |
Hi @BeetleMilk, some of the packages in your environment are outdated. It might be that python version is too old or some other dependency. Installing conda and creating fresh environment will resolve this. Even if you don't use it, you can follow their online manual, it's pretty straightforward. |
Hi @BeetleMilk, we've spotted one of the reasons for the popping bug during splitting. Here is the fix: 16ffd69 |
Creating a new environment fixed the issue, thank you. |
Yes, this fix will be included in the next release, but I'm not sure this change is big enough to create the whole release. Feel free to propose new pairtools features here: #139 |
I am getting a fatal error when using pairtools split (in split.py, I believe):
IndexError: pop index out of range
In the log file, I also found another issue:
I am not an expert in python so don't know how to proceed. Is the IndexError related to this error?
The text was updated successfully, but these errors were encountered: