-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sfitz fix plot venn bug #232
Conversation
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.
Looks good to me! I added my adapted script for the plotting, some arguments might be useful?
MuSE = 'green', | ||
Strelka2 = 'blue' | ||
) | ||
|
||
## Function: plot venn diagram ##################################################################### | ||
plot.venn <- function(tool.variants, outfile) { |
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.
@sorelfitzgibbon
I have adapted your script for plotting and changed some settings of venn.diagram
here: https://github.com/uclahs-cds/project-disease-HeadNeckTumor-ATHC-000072-WholeGenomeLandscape/blob/b1c5fe1d7244aeea37ca40bcb4b2b8bd948b3057/analysis_WGS/pipeline/recSNV/consensusVCF/plot.venn.diagram.R#L41
You can check if some of the arguments might be useful to you?
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.
Worth looking into if any arguments can be used/added
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.
@maotian06 and I decided nothing needs to be added at this time
…sfitz-fix-plotVenn-bug
@yashpatel6 Testing was rerun after merging in main (including merged generic resources branch). Ready to go methinks. |
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.
Looks good!
MuSE = 'green', | ||
Strelka2 = 'blue' | ||
) | ||
|
||
## Function: plot venn diagram ##################################################################### | ||
plot.venn <- function(tool.variants, outfile) { |
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.
Worth looking into if any arguments can be used/added
Description
plot-venn.R was assuming 4 input algorithms. It's now fixed so it works with any number of algorithms greater than 2.
Testing Results
/hot/code/sfitzgibbon/gitHub/uclahs-cds/pipeline-call-sSNV/test/yaml/a_mini_n2-std-input.yaml
/hot/code/sfitzgibbon/gitHub/uclahs-cds/pipeline-call-sSNV/test/config/a_mini-all-tools-except-muse.config
/hot/software/pipeline/pipeline-call-sSNV/Nextflow/development/unreleased/sfitz-fix-plotVenn-bug
Checklist
I have read the code review guidelines and the code review best practice on GitHub check-list.
I have reviewed the Nextflow pipeline standards.
The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].
I have set up or verified the branch protection rule following the github standards before opening this pull request.
I have added my name to the contributors listings in the
manifest
block in thenextflow.config
as part of this pull request; I am listed already, or do not wish to be listed. (This acknowledgement is optional.)I have added the changes included in this pull request to the
CHANGELOG.md
under the next release version or unreleased, and updated the date.I have updated the version number in the
metadata.yaml
andmanifest
block of thenextflow.config
file following semver, or the version number has already been updated. (Leave it unchecked if you are unsure about new version number and discuss it with the infrastructure team in this PR.)I have tested the pipeline on at least one A-mini sample.