-
Notifications
You must be signed in to change notification settings - Fork 737
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_MEM and BWAMEM2_MEM pass too many indexs #262
Comments
The way they do it in the GATK4 pipelines is to pass the reference.fasta file name as a string. |
Ok. Deleted the last comment because it was getting messy but I see the problem now...unless we default to |
I'm sure we can hack the |
We could but how would having an extra fasta file being staged here help? We would still have the same issues with paths no? I have to say the biggest advantage of passing around and using |
don't want to stage an extra fasta file, just the name |
Yup, but that name would still be found 3 times in the example structure above? |
No, because I would only pass To be honest I would only pass |
Ok. Then I think we will still need some sort of hack in order to use tarred directories containing indices? That is where the |
I'm guessing the |
I think it could be handled in the prepare genome workflow. We could also just throw a |
What do you think of something like that: |
I think that could work. To be honest though I don't know why the |
I think it was @drpatelh |
Yep, I did it without permission because it made sense at the time and it solved quite a few problems with passing the index around and standardising the use of compressed directories too. To be fair, the only edge case is the one you pointed out @emiller88 where you can have different indices nested in the same directory - I suspect this scenario is going to be extremely rare and if so then using the index in the top-level directory is a good shout or the user just re-organises their indices 🤷🏽 As we have discussed at length already, passing the I will have another play with this whilst try to re-prep the rnaseq pipeline for a release. |
I think we can have a |
Ok. So if you are able to get a working prototype together where we don't have to pass the fasta file to the alignment process and where we can use |
I'll look into it. |
OK, so I have #1222 |
cc #627 |
Closing as outdated |
Description of the bug
When using these modules with aws-igenomes the mem fails, because the below lines pick up multiple indexes
This line was introduced by @drpatelh
Some more background
Note the
version0.6.0
andversion0.5.x
Steps to reproduce
Steps to reproduce the behaviour:
I don't really have good steps to reproduce inside of modules right now.
The text was updated successfully, but these errors were encountered: