-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Module:snppileup #24
Module:snppileup #24
Conversation
…to feature/snppileup
It looks like nf-test did not test my module, I need to figure out why |
I set branching rules so that only PRs that have been reviewed with tests passing can be merged to develop or main |
tests are now passing, this PR is ready for review. Related to #16 |
could we also add a stub test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few small comments, but feel free to ignore. Once this comment is addressed: https://github.com/mskcc-omics-workflows/modules/pull/24/files#r1456026585, I think things look good.
- Fix structure - Add correct dbsnp file
Could we please keep it the MR open for now? I'll need to check clinical needs for this module. |
I am going to add you as a reviewer, let me know when you get the clinical needs and if its met with this module |
@nikhil , thanks a lot for working on the module. snp-pileup ${dbsnp} ${prefix}.snp_pileup.gz ${normal} ${tumor} ${unmatched-normal} This is usually for pool control bam. Can be optional if not available. |
@huyu335 i might be wrong but isn't this something that the executor will take care of providing the normal argument based on it being matched or unmatched |
From the clinical version of snp-pileup-wrapper.R: I guess it's very unique to clinical side(?). If so, I am actually okay to just add something like ${other_sequence_file} at the end of the command, and we can add on the workflow side. |
Is this like a feature added to that wrapper on clinical side? As I dont see that option on the current main branch of facets-suite for that script |
Nope, not a feature nor a self-defined wrapper. This R script is from facets suite itself, clinical side just added one additional argument. Please note we don’t need to use this wrapper at all. I put the argument there since you were asking about matched / unmatched. for your reference: |
Make sense then should we extend the functionality to accommodate additional use cases:
|
Let’s do the second one, more leaning towards snp-pileup usage. My recommendation would be adding a variable silimar to ‘args’ from task, in case there will be use cases that need more than 3 bam files. |
Sounds good, I will do the second option to optionally add more bams after the tumor normal pair. |
bb07d92
to
cfdde76
Compare
okay changes have been added, this is ready for review |
Thanks a lot, @nikhil ! Looks great! |
Includes module and tests for snppileup