{"@id":"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","retrievedFrom":{"repoUrl":"https://github.com/MG-RAST/pipeline.git","branch":"8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8","path":"CWL/Workflows/preprocess-fasta.workflow.cwl","packedId":null,"type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/MG-RAST/pipeline/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","url":"https://github.com/MG-RAST/pipeline/blob/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl"},"retrievedOn":"2026-10-14T19:48:14.880+00:00","lastCommit":"8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8","label":"preprocess fasta","doc":"Remove reads from fasta files based on sequence stats.\nReturn fasta files with reads passed and reads removed.\n","inputs":{"jobid":{"type":"String"},"stats":{"type":"File"},"filterLn":{"type":"Boolean"},"maxAmbig":{"type":"Integer"},"deviation":{"type":"Float"},"sequences":{"type":"File"},"filterAmbig":{"type":"Boolean"}},"outputs":{"passed":{"type":"File"},"removed":{"type":"File"},"trimmed":{"type":"File"}},"steps":{"filter":{"label":"filter fasta","doc":"filter fasta file based on sequence length and/or on number of ambiguity characters (Ns)\nskipping both filters is equivalent to copying the file, but slower\n","run":"../Tools/filter_fasta.tool.cwl","runType":"COMMANDLINETOOL","sources":{"filter":{"sourceIDs":["deviation"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/input":{"sourceIDs":["adapterTrim"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/stats":{"sourceIDs":["stats"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/filterLn":{"sourceIDs":["filterLn"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/maxAmbig":{"sourceIDs":["maxAmbig"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/outPassed":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/outRemoved":{"sourceIDs":["jobid"]},"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#filter/filterAmbig":{"sourceIDs":["filterAmbig"]}}},"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/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl#adapterTrim/input":{"sourceIDs":["sequences"]}}}},"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    \"filterLn\" [fillcolor=\"#94DDF4\",label=\"filterLn\"];\n    \"deviation\" [fillcolor=\"#94DDF4\",label=\"deviation\"];\n    \"jobid\" [fillcolor=\"#94DDF4\",label=\"jobid\"];\n    \"filterAmbig\" [fillcolor=\"#94DDF4\",label=\"filterAmbig\"];\n    \"maxAmbig\" [fillcolor=\"#94DDF4\",label=\"maxAmbig\"];\n    \"stats\" [fillcolor=\"#94DDF4\",label=\"stats\"];\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    \"trimmed\" [fillcolor=\"#94DDF4\",label=\"trimmed\"];\n    \"passed\" [fillcolor=\"#94DDF4\",label=\"passed\"];\n    \"removed\" [fillcolor=\"#94DDF4\",label=\"removed\"];\n  }\n  \"adapterTrim\" [label=\"autoskewer\"];\n  \"filter\" [label=\"filter fasta\"];\n  \"jobid\" -> \"adapterTrim\" [label=\"outName\"];\n  \"sequences\" -> \"adapterTrim\" [label=\"input\"];\n  \"deviation\" -> \"filter\" [label=\"deviation\"];\n  \"jobid\" -> \"filter\" [label=\"outRemoved\"];\n  \"filterAmbig\" -> \"filter\" [label=\"filterAmbig\"];\n  \"filterLn\" -> \"filter\" [label=\"filterLn\"];\n  \"stats\" -> \"filter\" [label=\"stats\"];\n  \"adapterTrim\" -> \"filter\" [label=\"input\"];\n  \"maxAmbig\" -> \"filter\" [label=\"maxAmbig\"];\n  \"jobid\" -> \"filter\" [label=\"outPassed\"];\n  \"adapterTrim\" -> \"trimmed\";\n  \"filter\" -> \"passed\";\n  \"filter\" -> \"removed\";\n}\n","licenseLink":"https://spdx.org/licenses/BSD-2-Clause","permalink":"https://w3id.org/cwl/view/git/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","packed":false,"visualisationXdot":"/graph/xdot/github.com/MG-RAST/pipeline/blob/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","visualisationPng":"/graph/png/github.com/MG-RAST/pipeline/blob/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","visualisationSvg":"/graph/svg/github.com/MG-RAST/pipeline/blob/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","roBundle":"/robundle/github.com/MG-RAST/pipeline/blob/8a5ded15fad8ee1a4315aef1fdc1d53cdcdc12b8/CWL/Workflows/preprocess-fasta.workflow.cwl","licenseName":"BSD 2-clause \"Simplified\" License"}