-
Notifications
You must be signed in to change notification settings - Fork 50
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
Loading pairs with # in read IDs #192
Comments
OK, after the meeting in accordance with what we discussed I propose to replace with like this, accounting for the passed into
Then this stream without the header can be parsed by Shall I implement this? @nvictus (Turns out permalinks to lines in other repos are not rendered as nice previews!) |
Actually, check out It should handle file paths the same way We could combine that with |
|
Looks like as of the 1.0 release. We should probably pin the pandas dependency to >=1.0 anyway. |
Done in #193, would appreciate input there. |
Fixed in #193! |
Following the
pandas
behaviour of treating comments,cooler cload pairs
truncates all lines at#
- which makes pairs with#
in read names unloadable.Not sure what can be done in general case - but I think we don't really expect comments in the body of pairs, so perhaps after the header is read in, the comment character can be unset for the rest of the file?
Or open2c/pairtools#82 needs to be finalized and merged with some default transform that would prevent this?
I didn't even know the files I am using had this problem until trying to load them (and didn't know this was a limitation).
The text was updated successfully, but these errors were encountered: