-
Notifications
You must be signed in to change notification settings - Fork 2
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
Diff bind reorg #49
Diff bind reorg #49
Conversation
Removing up.bed and down.bed
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.
Hi Ryan,
This looks great! Just two things I really want fixed for this pull request, which are associated with prep_diffbind.py and the cluster.json.
Tovah
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.
Thank 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.
Everything looks good! The only suggestion I have which can be added later is to unset the R_LIBS_USER
variable in the shell command of any rules relying on module load versions of R. If it's needed, we can add this with the next PR though.
# Using SINGULARITY_CONTAINALL or APPTAINER_CONTAINALL | ||
# causes downstream using where $SLURM_JOBID is | ||
# NOT exported within a container. | ||
if 'R_LIBS_SITE' in my_env: |
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.
Are we still relying on any module load R
for any rules? If so, one thing that we should also do is unset R_LIBS_USER
in any rule's shell commands that are using a module load verison of R.
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.
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.
When R is module loaded, this environment variable is set, so even if you are unsetting this variable right before submission of the master job, if the rule module loads R, it will be reset. To handle this, we will need to unset that variable at the rule-level in the shell command right before we run anything R related.
Diff bind reorg (OpenOmics#49)
Reorganization of diffbind + uropa rule sets
Minor bugs and issues addressed along the way