-
Notifications
You must be signed in to change notification settings - Fork 83
Remove R script/notebook package installs (Part 1 of N) #698
Remove R script/notebook package installs (Part 1 of N) #698
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.
These changes look just about ready to merge 👍
I am just concerned about what appears to be the removal of a plot: focal-cn-file-preparation/plots/consensus_seg_cn_autosomes_stranded_stacked_plot.png
Any idea why this may be the case here?
The script seemed to finish without any errors, but I'm also not super familiar with this code. This may be something I could use your help investigating, @cbethell . What notebook/script creates that plot? |
The script that creates that plot is the |
@cbethell , I'm looking at this line:
And don't think this file As of right now, my best guess is that that file is from an older edition where before you added the |
My other guess is maybe you had previously included the consensus file in this next loop:
Let me know if either of my guesses ring a bell, or if not, where in the code you would expect that file should be saved from. |
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.
@cbethell , I'm looking at this line:
--filename_lead "consensus_seg_annotated_cn"_${chromosome_type}_${strategy}
And don't think this file
consensus_seg_cn_autosomes_stranded_stacked_plot.png
which doesn't have theannotated
bit in there, would be saved. Is there somewhere else that you expect this file would be saved from?As of right now, my best guess is that that file is from an older edition where before you added the
annotated
part in the name. Let me know if there's somewhere else I should be looking.
Ahhh this is it! You are correct. The filenames were changed to include annotated
so that plot must have been left over from before that change was made. In that case, this LGTM 🚀
I don't think either of my theories regarding |
@cbethell I re-ran the |
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.
This looks great now @cansavvy!
There is what looks to be the addition of the consensus_seg_with_ucsc_cytoband_status.tsv.gz
but I checked to ensure that none of the data in this file changed and it didn't (just the order of the biospecimen IDs changed and I am guessing this is because the bedtools step does not necessarily retain the order of IDs).
That being said, now it LGTM 🚀
Purpose/implementation Section
What was your approach?
I'm removing R package installations in the scripts in accordance with #690
I'm keeping track of the PRs I file for that issue here and going through the modules alphabetically.
This PR is me having gone through
chromosomal-instability
-focal-cn-file-preparation
, here are the changes in this PR:gistic_plot.Rmd
got rid of:install.packages("BiocManager")
andBiocManager::install("ggbio")
and refreshedgistic_plot.Rmd
only.04-prepare-cn-file.R
, re-ranbash run-prepare-cn.sh
.Directions for reviewers. Tell potential reviewers what kind of feedback you are soliciting.
Everything look okay?
Is the analysis in a mature enough form that the resulting figure(s) and/or table(s) are ready for review?
Yes, but the results shouldn't really be different.
Reproducibility Checklist
No changes are needed here.