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

Fixture/some improvements #46

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Conversation

KateSakharova
Copy link
Contributor

@KateSakharova KateSakharova commented Dec 16, 2024

  • updated link to newer DB
  • added exit for empty metauk .faa fasta
  • added bad_quality.csv and no_placement_marker_genes.txt for folder mode. Related to Folder mode missed results for some bins #43. I answered there what is going on.
  • fixed some typos, adjusted logging
  • Updated README

Copy link
Member

@mberacochea mberacochea left a comment

Choose a reason for hiding this comment

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

LGTM, I left some minor comments :)

Copy link
Member

Choose a reason for hiding this comment

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

The output name sounds a bit odd to be. This is the one that contains the marker genes that weren't found in the bins, right?

Maybe "missing_marker_genes.csv"?

write_table(b.state, result_table)

if b.state["marker_set"]["quality"] != "good":
logging.debug("Quality is not good")
Copy link
Member

Choose a reason for hiding this comment

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

Is there a definition of "good" somwhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

kind of...

if len(self.covered) < (0.5 * len(self.all_places)):

Copy link
Member

@mberacochea mberacochea Dec 19, 2024

Choose a reason for hiding this comment

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

I would add that to the README

@KateSakharova KateSakharova merged commit 2abdd43 into master Jan 15, 2025
@KateSakharova KateSakharova deleted the fixture/some_improvements branch January 15, 2025 17:00
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