In this demonstration, we will examine a workflow which sorts and assembles COVID sequencing data.
latch init
from the command line. In this tutorial, we will be using the covid-wf
template.
covid-wf
.
covid-wf/wf/assemble.py
: This task ingests two sequencing reads and outputs an assembled SAM file.
Considerations when splitting up tasks
assembly_task
first, then passes its output to sort_bam_task
.
latch dockerfile
command to generate a Dockerfile from your existing environment files:
Python Dependencies
System Dependencies
R Dependencies
Conda Dependencies
Injecting Environment Variables
LatchMetadata
and LatchParameter
:
metadata
variable then needs to be passed into the @workflow
decorator to apply the interface to the workflow.
LaunchPlan
to add test data to your workflow.
latch develop
to build your workflow’s Docker image and start an interactive shell in the same container environment it will run in on Latch. Inside the shell, you can write mock test code and run tasks to verify workflow behavior in a production-like environment.aviour in an environment as close to the production one as possible.
See the Development and Debugging to learn more.
latch init
to create boilerplate codelatch develop
before registrationlatch register --remote
to deploy