Basics of SoS workflow system
More on SoS workflow system
Use SoS in SoS Notebook
SoS Notebook comes with an extensive set of documentation but it can be daunting to dive into it to get the information you need.
If you have a casual question like if certain feature exists or how certain things are handled, it is better to ask it in our gitter channel. You can also use the button at the top right corner of the homepage.
If you have a more serious question or suggestion, please feel free to post to our issue tracker. SoS consists of tens of modules and related issue trackers but free feel to post to any of them because it is easy for us to move the issue to an appropriate tracker if needed.
Our documentation is hosted on our live server and can be edited directly. If you spot an error or feel like contributing to the document, please
!create-pr <Shift-Enter> in the console panel to send us a PRglobal and other sections)parameter statement-c)file_target, sos_variable, R_Library, and more) sos_targets data typeget_output and expand_pattern)input statement
output statement
depends statement active, allow_error, args, container, engine, default_env, env, input, output, stdout, stderr, template, template_name, tracked, and workdir)run, sh, and bash)Python, R, JavaScript etc)report, pandoc, and RMarkdown)warn_if, skip_if, done_if and fail_if) downloadcontainer and action docker_build)container and engine, action singularity_build)task statement and option -q, task options queue, shared, env, prepend_path)~/.sos/hosts.yml and sos remote command) mem, cores, walltime, and nodes) tags) trunk_size and trunk_workers) workdir, to_host and from_host)remote target) named_output) output_from) sos_step) provides)shared and target sos_variable) Please cite the following publication if you use SoS workflow engine for your work:
Script of Scripts: a pragmatic workflow system for daily computational research Gao Wang and Bo Peng (2019) PLoS Computational Biology. doi: 10.1371/journal.pcbi.1006843
Here are a list of examples from the publication:
Please follow instructions here to reproduce all but the last (due to data accessibility restrictions) examples.
SoS scripts for the maintenance of SoS
Pedagogical examples
trunk_size to group the tasks. This example also demonstrates the use of option shared to collect results from tasks as variablesremote() and step option remoteReal-world applications