-
Notifications
You must be signed in to change notification settings - Fork 82
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
Rename BAM-specific flags #76
Comments
I agree here, should rename these more appropriately... |
Would you mind having a look at this PR @jfy133 ? |
To continue discussion of the PR: I think we've been getting our wires crossed slightly. To re-conceptualise this step - the main question is what do we want to do with the unmapped reads. So I think the BAM related flags after mapping should always refer to that - as AFAIK there would be no case where we wouldn't downstream analyse mapped reads (or at least shouldn't). So what do you think of the following scenarios: 1) Keep mapped/unmapped together 2) Separate mapped/unmapped 3) Discard mapped/unmapped Misc: Discard mapped/unmapped optionally convert unmapped BAM to FASTQ
OR
|
This sounds great! I would second the option for converting BAM to FASTQ, as it's one less step to do post-pipeline. |
Yes, absolutely! I will make this possible exactly as proposed in #76 (comment) ! |
I Implemented 1-3 in the exact same way. Furthermore, I added an optional step for users to set |
Adjustments for #76 , rename certain options to be more explicit
Going into testing now with #97 . will close for now. |
Is your feature request related to a problem? Please describe.
The flag
--bam_keep_mapped_only
may be misleading. While the help message saysOnly consider mapped reads for downstream analysis. Unmapped reads are extracted to separate output.
, the actual flag may suggest to the user that by 'keeping', unmapped reads would be discarded completely.The flag
--bam_filter_reads
is also confusing. While the help message saysKeep all reads in BAM file for downstream analysis
the flag suggests something is being filtered (either specific reads retained, or filtered out).Describe the solution you'd like
Perhaps rename the
--bam_keep_mapped_only
flag to be more specific such as--bam_analyse_mapped_only
Perhaps rename
--bam_filter_reads
to--bam_retain_all_reads
. Optionally, change function of flag and name to e.g.: ``--bam_discard_unmapped`.The text was updated successfully, but these errors were encountered: