Skip to content
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 36 commits into from
May 23, 2024
Merged

Merging changes on develop #1874

merged 36 commits into from
May 23, 2024

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    e7962a2 View commit details
    Browse the repository at this point in the history
  2. ENH: added parse.gff.GffRecord class

    [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
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    14abd8e View commit details
    Browse the repository at this point in the history
  3. API: added gff3 flag argumnent to gff_parser

    [CHANGED] this frees parser from having to always start at
        the top of a file to figure out the format version.
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    e7453b8 View commit details
    Browse the repository at this point in the history
  4. MAINT: gff parser now always return feature coordinates start < stop

    [CHANGED] previously, this was reversed if a feature was on the minus
        strand.
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    b0b5f17 View commit details
    Browse the repository at this point in the history
  5. ENH: gff.merged_gff_records function combines coords for the same ID

    [CHANGED] this was a private method on GffAnnotationDb but has been
        made a function to facilitate chunked reading of Gff files.
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    dd57654 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1751f20 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f986e1d View commit details
    Browse the repository at this point in the history
  8. MAINT: modify default values tests for io.iter_splitlines etc...

    [CHANGED] iter_line_blocks() now supports num_lines=None, which results
        in all lines being returned.
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    14ce190 View commit details
    Browse the repository at this point in the history
  9. ENH: AnnotationDb.close() method for GFF and Genbank

    [CHANGED] just calls bound sqlitedb's close method
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    fdd70f0 View commit details
    Browse the repository at this point in the history
  10. MAINT: tweak test

    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    524667c View commit details
    Browse the repository at this point in the history
  11. API: added GffAnnotationDb.update_record_spans() method

    [CHANGED] incomplete records in a GFF database can be updated
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    db49b0d View commit details
    Browse the repository at this point in the history
  12. ENH: reduce memory required for loading GFF annotations via load_anno…

    …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.
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    b21d03b View commit details
    Browse the repository at this point in the history
  13. ENH: added AnnotationDb.make_indexes() to improve query speed

    [NEW] builds indexes for standard columns, biotype, seqid, start, etc..
    GavinHuttley committed May 15, 2024
    Configuration menu
    Copy the full SHA
    624714f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d6873e2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    23f9e93 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4976b16 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. TST: skip codacy check on test sql query construction

    [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.
    GavinHuttley committed May 16, 2024
    Configuration menu
    Copy the full SHA
    e0296a3 View commit details
    Browse the repository at this point in the history
  2. MAINT: removed comment line to turn of codacy warning

    [CHANGED] seems comment ws incorrect
    GavinHuttley committed May 16, 2024
    Configuration menu
    Copy the full SHA
    7bd4bd8 View commit details
    Browse the repository at this point in the history
  3. MAINT: fix typo

    GavinHuttley committed May 16, 2024
    Configuration menu
    Copy the full SHA
    b12a1ba View commit details
    Browse the repository at this point in the history
  4. MAINT: another attempt to turn of sql-injection warning

    [CHANGED] this is from the bandit tool, which indicates B608
        as the error for hardcoded_sql_expressions
    GavinHuttley committed May 16, 2024
    Configuration menu
    Copy the full SHA
    db712ed View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1869 from GavinHuttley/develop

    Improve performance of annotation db creation, querying
    GavinHuttley committed May 16, 2024
    Configuration menu
    Copy the full SHA
    ea44afc View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    427348d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    177a114 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee211cf View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    43368e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aefcfa8 View commit details
    Browse the repository at this point in the history
  3. DOC: fix docstring

    KatherineCaley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    388b3e7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1934af4 View commit details
    Browse the repository at this point in the history
  5. STY: black

    KatherineCaley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    d90ffef View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1870 from KatherineCaley/develop

    NEW: abstract base class for views, fixes #1865
    GavinHuttley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    ac809bf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8cffa9e View commit details
    Browse the repository at this point in the history
  8. ENH: added method to moltype for checking alphabet compatability

    [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.
    GavinHuttley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    3a72310 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d384bca View commit details
    Browse the repository at this point in the history
  10. Revert "Merge branch 'seq-collections-refactor' into develop"

    This reverts commit d384bca, reversing
    changes made to 3a72310.
    KatherineCaley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    ba843df View commit details
    Browse the repository at this point in the history
  11. Merge pull request #1875 from KatherineCaley/develop

    Revert "Merge branch 'seq-collections-refactor' into develop"
    GavinHuttley committed May 22, 2024
    Configuration menu
    Copy the full SHA
    a474b08 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Merge pull request #1873 from fredjaya/develop

    DOC: Add IndelMap param docstring
    GavinHuttley committed May 23, 2024
    Configuration menu
    Copy the full SHA
    2f7c86a View commit details
    Browse the repository at this point in the history