-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sequences::region_map_into_granges()
, GRanges::map_into_array*()
…
…added, etc. - Renamed `region_apply` in `region_map` to be more consistent with Rust's naming. - `retain_seqnames`, etc for `TsvRecordIterator`. - New `Sequences::region_map_into_granges()`, which applies a function to regions of a sequence, and puts the results in a new `GRanges`. - New `Sequences` test cases corresponding to `granges_test_case_01()`, and lots of new `Sequence`-related tests. - Added `map_into_array1()` and `map_into_array2()` for the --feature=ndarray, with tests. - `take_ranges()` and `take_both()` added. - New `GRanges::midpoints()` method, with tests. - New `GRanges::data_indices()` method, to build a `GenomeMap` out of the data indices. - New `GRanges::data_by_seqnames()` which builds a `GenomeMap` of `Vec<U>` of the data, by sequence name. `GRanges::data_refs_by_seqnames()` also added, for references. - `GRanges::into_vecranegs()` added, with `From` method for `COITreesEmpty` to `VecRangesEmpty` added since it's needed. - Cleaned lifetime out of `IndexedDataContainer`, brought down to assoc. type level. Cleans up things a lot! - `into_array1()` and `into_array2()` and tests. - Remove section on readme on slow benchmarks -- this is now GH issue #4.
- Loading branch information
Showing
26 changed files
with
785 additions
and
202 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "granges" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["Vince Buffalo <[email protected]>"] | ||
|
@@ -31,9 +31,8 @@ csv = "1.3.0" | |
serde = { version = "1.0.197", features = ["derive"] } | ||
|
||
[features] | ||
# cli = [ "clap" ] # TODO make feature | ||
dev-commands = [ ] | ||
test_bigranges = [] # NOTE: not used yet, for tests on large files | ||
bench-big = [] | ||
polars = ["dep:polars"] | ||
ndarray = ["dep:ndarray", "dep:ndarray-npy"] | ||
big-position = [] | ||
|
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
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.