{"@id":"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","retrievedFrom":{"repoUrl":"https://github.com/MG-RAST/pipeline.git","branch":"2addcde0f4c1c8547f7f3906c2523cded23e9869","path":"CWL/Workflows/preprocess-fastq.workflow.cwl","packedId":null,"type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/MG-RAST/pipeline/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","url":"https://github.com/MG-RAST/pipeline/blob/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl"},"retrievedOn":"2026-11-10T16:56:00.052+00:00","lastCommit":"2addcde0f4c1c8547f7f3906c2523cded23e9869","label":"Preprocess fastq","doc":"Remove and trim low quality reads from fastq files. \nReturn fasta files with reads passed and reads removed.\n","inputs":{"jobid":{"type":"String"},"maxLqb":{"type":"Integer"},"minQual":{"type":"Integer"},"minLength":{"type":"Integer"},"sequences":{"type":"File"}},"outputs":{"passed":{"type":"File"},"removed":{"type":"File"},"trimmed":{"type":"File"}},"steps":{"filter":{"label":"fastq-mcf","doc":"fastq quality trimmer\n>fastq-mcf 'n/a' <input> -S -k 0 -l <minLength> --max-ns <maxLqb> -q <minQual> -w <window> -o <outName>\n","run":"../Tools/fastq-mcf.tool.cwl","runType":"COMMANDLINETOOL","sources":{"filter":{"sourceIDs":["maxLqb"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#filter/input":{"sourceIDs":["adapterTrim"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#filter/minQual":{"sourceIDs":["minQual"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#filter/outName":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#filter/minLength":{"sourceIDs":["minLength"]}}},"adapterTrim":{"label":"autoskewer","doc":"detect and trim adapter sequences from reads\n>autoskewer.py -t <runtime.tmpdir> -i <input> -o <outName> -l <outLog>\n","run":"../Tools/autoskewer.tool.cwl","runType":"COMMANDLINETOOL","sources":{"adapterTrim":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#adapterTrim/input":{"sourceIDs":["sequences"]}}},"passed2fasta":{"label":"seqUtil","doc":"Utility tool for various sequence file transformations.\n","run":"../Tools/seqUtil.tool.cwl","runType":"COMMANDLINETOOL","sources":{"passed2fasta":{"defaultVal":"true"},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#passed2fasta/output":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#passed2fasta/sequences":{"sourceIDs":["filter"]}}},"removed2fasta":{"label":"seqUtil","doc":"Utility tool for various sequence file transformations.\n","run":"../Tools/seqUtil.tool.cwl","runType":"COMMANDLINETOOL","sources":{"removed2fasta":{"defaultVal":"true"},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#removed2fasta/output":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl#removed2fasta/sequences":{"sourceIDs":["filter"]}}}},"cwltoolVersion":"3.1.20230201224320","visualisationDot":"digraph workflow {\n  graph [\n    bgcolor = \"#eeeeee\"\n    color = \"black\"\n    fontsize = \"10\"\n    labeljust = \"left\"\n    clusterrank = \"local\"\n    ranksep = \"0.22\"\n    nodesep = \"0.05\"\n  ]\n  node [\n    fontname = \"Helvetica\"\n    fontsize = \"10\"\n    fontcolor = \"black\"\n    shape = \"record\"\n    height = \"0\"\n    width = \"0\"\n    color = \"black\"\n    fillcolor = \"lightgoldenrodyellow\"\n    style = \"filled\"\n  ];\n  edge [\n    fontname=\"Helvetica\"\n    fontsize=\"8\"\n    fontcolor=\"black\"\n    color=\"black\"\n    arrowsize=\"0.7\"\n  ];\n  subgraph cluster_inputs {\n    rank = \"same\";\n    style = \"dashed\";\n    label = \"Workflow Inputs\";\n    \"maxLqb\" [fillcolor=\"#94DDF4\",label=\"maxLqb\"];\n    \"minQual\" [fillcolor=\"#94DDF4\",label=\"minQual\"];\n    \"jobid\" [fillcolor=\"#94DDF4\",label=\"jobid\"];\n    \"minLength\" [fillcolor=\"#94DDF4\",label=\"minLength\"];\n    \"sequences\" [fillcolor=\"#94DDF4\",label=\"sequences\"];\n  }\n  subgraph cluster_outputs {\n    rank = \"same\";\n    style = \"dashed\";\n    labelloc = \"b\";\n    label = \"Workflow Outputs\";\n    \"passed\" [fillcolor=\"#94DDF4\",label=\"passed\"];\n    \"trimmed\" [fillcolor=\"#94DDF4\",label=\"trimmed\"];\n    \"removed\" [fillcolor=\"#94DDF4\",label=\"removed\"];\n  }\n  \"adapterTrim\" [label=\"autoskewer\"];\n  \"removed2fasta\" [label=\"seqUtil\"];\n  \"passed2fasta\" [label=\"seqUtil\"];\n  \"filter\" [label=\"fastq-mcf\"];\n  \"jobid\" -> \"adapterTrim\" [label=\"outName\"];\n  \"sequences\" -> \"adapterTrim\" [label=\"input\"];\n  \"default1\" -> \"removed2fasta\" [label=\"fastq2fasta\"];\n  \"default1\" [label=\"true\", fillcolor=\"#D5AEFC\"];\n  \"jobid\" -> \"removed2fasta\" [label=\"output\"];\n  \"filter\" -> \"removed2fasta\" [label=\"sequences\"];\n  \"default2\" -> \"passed2fasta\" [label=\"fastq2fasta\"];\n  \"default2\" [label=\"true\", fillcolor=\"#D5AEFC\"];\n  \"filter\" -> \"passed2fasta\" [label=\"sequences\"];\n  \"jobid\" -> \"passed2fasta\" [label=\"output\"];\n  \"maxLqb\" -> \"filter\" [label=\"maxLqb\"];\n  \"adapterTrim\" -> \"filter\" [label=\"input\"];\n  \"jobid\" -> \"filter\" [label=\"outName\"];\n  \"minLength\" -> \"filter\" [label=\"minLength\"];\n  \"minQual\" -> \"filter\" [label=\"minQual\"];\n  \"passed2fasta\" -> \"passed\";\n  \"adapterTrim\" -> \"trimmed\";\n  \"removed2fasta\" -> \"removed\";\n}\n","licenseLink":"https://spdx.org/licenses/BSD-2-Clause","permalink":"https://w3id.org/cwl/view/git/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","packed":false,"visualisationXdot":"/graph/xdot/github.com/MG-RAST/pipeline/blob/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","visualisationPng":"/graph/png/github.com/MG-RAST/pipeline/blob/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","visualisationSvg":"/graph/svg/github.com/MG-RAST/pipeline/blob/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","roBundle":"/robundle/github.com/MG-RAST/pipeline/blob/2addcde0f4c1c8547f7f3906c2523cded23e9869/CWL/Workflows/preprocess-fastq.workflow.cwl","licenseName":"BSD 2-clause \"Simplified\" License"}