-
Notifications
You must be signed in to change notification settings - Fork 81
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
Manually supplied reference indexes not found if not ending in .fasta #150
Comments
@apeltzer thinking about it, was it a nextflow specific reason why you decided to rename it as |
I just thought it would make sense to have a single point of failure for these kinds of things. Having references being named (fa, fna, fn, fastA, fasta ...) makes things potentially a bit annoying, especially when some tools expect e.g. |
I can store it in a single process, but you cannot have a process setting a |
Mm true. But we could as far as possible give the most common (
Fair enough. If that makes life more complicated don't worry. Maybe it also makes sense to add a note to the documentation saying it's 'better' if the reference name ends in |
Agreed! I’ll give this some thought once this week is over 😅😅 |
Is this the case when you recreate an index once or is it just the case because you already have existing reference indices with the formerly allowed |
The latter case. We had already created the indices a year ago or so. For many groups who work on the same organism will already have that... |
Working on this in #194 |
Fixed in #194 |
Describe the bug
When supplying a reference FASTA file, and manually supplying pre-generated reference indexes (
bwa
,samtools
,picard
etc.), the current behavior of EAGER2 renaming a supplied fasta from the file ending to specifically.fasta
breaks finding of the corresponding indices.i.e. if the reference and and index file are supplied as
reference.fa
andreference.fa.idx
, it appears EAGER2 renamesreference.fa
toreference.fasta
, and then looks forreference.fasta.idx
- which does not exist.See #131 as this the original source of the issue.
Note: the error message is quite unclear and requires some hunting/familiarity with the code and would not be useful for a new user.
To Reproduce
This was run using EAGER version 2.0.5
The text was updated successfully, but these errors were encountered: