-
Notifications
You must be signed in to change notification settings - Fork 13
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
Building pipeline in BioInstaller #19
Comments
Dear Anoopa, Basic knowledge about Shiny and Shinydashboad may be required. Then you can follows these steps:
Besides,
More plugins see https://github.com/openbiox/bioshiny/tree/master/src/bioshiny/inst/extdata/config. |
Dear Miachol, Thank you so much Miachol. Can you please email ([email protected]) any pipeline.R script for more clarity. Thanks & Regards |
Any R code is ok. One of the key points is that all output files in sprintf("%s/output/%s", dirname(config$shiny_db$db_path), qqkey) will be saved to the database that you can view or download these files in the dashboard page via task character key. Best wishes. |
Hello Jianfeng, Thank you for the instructions and helping us with pipeline scripts. We are able to create pipeline and we have few queries regarding running the pipeline. Once we submit pipeline in Pipeline module, how to take submitted inputs and run our pipeline in backend and show the progress in front end. Our pipeline is for transcriptome analysis and we are not able to send the inputs to the script. Thanks |
As shown in the usage section of README.md, you need to set the shiny workers if you want to run the pipeline.
# start two workers
bioshiny::set_shiny_workers(2)
You can directly use the input variable (e.g. exp_dat in the following example) in your `rcmd_last`.
cmd_last = """
if (exp_dat != "") {
expr0 <- fread(exp_dat)
} else {
data(expr0)
}
“”"
[CEMiTool.paramters.readfiles.input.single_input]
title = "Single sample anlayais:"
title_control = "class = 'input-section-p'"
varname = ["exp_dat"]
input_id = ["input_exp_dat"]
type = ["shiny::selectInput"]
label = ["Gene expression matrix"]
[CEMiTool.paramters.readfiles.input.single_input.choices]
exp_dat = "!!glue {c('', featch_files()$file_path)}"
[CEMiTool.paramters.readfiles.input.single_input.selected]
exp_dat = “"
In your plugin, you may want to use this:
cmd = sprintf(“Rscript /home/ubuntu/efs/Anoopa/pipeline.R %s”, paste0(files, collapse=" “))
system(cmd)
The `rcmd_last` in the pipeline plugins are used to store the R code that need to be executed by the background workers.
Best wishes
… On Jan 20, 2020, at 21:58, anupullanhi ***@***.***> wrote:
Hello Jianfeng,
Thank you for the instructions and helping us with pipeline scripts. We are able to create pipeline and we have few queries regarding running the pipeline.
Once we submit pipeline in Pipeline module, how to take submitted inputs and run our pipeline in backend and show the progress in front end. Our pipeline is for transcriptome analysis and we are not able to send the inputs to the script.
This is the link for the Bioshiny app we created - 18.223.187.14:3285 <x-msg://1/url>
Also, what is the function of rcmd_last
Thanks
Anoopa
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#19?email_source=notifications&email_token=AELGLVQD34PZBQU7VQF4EJLQ6WUZXA5CNFSM4KFGQRV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJMW3VA#issuecomment-576286164>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AELGLVSBCMBIO5USQYWE3X3Q6WUZXANCNFSM4KFGQRVQ>.
|
Dear All,
How can we build pipeline using BioInstaller after the installation of tools/software?
Using the tools mentioned below
I am trying to build a transcriptome pipeline using BioInstaller. There are no manual/ procedure for building pipeline.
Any help regarding this would be appreciated!
Thanks & Regards
Anoopa
The text was updated successfully, but these errors were encountered: