-
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
BAM rename flags #2 #92
Comments
Your response on #81: No I honestly agree, my statement was just short because I'm jumping from meeting to meeting atm :-D would then require specifiying three parameters however, which is a bit much but I see no possibility to add that without these :-) Indeed. The only other system we could use would be condensing those three use cases described above into a single flag with multiple options. So
Would that be programmatically more complicated, based on the way you're currently structuring the code? |
Need to wrap my mind around this first :-) |
Uhh my explanation might not have been great, and I also got slightly muddled . What about a really simple case:
In pseudocode (if it helps): Assuming we have as start
then we do the following:
|
That should work and is at least explanatory to everyone! I might tune it a bit, though I think we can do it in the same way. Love the one option controls the behaviour thing! |
Ok, implemented this in the latest PR :-) |
Hm, ok. If you want to keep it the way it is then we need to consider changing the description slightly
Removing references to bam or fastq in the description makes it clearer you are not trying to actually define the file type in this flag.
That said, I still don't think this makes complete sense/is unnecessarily over complicated.
In principle I think it makes it simpler to just have a single: --bam_discard_unmapped_bam.
Use cases would be, assuming someone wants the unmapped reads:
I think this would also work programatically. The current system in this commit I think has mixed messages with the one flag saying you do want to discard something but then an entire other flag that saying you also want to discard something, but additionally which one. The messages behind the flags are sort of overlapping.
Does this make sense? Or do you disagree?
The text was updated successfully, but these errors were encountered: