8000 tabix error due to pandas behavior in python 2.7 · Issue #59 · secastel/phaser · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tabix error due to pandas behavior in python 2.7 #59

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

Open
daniel-munro opened this issue May 24, 2020 · 0 comments
Open

tabix error due to pandas behavior in python 2.7 #59

daniel-munro opened this issue May 24, 2020 · 0 comments

Comments

@daniel-munro
Copy link

When I run phaser_expr_matrix.py with the suggested python 2.7, I get this error for every line of the BED file:

[E::get_intv] Failed to parse TBX_GENERIC, was wrong -p [type] used?
The offending line was: "10	ENSRNOG00000033508	57185346	57238531	1|0	0|0 [...]

The column order is wrong because the pandas DataFrame is initialized with a dictionary. Pandas documentation says "column order follows insertion-order for Python 3.6 and later." When I run phaser_expr_matrix.py with python3, column order is correct and it runs fine.

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

1 participant
0