-
Notifications
You must be signed in to change notification settings - Fork 1
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
elsasserlib on uppmax #18
Comments
...and basically we could try to standardise R scripts in the lab to have a certain standard for how they take input so that everyones scripts could be added to the pipeline or run manually on the same config files, e.g. 'controls.tsv' |
Well the sticking to python preference is not an obligation, really. The underlying logic to me is that Snakemake is a python-based tool, and imports python source. So if there is a command-line tool that does exactly what we need, that's the best, but if there is not, python may fit more nicely to the rest of the code. And also reduces the amount of dependencies. This being said, it is an option that is open for discussion and I'd love to hear further considerations on what would be best in the context of a Snakemake (or any kind of) production pipeline. But of course it is possible to include R code in downstream analysis. And there is even
|
@cnluzon it is possible to use the lib on uppmax as well I guess? It's now really simple and convenient to make a ChromHMM plot, violin plot etc from bigwig files, so I think we could add some R scripts to the pipeline that would run by group as defined in 'controls.tsv'.
You mentioned wanting to keep the pipeline in python as much as possible but I think for this kind of downstream analysis it is very useful to use code that people can easily adjust. E.g. if we had a few plotting scripts executed in the final stage of the pipeline, anyone with R knowledge could rerun them separately, include or exclude data or modify visualization by adapting the R script.
The text was updated successfully, but these errors were encountered: