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

[pre-commit.ci] pre-commit autoupdate #222

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-case-conflict

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
rev: v0.9.3
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand Down
68 changes: 34 additions & 34 deletions bioframe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,25 @@
__version__ = "unknown"

__all__ = [
"SCHEMAS",
"UCSCClient",
"arrops",
"assemblies_available",
"assembly_info",
"assign_view",
"binnify",
"closest",
"cluster",
"complement",
"count_overlaps",
"coverage",
"digest",
"expand",
"fetch_centromeres",
"fetch_chromsizes",
"frac_gc",
"frac_gene_coverage",
"frac_mapped",
"from_any",
"from_dict",
"from_list",
Expand All @@ -24,27 +42,17 @@
"is_sorted",
"is_tiling",
"is_viewframe",
"load_fasta",
"make_chromarms",
"make_viewframe",
"mark_runs",
"merge",
"merge_runs",
"overlap",
"pair_by_distance",
"parse_region",
"parse_region_string",
"sanitize_bedframe",
"to_ucsc_string",
"update_default_colnames",
"binnify",
"digest",
"frac_gc",
"frac_gene_coverage",
"frac_mapped",
"make_chromarms",
"pair_by_distance",
"seq_gc",
"SCHEMAS",
"UCSCClient",
"assemblies_available",
"assembly_info",
"fetch_centromeres",
"fetch_chromsizes",
"load_fasta",
"plot_intervals",
"read_alignments",
"read_bam",
"read_bigbed",
Expand All @@ -53,30 +61,22 @@
"read_pairix",
"read_tabix",
"read_table",
"to_bed",
"to_bigbed",
"to_bigwig",
"assign_view",
"closest",
"cluster",
"complement",
"count_overlaps",
"coverage",
"expand",
"merge",
"overlap",
"mark_runs",
"merge_runs",
"sanitize_bedframe",
"select",
"select_indices",
"select_labels",
"select_mask",
"seq_gc",
"setdiff",
"sort_bedframe",
"subtract",
"trim",
"plot_intervals",
"to_bed",
"to_bigbed",
"to_bigwig",
"to_ucsc_colorstring",
"to_ucsc_string",
"trim",
"update_default_colnames",
]

from .core import (
Expand Down
16 changes: 8 additions & 8 deletions bioframe/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@

__all__ = [
"arrops",
"from_any",
"from_dict",
"from_list",
"from_series",
"is_bedframe",
"is_cataloged",
"is_chrom_dtype",
"is_complete_ucsc_string",
"is_contained",
"is_covering",
"is_overlapping",
"is_sorted",
"is_tiling",
"is_viewframe",
"from_any",
"from_dict",
"from_list",
"from_series",
"make_viewframe",
"sanitize_bedframe",
"is_chrom_dtype",
"update_default_colnames",
"is_complete_ucsc_string",
"parse_region",
"parse_region_string",
"sanitize_bedframe",
"to_ucsc_string",
"update_default_colnames",
]
6 changes: 3 additions & 3 deletions bioframe/core/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
__all__ = [
"is_bedframe",
"is_cataloged",
"is_overlapping",
"is_viewframe",
"is_contained",
"is_covering",
"is_tiling",
"is_overlapping",
"is_sorted",
"is_tiling",
"is_viewframe",
]


Expand Down
4 changes: 2 additions & 2 deletions bioframe/core/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
from .stringops import is_complete_ucsc_string, parse_region_string, to_ucsc_string

__all__ = [
"from_any",
"from_dict",
"from_series",
"from_list",
"from_any",
"from_series",
"make_viewframe",
"sanitize_bedframe",
]
Expand Down
2 changes: 1 addition & 1 deletion bioframe/core/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import pandas as pd

__all__ = [
"update_default_colnames",
"is_chrom_dtype",
"update_default_colnames",
]

_rc = {"colnames": {"chrom": "chrom", "start": "start", "end": "end"}}
Expand Down
2 changes: 1 addition & 1 deletion bioframe/core/stringops.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import pandas as pd

__all__ = [
"is_complete_ucsc_string",
"parse_region",
"parse_region_string",
"is_complete_ucsc_string",
"to_ucsc_string",
]

Expand Down
10 changes: 5 additions & 5 deletions bioframe/extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
from .core.specs import _get_default_colnames, _verify_columns

__all__ = [
"make_chromarms",
"binnify",
"digest",
"frac_mapped",
"frac_gc",
"seq_gc",
"frac_gene_coverage",
"pair_by_distance",
"frac_mapped",
"make_chromarms",
"mark_runs",
"merge_runs"
"merge_runs",
"pair_by_distance",
"seq_gc"
]


Expand Down
24 changes: 12 additions & 12 deletions bioframe/io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
from .schemas import SCHEMAS

__all__ = [
"SCHEMAS",
"UCSCClient",
"assemblies_available",
"assembly_info",
"read_table",
"read_chromsizes",
"read_tabix",
"read_pairix",
"read_bam",
"read_alignments",
"fetch_centromeres",
"fetch_chromsizes",
"load_fasta",
"read_alignments",
"read_bam",
"read_bigbed",
"read_bigwig",
"read_chromsizes",
"read_pairix",
"read_tabix",
"read_table",
"to_bed",
"to_bigwig",
"read_bigbed",
"to_bigbed",
"UCSCClient",
"fetch_centromeres",
"fetch_chromsizes",
"SCHEMAS",
"to_bigwig",
]
14 changes: 7 additions & 7 deletions bioframe/io/fileops.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
from .schemas import BAM_FIELDS, SCHEMAS

__all__ = [
"read_table",
"read_chromsizes",
"read_tabix",
"read_pairix",
"read_alignments",
"load_fasta",
"read_bigwig",
"to_bigwig",
"read_alignments",
"read_bigbed",
"read_bigwig",
"read_chromsizes",
"read_pairix",
"read_tabix",
"read_table",
"to_bigbed",
"to_bigwig",
]


Expand Down
4 changes: 2 additions & 2 deletions bioframe/io/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
from .schemas import SCHEMAS

__all__ = [
"fetch_chromsizes",
"fetch_centromeres",
"UCSCClient",
"fetch_centromeres",
"fetch_chromsizes",
]


Expand Down
24 changes: 12 additions & 12 deletions bioframe/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
from .core.stringops import parse_region

__all__ = [
"assign_view",
"closest",
"cluster",
"complement",
"count_overlaps",
"coverage",
"expand",
"merge",
"overlap",
"select",
"select_mask",
"select_indices",
"select_labels",
"expand",
"overlap",
"cluster",
"merge",
"coverage",
"closest",
"subtract",
"select_mask",
"setdiff",
"count_overlaps",
"trim",
"complement",
"sort_bedframe",
"assign_view",
"subtract",
"trim",
]


Expand Down
Loading