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

Calling binny within an existing snakemake pipeline #39

Open
EisenRa opened this issue Oct 13, 2022 · 2 comments
Open

Calling binny within an existing snakemake pipeline #39

EisenRa opened this issue Oct 13, 2022 · 2 comments

Comments

@EisenRa
Copy link

EisenRa commented Oct 13, 2022

G'day, I recently read the preprint and am keen to try out binny.

I'd like to implement it within an existing snakemake pipeline that I developed, which already handles sample inputs, assembly, mapping etc. I see that binny calls snakemake, and requires a config file to run, so I'm wondering whether it's possible to call binny like other binners (e.g. semibin single_easy_bin -i 'assembly.fasta' -b 'sample.bam' -o 'outputdir')?

Cheers,
Raphael

@ohickl
Copy link
Contributor

ohickl commented Oct 13, 2022

Hi Raphael,

you could implement it as a Snakemake Module like e.g. here (bit experimental) or have rules that would handle the setup and config file generation with a final rule calling the binny wrapper with the generated config.
I will work on an updated wrapper that will allow calls directly specifying arguments like your example. Hopefully ill get to it soon.

Best

Oskar

@EisenRa
Copy link
Author

EisenRa commented Oct 14, 2022

Hi Oskar,

Thank you for the quick response! Great, I think I will wait for the updated wrapper :-). Feel free to reach out if I can help with testing.

Cheers,
Raphael

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

No branches or pull requests

2 participants