View source: R/salmon_runner.R
run_salmon | R Documentation |
Generate commands to run salmon on the files from a standardized sample sheet as the ones we exchange with collaboration partners
run_salmon(
samples_info_sheet,
salmon_bin = "salmon",
salmon_index_dir,
salmon_output_dir = "_quants",
quants_prefix = "sample_scenarioid_sampleid_",
salmon_ncores = 12,
salmon_options = "--validateMappings",
create_script = TRUE,
script_name = "salmonrunner.sh",
display_commands = TRUE,
force = FALSE
)
samples_info_sheet |
Character string, |
salmon_bin |
Character, specifying the name of the executable to be run
as |
salmon_index_dir |
Character, defines the folder where the salmon index is located. Needs to be specified by the user. |
salmon_output_dir |
Character, specifies the folder where the outputs of salmon will be written into. Sensibly defaults to "_quants", which matches the folder structure we are familiar with |
quants_prefix |
Character - what string should be prepended to the values
of the |
salmon_ncores |
Numeric, number of cores to be used by salmon |
salmon_options |
Character string, contains all additional salmon
parameters. Defaults to |
create_script |
Logical value, whether to create or not a script - its
name is specified by |
script_name |
Character string, name of the script to write commands into. Defaults to "salmonrunner.sh" |
display_commands |
Logical, whether to print out to the console the commands as message. Defaults to TRUE |
force |
Logical value, whether to overwrite the file in |
Invisible NULL
, the function prints out the commands as messages
and as a file, optionally
mysheet <- samplesheet_creator(ss_filename = "mysheet", ss_dir = tempdir())
run_salmon(readxl::read_excel(mysheet), salmon_index_dir = "/myindex/dir",
create_script = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.