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

fix bigwig_outlier_bed handling of qlo #6164

Merged
merged 28 commits into from
Jul 21, 2024
Merged

Conversation

fubar2
Copy link
Member

@fubar2 fubar2 commented Jul 21, 2024

FOR CONTRIBUTOR:

  • This PR updates an existing tool or tool collection

Tests were producing some empty files because the handling of allowed missing qlo was broken.
This fixes qlo handling; ensures all test diffs are against non-empty samples; and adds a new test for missing qlo.

Update: also bumps to pybigtools 0.2.0 - many test coordinates have changed so need to take a closer look at what it's finding - had assumed it was correct

fubar2 and others added 26 commits July 2, 2024 11:35
Single select to configure 3 possible outputs.

Upper quantile now required. Chide if no low quantile and no output because low not in the choice.

Help vastly expanded.
makeTableRow renamed
@fubar2 fubar2 changed the title Bwoutbed fix bigwig_outlier_bed handling of qlo Jul 21, 2024
@bgruening
Copy link
Member

Can you please bump the version number?

test outputs are different :(
@fubar2
Copy link
Member Author

fubar2 commented Jul 21, 2024

Can you please bump the version number?

Yes! Thanks @bgruening - turns out there's a new release and it looks like all the test outputs are a little different.
Who can you trust?

@bgruening
Copy link
Member

Scary those changes ...

@bgruening bgruening merged commit 92ffe42 into galaxyproject:main Jul 21, 2024
11 checks passed
nilchia pushed a commit to pavanvidem/tools-iuc that referenced this pull request Aug 24, 2024
* adding new tool bigwig_outlier_bed

* remove redundant script

* replace test.bw with test-data/1.bigwig to decrease test outputs below 1MB maximum for linter.

* added bigtools to bio.tools for this new entry
added edam

* Add a proper version command by importing pybedtools

* fix doi for pybigtools

* Incorporate Bjoern's ideas.

Single select to configure 3 possible outputs.

Upper quantile now required. Chide if no low quantile and no output because low not in the choice.

Help vastly expanded.

* Added the bigwig metadata name as the label for bed feature name so no need for the user to supply one.

* Clearing out old test data. Passes tests here but diffs in CI. Something odd.

* readding fixed test outputs again again.

* Ah. was overwriting a bed with the two bigwig test.

* remove print leftovers

* Separated python script to enable access for linting in CI

* fix flake8 complaints with black on the new separate python script

* fix imports

* Do not make the output contig statistics table if there's no table output needed.

* make the table calculations optional and mostly as a separate function since they may not be needed.

* Clean up some comments.
makeTableRow renamed

* Update tools/bigwig_outlier_bed/.shed.yml

Co-authored-by: Björn Grüning <[email protected]>

* Update tools/bigwig_outlier_bed/.shed.yml

Co-authored-by: Björn Grüning <[email protected]>

* Clean up all field prompt text and consolidate the help text into chunks.

* remove test for both qhi/qlo because qhi is not optional

* fix broken qlo parameter passing and tests - add test for no qlo.

* Flake fix

* update to 0.2.0 pybigtools
test outputs are different :(

---------

Co-authored-by: Björn Grüning <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants