-
Notifications
You must be signed in to change notification settings - Fork 53
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
Merging changes on develop #1874
Merged
Merged
Conversation
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
[NEW] implemented using slots, so it takes less memory than the dict it replaces. It supports dictionary style indexing, so old code will work. It also aliases certain old keys. [CHANGED] updated return type hints to reflect the new class [CHANGED] updated tests to reflect these changes
[CHANGED] this frees parser from having to always start at the top of a file to figure out the format version.
[CHANGED] previously, this was reversed if a feature was on the minus strand.
[CHANGED] this was a private method on GffAnnotationDb but has been made a function to facilitate chunked reading of Gff files.
[CHANGED] iter_line_blocks() now supports num_lines=None, which results in all lines being returned.
[CHANGED] just calls bound sqlitedb's close method
[CHANGED] incomplete records in a GFF database can be updated
…tations [CHANGED] we achieve a ~75% reduction in RAM for creating a GffAnnotationDb for the human genome by combining iter_line_blocks(), which uses iter_splitlines(), merged_gff_records() and GffAnnotationDb.update_record_spans(). The load_annotations(lines_per_block=500_000) argument controls how many lines are read before the insert is done. We track all record name's that have been inserted and update their existing spans.
[NEW] builds indexes for standard columns, biotype, seqid, start, etc..
[NEW] thanks to comment in code review by khiron, added # codacy:ignore[sql-injection] - limited SQL injection exposure to silence this codacy warning. As this is purely in a test, it doesn't seem to have much risk.
[CHANGED] seems comment ws incorrect
[CHANGED] this is from the bandit tool, which indicates B608 as the error for hardcoded_sql_expressions
Improve performance of annotation db creation, querying
NEW: abstract base class for views, fixes #1865
[NEW] MolType.is_compatible_alphabet() checks that the characters in an alphabet match those in one of the members of the MolType.alphabets. The argument strict=False (the default) means the exact ordering of elements must match. [NEW] AlphabetGroup.iter_alphabets() yields individual alphabets from the group.
Revert "Merge branch 'seq-collections-refactor' into develop"
Pull Request Test Coverage Report for Build 9200124195Details
💛 - Coveralls |
DOC: Add IndelMap param docstring
GavinHuttley
merged commit May 23, 2024
b832dd4
into
seq-collections-refactor
31 of 33 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.