You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom function to find bedgraph magic bytes (#158)
* Custom function to find bedGraph magic bytes
* Convert magic bytes to a string
* Bedgraph file tests
* Strengthen regex
- Allow white space at begining and end of track.
- Assume chrom starts with a letter (not absolutely sure about this)
- Assume value data ends with a digit (not absolutely certain about this).
while!eof(io) &&!ismatch(r"^\s*([A-Za-z]+\S*)\s+(\d+)\s+(\d+)\s+(\S*\d)\s*$", line) # Note: regex is used to limit the search by exiting the loop when a line matches the bedGraph track format.
0 commit comments