-
Notifications
You must be signed in to change notification settings - Fork 186
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
Hisat2 align on large index #2537
Comments
I agree. The user providing the prefix sounds safer. Do you think you can make a PR with those changes? |
Yes, I will provide a PR |
Actually, I think it might be better to just provide all the index files as input. Something like:
Then, I think you just need to delete line:
And fix line:
|
I think the problem is, if you build the index within the workflow, you will not know in advance if it is a large index. |
Unless you force |
Hi, getting back to this one - sorry was quite busy the last weeks. Well for me, both are ok. As for the STAR wrapper, I guess it would be more portable not to provide the exact filenames and forcing the user to build the large index to enforce portability. Also I realised that my previous concern (multiple indices in the same directory) is not valid, as the wrapper is supposed to be called with the directory as output, so it will be overwritten by the next indexing run. |
This issue was marked as stale because it has been open for 6 months with no activity. |
Snakemake version
snakemake-wrappers: 3.3.3
Describe the bug
The wrapper looks for the index file checking for .ht2 file extension only. So this fails when a large index was produced with extension .ht2l
Fixing
A quick and dirty fixing would just use
instead of
... or search for both and combine
However I would rather vote for the user to provide the prefix instead of searching in the provided directory, as problems would arise with multiple indexes in the provided path.
The text was updated successfully, but these errors were encountered: