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

Add Bed Classifier #35

Merged
merged 13 commits into from
Feb 14, 2024
Merged

Add Bed Classifier #35

merged 13 commits into from
Feb 14, 2024

Conversation

donaldcampbelljr
Copy link
Member

@donaldcampbelljr donaldcampbelljr commented Feb 12, 2024

Addresses #34

@donaldcampbelljr donaldcampbelljr changed the base branch from dev_phc_bed_Metadata to dev February 13, 2024 21:25
@donaldcampbelljr donaldcampbelljr marked this pull request as ready for review February 13, 2024 21:26
@donaldcampbelljr
Copy link
Member Author

Currently, this is classifying narrowPeak or broadPeak if it has the proper number of columns AND narrowPeak or broadPeak is in the sample name. It is not relying on column names as these are sometimes not provided.

Other classifications are of the form: "bed3+6", "bed4+8" etc.

Finally, if classification cannot be determined: "unknown_bedtype"

Copy link
Member

@khoroshevskyi khoroshevskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are few lines of code that should be fixed

bedboss/bedclassifier/bedclassifier.py Outdated Show resolved Hide resolved
test/test_bedclassifier.py Outdated Show resolved Hide resolved
test/test_bedclassifier.py Outdated Show resolved Hide resolved
Copy link
Member

@khoroshevskyi khoroshevskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@khoroshevskyi khoroshevskyi merged commit b23c0a7 into dev Feb 14, 2024
3 checks passed
@khoroshevskyi khoroshevskyi deleted the dev_assign_bed_format branch February 14, 2024 18:01
@nsheff nsheff added this to the v0.1.0 milestone Feb 16, 2024
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.

3 participants