forked from vsbuffalo/granges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csv+serde based writing, new
SumNotEmpty
to mimic bedtools map's sum.
- New `SerializableDatumType` and `DatumType::into_serializable()` that wraps in a runtime serialization config, e.g. for precision, missing values, etc. - Removed trait `TsvSerialize` and `to_tsv()` methods. - New special `Operation::SumNotEmpty` that returns a `DatumType::NoValue` to mimic bedtools map sum's behavior. This was to simplify testing and some users may want this behavior. - Renamed `deserialize_bed_missing` to `bed_missing` for ergonomics. - New parse capacity, reusing buffer (didn't seem to speed up much?). - Much better testing against bedtools map. - New testing utility functions: `head_file()` file looking at temp files, assert macros for floats and option floats. - New test case against bedtools map with multiple operations (before, only had unchecked benchmark! yikes) - Added a header to the `example.bed` BED file to mess stuff up :)
- Loading branch information
Showing
15 changed files
with
413 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.