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

bwa-memx_index meme wrapper expects specific file name? #1344

Open
Phlya opened this issue May 11, 2023 · 3 comments
Open

bwa-memx_index meme wrapper expects specific file name? #1344

Phlya opened this issue May 11, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Phlya
Copy link
Contributor

Phlya commented May 11, 2023

From what I can tell, the wrapper bwa-memx/index in case of bwa=bwa-meme expects one of the output to be named exactly as {input[0]}.suffixarray_uint64. This file is produced by the first indexing step, and then this exact name is used by the second step. It's is clear from the code of the wrapper:

suffixarray = snakemake.input[0] + ".suffixarray_uint64"

Same thing in the bwa-meme wrapper btw:

suffixarray = snakemake.input[0] + ".suffixarray_uint64"

@Phlya Phlya added the bug Something isn't working label May 11, 2023
Copy link
Contributor

github-actions bot commented Dec 1, 2023

This issue was marked as stale because it has been open for 6 months with no activity.

@github-actions github-actions bot added the Stale label Dec 1, 2023
@fgvieira
Copy link
Collaborator

fgvieira commented Dec 1, 2023

I am not familiar with bwa-meme but, from what I understand, bwa-meme index creates several files. One of them is snakemake.input[0] + ".suffixarray_uint64", that is needed as input for bwa-meme-train-prmi, no?

@Phlya
Copy link
Contributor Author

Phlya commented Dec 4, 2023

From what I remember (it's been a while), the problem is with the case when I have run index manually with a different prefix, and want to rely on snakemake not rerunning jobs for which the output exists. So I can't specify the output files, if they are named different than snakemake expects... (and the suffixes have to be exactly the same for the mapping to work, but the prefix can be anything...)

@github-actions github-actions bot removed the Stale label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants