{"@id":"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","retrievedFrom":{"repoUrl":"https://github.com/ebi-metagenomics/ebi-metagenomics-cwl.git","branch":"c34db66a79cec3b66a0f1be5e499eef88db5a9ed","path":"workflows/rna-selector.cwl","packedId":null,"type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/ebi-metagenomics/ebi-metagenomics-cwl/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","url":"https://github.com/ebi-metagenomics/ebi-metagenomics-cwl/blob/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl"},"retrievedOn":"2023-01-10T23:04:45.868+00:00","lastCommit":"c34db66a79cec3b66a0f1be5e499eef88db5a9ed","label":"RNASelector as a CWL workflow","doc":"https://doi.org/10.1007/s12275-011-1213-z","inputs":{"reads":{"type":"File [FASTA]","format":"http://edamontology.org/format_1929"},"run_id":{"type":"String"},"5S_model":{"type":"File [HMMER format]","format":"http://edamontology.org/format_1370"},"16S_model":{"type":"File [HMMER format]","format":"http://edamontology.org/format_1370"},"23S_model":{"type":"File [HMMER format]","format":"http://edamontology.org/format_1370"},"tRNA_model":{"type":"File [HMMER format]","format":"http://edamontology.org/format_1370"}},"outputs":{"5S_matches":{"type":"File"},"16S_matches":{"type":"File"},"23S_matches":{"type":"File"},"tRNA_matches":{"type":"File"},"masked_sequences":{"type":"File"}},"steps":{"index_reads":{"label":"index a sequence file for use by esl-sfetch","doc":"https://github.com/EddyRivasLab/easel","run":"../tools/esl-sfetch-index.cwl","runType":"COMMANDLINETOOL","sources":{"index_reads":{"sourceIDs":["reads"]}}},"find_5S_matches":{"run":"../tools/rRNA_selection.cwl","runType":"WORKFLOW","sources":{"find_5S_matches":{"sourceIDs":["index_reads"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#find_5S_matches/model":{"sourceIDs":["5S_model"]}}},"find_16S_matches":{"run":"../tools/rRNA_selection.cwl","runType":"WORKFLOW","sources":{"find_16S_matches":{"sourceIDs":["16S_model"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#find_16S_matches/indexed_sequences":{"sourceIDs":["index_reads"]}}},"find_23S_matches":{"run":"../tools/rRNA_selection.cwl","runType":"WORKFLOW","sources":{"find_23S_matches":{"sourceIDs":["23S_model"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#find_23S_matches/indexed_sequences":{"sourceIDs":["index_reads"]}}},"find_tRNA_matches":{"run":"../tools/tRNA_selection.cwl","runType":"WORKFLOW","sources":{"find_tRNA_matches":{"sourceIDs":["tRNA_model"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#find_tRNA_matches/indexed_sequences":{"sourceIDs":["index_reads"]}}},"mask_rRNA_and_tRNA":{"run":"../tools/mask_RNA.cwl","runType":"COMMANDLINETOOL","sources":{"mask_rRNA_and_tRNA":{"sourceIDs":["collate_unique_tRNA_hmmer_hits"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/sequences":{"sourceIDs":["index_reads"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/tRNA_matches":{"sourceIDs":["find_tRNA_matches"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/unique_rRNA_hits":{"sourceIDs":["collate_unique_rRNA_hmmer_hits"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/5s_rRNA_hmmer_matches":{"sourceIDs":["find_5S_matches"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/16s_rRNA_hmmer_matches":{"sourceIDs":["find_16S_matches"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#mask_rRNA_and_tRNA/23s_rRNA_hmmer_matches":{"sourceIDs":["find_23S_matches"]}}},"prepend_header_for_QIIME":{"label":"prepend a string + an underscore to all headers in a FASTA sequence file","run":"../tools/prepend_header.cwl","runType":"COMMANDLINETOOL","sources":{"prepend_header_for_QIIME":{"sourceIDs":["find_16S_matches"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#prepend_header_for_QIIME/label":{"sourceIDs":["run_id"]}}},"collate_unique_rRNA_hmmer_hits":{"run":"../tools/collate_unique_SSU_headers.cwl","runType":"WORKFLOW","sources":{"collate_unique_rRNA_hmmer_hits":{"sourceIDs":["find_16S_matches"]},"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl#collate_unique_rRNA_hmmer_hits/hits":{"sourceIDs":["find_23S_matches"]}}},"collate_unique_tRNA_hmmer_hits":{"run":"../tools/collate_unique_SSU_headers.cwl","runType":"WORKFLOW","sources":{"collate_unique_tRNA_hmmer_hits":{"sourceIDs":["find_tRNA_matches"]}}}},"cwltoolVersion":"3.1.20221201130942","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    \"tRNA_model\" [fillcolor=\"#94DDF4\",label=\"tRNA_model\"];\n    \"16S_model\" [fillcolor=\"#94DDF4\",label=\"16S_model\"];\n    \"run_id\" [fillcolor=\"#94DDF4\",label=\"run_id\"];\n    \"23S_model\" [fillcolor=\"#94DDF4\",label=\"23S_model\"];\n    \"5S_model\" [fillcolor=\"#94DDF4\",label=\"5S_model\"];\n    \"reads\" [fillcolor=\"#94DDF4\",label=\"reads\"];\n  }\n  subgraph cluster_outputs {\n    rank = \"same\";\n    style = \"dashed\";\n    labelloc = \"b\";\n    label = \"Workflow Outputs\";\n    \"5S_matches\" [fillcolor=\"#94DDF4\",label=\"5S_matches\"];\n    \"tRNA_matches\" [fillcolor=\"#94DDF4\",label=\"tRNA_matches\"];\n    \"23S_matches\" [fillcolor=\"#94DDF4\",label=\"23S_matches\"];\n    \"masked_sequences\" [fillcolor=\"#94DDF4\",label=\"masked_sequences\"];\n    \"16S_matches\" [fillcolor=\"#94DDF4\",label=\"16S_matches\"];\n  }\n  \"find_16S_matches\" [label=\"find_16S_matches\", fillcolor=\"#F3CEA1\"];\n  \"mask_rRNA_and_tRNA\" [label=\"mask_rRNA_and_tRNA\"];\n  \"find_5S_matches\" [label=\"find_5S_matches\", fillcolor=\"#F3CEA1\"];\n  \"collate_unique_rRNA_hmmer_hits\" [label=\"collate_unique_rRNA_hmmer_hits\", fillcolor=\"#F3CEA1\"];\n  \"find_tRNA_matches\" [label=\"find_tRNA_matches\", fillcolor=\"#F3CEA1\"];\n  \"index_reads\" [label=\"index a sequence file for use by esl-sfetch\"];\n  \"collate_unique_tRNA_hmmer_hits\" [label=\"collate_unique_tRNA_hmmer_hits\", fillcolor=\"#F3CEA1\"];\n  \"find_23S_matches\" [label=\"find_23S_matches\", fillcolor=\"#F3CEA1\"];\n  \"prepend_header_for_QIIME\" [label=\"prepend a string + an underscore to all headers in a FASTA sequence file\"];\n  \"16S_model\" -> \"find_16S_matches\" [label=\"model\"];\n  \"index_reads\" -> \"find_16S_matches\" [label=\"indexed_sequences\"];\n  \"collate_unique_tRNA_hmmer_hits\" -> \"mask_rRNA_and_tRNA\" [label=\"unique_tRNA_hits\"];\n  \"collate_unique_rRNA_hmmer_hits\" -> \"mask_rRNA_and_tRNA\" [label=\"unique_rRNA_hits\"];\n  \"find_tRNA_matches\" -> \"mask_rRNA_and_tRNA\" [label=\"tRNA_matches\"];\n  \"index_reads\" -> \"mask_rRNA_and_tRNA\" [label=\"sequences\"];\n  \"find_5S_matches\" -> \"mask_rRNA_and_tRNA\" [label=\"5s_rRNA_hmmer_matches\"];\n  \"find_23S_matches\" -> \"mask_rRNA_and_tRNA\" [label=\"23s_rRNA_hmmer_matches\"];\n  \"find_16S_matches\" -> \"mask_rRNA_and_tRNA\" [label=\"16s_rRNA_hmmer_matches\"];\n  \"index_reads\" -> \"find_5S_matches\" [label=\"indexed_sequences\"];\n  \"5S_model\" -> \"find_5S_matches\" [label=\"model\"];\n  \"find_16S_matches\" -> \"collate_unique_rRNA_hmmer_hits\" [label=\"hits\"];\n  \"find_5S_matches\" -> \"collate_unique_rRNA_hmmer_hits\" [label=\"hits\"];\n  \"find_23S_matches\" -> \"collate_unique_rRNA_hmmer_hits\" [label=\"hits\"];\n  \"tRNA_model\" -> \"find_tRNA_matches\" [label=\"model\"];\n  \"index_reads\" -> \"find_tRNA_matches\" [label=\"indexed_sequences\"];\n  \"reads\" -> \"index_reads\" [label=\"sequences\"];\n  \"find_tRNA_matches\" -> \"collate_unique_tRNA_hmmer_hits\" [label=\"hits\"];\n  \"23S_model\" -> \"find_23S_matches\" [label=\"model\"];\n  \"index_reads\" -> \"find_23S_matches\" [label=\"indexed_sequences\"];\n  \"find_16S_matches\" -> \"prepend_header_for_QIIME\" [label=\"sequences\"];\n  \"run_id\" -> \"prepend_header_for_QIIME\" [label=\"label\"];\n  \"find_5S_matches\" -> \"5S_matches\";\n  \"find_tRNA_matches\" -> \"tRNA_matches\";\n  \"find_23S_matches\" -> \"23S_matches\";\n  \"mask_rRNA_and_tRNA\" -> \"masked_sequences\";\n  \"prepend_header_for_QIIME\" -> \"16S_matches\";\n}\n","licenseLink":"https://spdx.org/licenses/Apache-2.0","permalink":"https://w3id.org/cwl/view/git/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","packed":false,"visualisationXdot":"/graph/xdot/github.com/ebi-metagenomics/ebi-metagenomics-cwl/blob/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","visualisationPng":"/graph/png/github.com/ebi-metagenomics/ebi-metagenomics-cwl/blob/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","visualisationSvg":"/graph/svg/github.com/ebi-metagenomics/ebi-metagenomics-cwl/blob/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","roBundle":"/robundle/github.com/ebi-metagenomics/ebi-metagenomics-cwl/blob/c34db66a79cec3b66a0f1be5e499eef88db5a9ed/workflows/rna-selector.cwl","licenseName":"Apache License 2.0"}