8000 added step to reorder bed columns based on order in PyRanges object before writing by fairliereese · Pull Request #275 · pyranges/pyranges · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

added step to reorder bed columns based on order in PyRanges object before writing #275

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

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

fairliereese
Copy link
Contributor
@fairliereese fairliereese commented Jul 21, 2022

_bed in out.py uses set operations to separate canonical (bed6) columns from all other columns. This creates inconsistent behaviour in the order that the 7th+ columns are saved in the output bed file. I added a line to retain the original ordering of the columns in the PyRanges object before saving.

@fairliereese
Copy link
Contributor Author

Fixes #274

@endrebak
Copy link
Collaborator
endrebak commented Jul 24, 2022 via email

@endrebak endrebak merged commit 53c261e into pyranges:master Dec 8, 2022
@endrebak
Copy link
Collaborator
endrebak commented Dec 8, 2022

Sorry for the late review; I have been busy.

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

Successfully merging this pull request may close these issues.

2 participants
0