Skip to content
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

Comment lines at the beginning of BED files are incorrectly interpreted as group labels #288

Closed
dpryan79 opened this issue Feb 16, 2016 · 1 comment · Fixed by #290
Closed
Assignees

Comments

@dpryan79
Copy link
Collaborator

If a BED file starts with a "#", that line is interpreted as a group label and computeMatrix will fail, since the number of labels won't match the number of groups.

@dpryan79 dpryan79 self-assigned this Feb 16, 2016
@dpryan79
Copy link
Collaborator Author

Since I'm fixing this anyway, I'll also fix the following cases:

  1. "#" lines in the middle of a file with no associated entries cause an error
  2. Having label (#) lines in the middle, but then not at the end of a file, causes an error

These are easy enough to fix in heatmapper.py

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 a pull request may close this issue.

1 participant