-
Notifications
You must be signed in to change notification settings - Fork 82
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
GUI Ideas #11
Comments
So in laymans terms:
Let me know if that is a correct understanding. I think it would also be good to have a config file 'viewer' for a user to review the settings have used in a particular run. I have my own personal bash script for this for EAGER 1.9, and I found this quite useful. |
Yup, exactly my idea on this! Regarding the viewer part - it would be quite easy to provide such a thing! NXF provides a runtime report with all the parameters and we can write that out too - plus parsing a JSON object and displaying the same kind of information is also possible and could e.g. be a little student project. |
This could be a cool idea to generalise and write into the The second could be better, as then we'll also be able to define settings for the pipeline outside of the Suggested example pipeline config: params.reads = 'data/*_{R1,R2}.fastq.gz'
params.singleEnd = false
params.numIterations = 10
params.runName = 'My Test Run'
nfcore_gui {
params {
reads {
type: 'file'
required: true
helptext: 'Path to the input data'
}
singleEnd {
type: 'bool'
}
numIterations {
type: 'num'
min: 0
max: 10
}
/* runName could be default: string, not required */
}
} The GUI could then take the default values from the config and use this to pre-fill the controls. |
Yes, the I just wonder how big in terms of an effort it would be to create a simple (yet somewhat good looking GUI) out of this without confusing users too much. Should be feasible to hide advanced parameters to make the "main GUI" cleaner? |
Oh and yes - I think this could very well be a general thing for |
Continuing that discussion here, as it won't be EAGER only specific (phew!): nf-core/tools#61 |
One idea would be to have a simple GUI that fetches a pipeline revision from this GitHub (e.g. with -r ) and then automatically offers the available params. entries as configurable options in dynamic GUI.
e.g. the GUI application just queries this Github and finds in
main.nf
some parameters to configure adapter clipping in more detail, thus we could provide a means to offer all these parameters in a GUI for end users in a dynamic way. Explanation of parameters could be done using a separate mapping file with<param.name, "GUI Name of param.name", "Short description"
, that we can gradually update too.This way, we will always have a functional simple GUI application for end users that are not willing to use the CLI only + have the possibility to create a working JSON object for a specific pipeline version in the future too.
Let me know what you think @jfy133!
The text was updated successfully, but these errors were encountered: