As seen in Running an Example Job, you can call the
test function to mimic a Toolchest run.
test actually uploads your inputs to Toolchest's infrastructure. (Nothing is done to the files beyond the upload.)
toolchest.test( inputs, output_path=None, tool_args="", is_async=False, )
toolchest$kraken2( inputs, output_path = NULL, tool_args = "", is_async = FALSE )
Use in place of:
input file location
Path or list of paths (client-side) to be passed in as input(s). This can be a local filepath or an AWS S3 URI.
output file location
(optional) Path to a directory where the output file will be downloaded.
(optional) Note: This argument has no explicit function and will be completely ignored. Its purpose is to mimic the
Whether to run a job asynchronously.
test has one output file,
test_output.txt, a text document that reads:
Publicly available files stored on AWS's S3 service can be passed in as inputs, using the file's S3 URI.
is_async parameter to true if you would like to run
test asynchronously. See Asynchronous Runs for more information.
Updated about 2 months ago