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

parsebam.py - added optional arguments to run_pycoverm #199

Conversation

SebastianDall
Copy link

Added "None" to optional arguments in parsebam.Abundance.run_pycoverm.

In the logs originating from the bam_abundance rule in the avamb workflow I got the following error:

"vamb/workflow_avamb/src/write_abundances.py", line 30, in
write_abundances(opt.msk, opt.b, opt.min_id, opt.out)
File "vamb/workflow_avamb/src/write_abundances.py", line 15, in write_abundances
(abundance, _) = vamb.parsebam.Abundance.run_pycoverm(
TypeError: run_pycoverm() missing 1 required positional argument: 'target_identifiers'

After adding the default values for the optional arguments and repositioning them, the snakemake pipeline continued.

@jakobnissen
Copy link
Member

Thanks for the heads up. I've elected to fix this in the script instead in #202

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