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

Release 0.5.0 #88

Merged
merged 55 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
55680c2
updated regions number
khoroshevskyi Oct 25, 2024
e127a24
added qdrant label colection uploader
khoroshevskyi Oct 25, 2024
2da625b
removed one plot from stats and updated tss dist
khoroshevskyi Oct 28, 2024
4bfef80
added gc content and isort
khoroshevskyi Oct 29, 2024
4f638ae
added skipper to run-pep
khoroshevskyi Oct 29, 2024
6116916
few tweaks
khoroshevskyi Oct 29, 2024
ad4d6e4
added bedset annotation from pep
khoroshevskyi Oct 30, 2024
272f17a
updated bbconf requirements
khoroshevskyi Oct 30, 2024
4b5ceaf
added reference genome predictor
khoroshevskyi Oct 30, 2024
2fff1b4
some more improvements on skipper
khoroshevskyi Nov 1, 2024
37e863e
updated version
khoroshevskyi Nov 1, 2024
dc86e56
for debugging
khoroshevskyi Nov 1, 2024
3657166
for debugging2
khoroshevskyi Nov 1, 2024
70006e6
updated cli, requirements and R script
khoroshevskyi Nov 3, 2024
7080c2d
remove debugger lines
khoroshevskyi Nov 4, 2024
ac7877f
Work on new reindexing
khoroshevskyi Nov 4, 2024
76ecb0e
fixed r stats bug, and improved genome predictor
khoroshevskyi Nov 5, 2024
f76b179
fix of not recreation of bedset in geo uploader
khoroshevskyi Nov 7, 2024
86ba98b
fixed bedqc messaging error
khoroshevskyi Nov 7, 2024
c0a54f5
added mouse standard genome name
khoroshevskyi Nov 7, 2024
f674080
Work on bbuploader:
khoroshevskyi Nov 19, 2024
6f69bdf
increased length of genome standardization, updated bbuploader cli
khoroshevskyi Nov 19, 2024
2631cbd
optimization of bbuploader
khoroshevskyi Nov 25, 2024
809bca7
work on partial processing and lint
khoroshevskyi Dec 9, 2024
1d57cfb
Added cli light
khoroshevskyi Dec 9, 2024
15821dd
strict versions
khoroshevskyi Dec 9, 2024
3726bd1
added light mode to bedmaker
khoroshevskyi Dec 9, 2024
97d4570
Added light mode to bedbuncher and cli
khoroshevskyi Dec 16, 2024
60563bd
Added run unprocessed files
khoroshevskyi Dec 18, 2024
5ce2d6d
added reprocess functions for bed and bedsets and cli options
khoroshevskyi Dec 18, 2024
6f0d977
Merge pull request #85 from databio/speed_improvements
khoroshevskyi Dec 18, 2024
a4f4cea
changed light -> lite
khoroshevskyi Dec 19, 2024
a75b987
Merge pull request #87 from databio/partial_processing
khoroshevskyi Dec 19, 2024
fa4f5fe
updated requirements
khoroshevskyi Jan 6, 2025
63e6129
updated version
khoroshevskyi Jan 6, 2025
2015082
updated tests
khoroshevskyi Jan 6, 2025
6710811
updated python version in test
khoroshevskyi Jan 6, 2025
bfa1c42
updated python version in test - reverting
khoroshevskyi Jan 6, 2025
7447966
error fix
khoroshevskyi Jan 6, 2025
a0ba1a3
updated bedmaker logger
khoroshevskyi Jan 6, 2025
8b67bd4
updated search limit
khoroshevskyi Jan 7, 2025
8230cec
updated docstring in cli
khoroshevskyi Jan 7, 2025
f3e9856
added logging provided parameters
khoroshevskyi Jan 7, 2025
1a49462
updated logger in bedmaker
khoroshevskyi Jan 7, 2025
7414e1e
updated exceptions in geo uploader
khoroshevskyi Jan 7, 2025
db77732
updated reprocessing of the files
khoroshevskyi Jan 7, 2025
36927d1
lint
khoroshevskyi Jan 7, 2025
a52a57f
updated geo bed file uploader
khoroshevskyi Jan 8, 2025
502aa63
fixed #81
khoroshevskyi Jan 13, 2025
2cb8568
updated docs
khoroshevskyi Jan 14, 2025
fc9152e
updated requirements
khoroshevskyi Jan 14, 2025
b34c486
fixed #23
khoroshevskyi Jan 16, 2025
828ed89
Release updates
khoroshevskyi Jan 16, 2025
de9cc36
Release updates
khoroshevskyi Jan 16, 2025
ff1ec38
deleted unused code
khoroshevskyi Jan 16, 2025
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
13 changes: 8 additions & 5 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,25 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.11"]
python-version: ["3.9", "3.12"]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install uv
run: pip install uv

- name: Install dev dependencies
run: if [ -f requirements/requirements-dev.txt ]; then pip install -r requirements/requirements-dev.txt; fi
run: if [ -f requirements/requirements-dev.txt ]; then uv pip install -r requirements/requirements-dev.txt --system; fi

- name: Install package
run: python -m pip install .
run: uv pip install . --system

# - name: Run pytest tests
# run: pytest tests -x -vv
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ include bedboss/tokens/*
include bedboss/tokens/*
include bedboss/bbuploader/*
include bedboss/refgenome_validator/chrom_sizes/*
include bedboss/scripts/*
55 changes: 53 additions & 2 deletions bedboss/bbuploader/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import typer

from bedboss._version import __version__

app_bbuploader = typer.Typer(
Expand All @@ -21,7 +22,7 @@ def upload_all(
None, help="The latest date when opep was updated [Default: today's date]"
),
search_limit: int = typer.Option(
10, help="Limit of projects to be searched. [Default: 10]"
50, help="Limit of projects to be searched. [Default: 50]"
),
search_offset: int = typer.Option(
0, help="Limit of projects to be searched. [Default: 0]"
Expand All @@ -33,17 +34,36 @@ def upload_all(
None,
help="Reference genome [Default: None] (e.g. hg38) - if None, all genomes will be processed",
),
preload: bool = typer.Option(
True, help="Download bedfile before caching it. [Default: True]"
),
create_bedset: bool = typer.Option(
True, help="Create bedset from bed files. [Default: True]"
),
rerun: bool = typer.Option(True, help="Re-run all the samples. [Default: False]"),
overwrite: bool = typer.Option(
False, help="Overwrite existing bedfiles. [Default: False]"
),
overwrite_bedset: bool = typer.Option(
True, help="Overwrite existing bedset. [Default: False]"
),
rerun: bool = typer.Option(False, help="Re-run all the samples. [Default: False]"),
run_skipped: bool = typer.Option(
True, help="Run skipped projects. [Default: False]"
),
run_failed: bool = typer.Option(True, help="Run failed projects. [Default: False]"),
standardize_pep: bool = typer.Option(
False, help="Standardize pep with BEDMESS. [Default: False]"
),
use_skipper: bool = typer.Option(
False,
help="Use skipper to skip projects if they were processed locally [Default: False]",
),
reinit_skipper: bool = typer.Option(
False, help="Reinitialize skipper. [Default: False]"
),
lite: bool = typer.Option(
False, help="Run the pipeline in lite mode. [Default: False]"
),
):
from .main import upload_all as upload_all_function

Expand All @@ -57,10 +77,16 @@ def upload_all(
download_limit=download_limit,
genome=genome,
create_bedset=create_bedset,
preload=preload,
rerun=rerun,
run_skipped=run_skipped,
run_failed=run_failed,
standardize_pep=standardize_pep,
use_skipper=use_skipper,
reinit_skipper=reinit_skipper,
overwrite=overwrite,
overwrite_bedset=overwrite_bedset,
lite=lite,
)


Expand All @@ -78,14 +104,33 @@ def upload_gse(
None,
help=" reference genome to upload to database. If None, all genomes will be processed",
),
preload: bool = typer.Option(
True, help="Download bedfile before caching it. [Default: True]"
),
rerun: bool = typer.Option(True, help="Re-run all the samples. [Default: False]"),
run_skipped: bool = typer.Option(
True, help="Run skipped projects. [Default: False]"
),
run_failed: bool = typer.Option(True, help="Run failed projects. [Default: False]"),
overwrite: bool = typer.Option(
False, help="Overwrite existing bedfiles. [Default: False]"
),
overwrite_bedset: bool = typer.Option(
True, help="Overwrite existing bedset. [Default: False]"
),
standardize_pep: bool = typer.Option(
False, help="Standardize pep with BEDMESS. [Default: False]"
),
use_skipper: bool = typer.Option(
False,
help="Use local skipper to skip projects if they were processed locally [Default: False]",
),
reinit_skipper: bool = typer.Option(
False, help="Reinitialize skipper. [Default: False]"
),
lite: bool = typer.Option(
False, help="Run the pipeline in lite mode. [Default: False]"
),
):
from .main import upload_gse as upload_gse_function

Expand All @@ -95,10 +140,16 @@ def upload_gse(
gse=gse,
create_bedset=create_bedset,
genome=genome,
preload=preload,
rerun=rerun,
run_skipped=run_skipped,
run_failed=run_failed,
standardize_pep=standardize_pep,
use_skipper=use_skipper,
reinit_skipper=reinit_skipper,
overwrite=overwrite,
overwrite_bedset=overwrite_bedset,
lite=lite,
)


Expand Down
2 changes: 1 addition & 1 deletion bedboss/bbuploader/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PKG_NAME = "bbuploader"

FILE_FOLDER_NAME = "files"
FILE_FOLDER_NAME = "geo_files"

DEFAULT_GEO_TAG = "samples"

Expand Down
Loading
Loading