[
    {
        "name": "Dada2",
        "docker_name": "Dada2",
        "description": "Metabarcoding with dada2",
        "version": "0.0.1",
        "author": "MBB",
        "options": [
            {
                "name": "results_dir",
                "type": "output_dir",
                "value": "\/Results",
                "label": "Results directory: ",
                "volumes": [
                    {
                        "Results": "\/Results"
                    }
                ]
            }
        ],
        "steps_in": [
            {
                "step_name": "metabarcoding_3",
                "tool_name": "dada2_filter_trim",
                "rule_name": "dada2_filter_trim_PE",
                "params": [
                    {
                        "input_name": "read",
                        "origin_command": "raw_reads",
                        "origin_name": "read",
                        "origin_step": "input"
                    },
                    {
                        "input_name": "read2",
                        "origin_command": "raw_reads",
                        "origin_name": "read2",
                        "origin_step": "input"
                    }
                ]
            },
            {
                "step_name": "metabarcoding_4",
                "tool_name": "dada2_plotQualityProfile",
                "rule_name": "dada2_plotQualityProfile_PE",
                "params": [
                    {
                        "input_name": "read",
                        "origin_command": "raw_reads",
                        "origin_name": "read",
                        "origin_step": "input"
                    },
                    {
                        "input_name": "read2",
                        "origin_command": "raw_reads",
                        "origin_name": "read2",
                        "origin_step": "input"
                    }
                ]
            },
            {
                "step_name": "metabarcoding_2",
                "tool_name": "dada2_Err_Derep_makeSequenceTable",
                "rule_name": "dada2_Err_Derep_makeSequenceTable_PE",
                "params": [
                    {
                        "input_name": "read",
                        "origin_command": "dada2_filter_trim_PE",
                        "origin_name": "filtFs",
                        "origin_step": "metabarcoding_3"
                    },
                    {
                        "input_name": "read2",
                        "origin_command": "dada2_filter_trim_PE",
                        "origin_name": "filtRs",
                        "origin_step": "metabarcoding_3"
                    }
                ]
            },
            {
                "step_name": "metabarcoding",
                "tool_name": "dada2_assign_taxonomy",
                "rule_name": "dada2_assign_taxonomy",
                "params": [
                    {
                        "input_name": "seqs",
                        "origin_command": "dada2_Err_Derep_makeSequenceTable_PE",
                        "origin_name": "ASVseqfile",
                        "origin_step": "metabarcoding_2"
                    },
                    {
                        "input_name": "abundance",
                        "origin_command": "dada2_Err_Derep_makeSequenceTable_PE",
                        "origin_name": "ASVtable",
                        "origin_step": "metabarcoding_2"
                    }
                ]
            },
            {
                "step_name": "metabarcoding_5",
                "tool_name": "lulu",
                "rule_name": "lulu",
                "params": [
                    {
                        "input_name": "abundance_file",
                        "origin_command": "dada2_Err_Derep_makeSequenceTable_PE",
                        "origin_name": "ASVtable",
                        "origin_step": "metabarcoding_2"
                    },
                    {
                        "input_name": "sequence_file",
                        "origin_command": "dada2_Err_Derep_makeSequenceTable_PE",
                        "origin_name": "ASVseqfile",
                        "origin_step": "metabarcoding_2"
                    }
                ]
            }
        ],
        "steps": [
            {
                "title": "metabarcoding_3",
                "name": "metabarcoding_3",
                "tools": [
                    "dada2_filter_trim"
                ],
                "default": "dada2_filter_trim"
            },
            {
                "title": "metabarcoding_4",
                "name": "metabarcoding_4",
                "tools": [
                    "dada2_plotQualityProfile"
                ],
                "default": "dada2_plotQualityProfile"
            },
            {
                "title": "metabarcoding_2",
                "name": "metabarcoding_2",
                "tools": [
                    "dada2_Err_Derep_makeSequenceTable"
                ],
                "default": "dada2_Err_Derep_makeSequenceTable"
            },
            {
                "title": "metabarcoding",
                "name": "metabarcoding",
                "tools": [
                    "dada2_assign_taxonomy"
                ],
                "default": "dada2_assign_taxonomy"
            },
            {
                "title": "metabarcoding_5",
                "name": "metabarcoding_5",
                "tools": [
                    "lulu"
                ],
                "default": "lulu"
            }
        ],
        "input": [
            "raw_reads"
        ],
        "params_equals": [],
        "git": "https:\/\/gitlab.mbb.univ-montp2.fr\/khalid\/Dada2",
        "json": {
            "class": "GraphLinksModel",
            "linkFromPortIdProperty": "fromPort",
            "linkToPortIdProperty": "toPort",
            "modelData": {
                "position": "-549 -499"
            },
            "nodeDataArray": [
                {
                    "name": "reads",
                    "text": "read",
                    "size2": "",
                    "category": "Data",
                    "strokeWidth": 2,
                    "fill": "#2ecc71",
                    "inservices": [],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "reads",
                            "value": "raw_reads",
                            "description": "",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "unknown",
                    "version": "unknown",
                    "key": -3,
                    "loc": "-410 -370"
                },
                {
                    "name": "reads",
                    "text": "read",
                    "size2": "",
                    "category": "Data",
                    "strokeWidth": 2,
                    "fill": "#2ecc71",
                    "inservices": [],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "reads",
                            "value": "raw_reads",
                            "description": "",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "unknown",
                    "version": "unknown",
                    "key": -2,
                    "loc": "-410 -280"
                },
                {
                    "name": "dada2_assign_taxonomy",
                    "text": "dada2_assign_taxonomy",
                    "size2": "200 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_file",
                            "value": "seqs",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "tsv",
                            "value": "abundance",
                            "description": "per sample OTU abundance ",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "tsv",
                            "value": "taxa_bootstrap",
                            "description": "Bootstap support table",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "taxa_assigment",
                            "description": "Matrix with each row corresponding to an input sequence, and each column corresponding to a taxonomic level",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Fast and accurate sample inference from amplicon data with single-nucleotide resolution",
                    "version": "1.16",
                    "key": "2959189882",
                    "loc": "940 -250"
                },
                {
                    "name": "dada2_Err_Derep_makeSequenceTable_PE",
                    "text": "dada2_Err_Derep_makeSequenceTable PE",
                    "size2": "265 135",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "reads",
                            "value": "read",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "reads",
                            "value": "read2",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_file",
                            "value": "ASVseqfile",
                            "description": "amplicon sequence variants in fasta ",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "ASVtable",
                            "description": "number of times each exact amplicon sequence was observed in each sample",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o3",
                            "type": "png",
                            "value": "errRplotF",
                            "description": "error profile plot forward",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o4",
                            "type": "png",
                            "value": "errRplotR",
                            "description": "error profile plot reverse",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o5",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Fast and accurate sample inference from amplicon data with single-nucleotide resolution",
                    "version": "1.16",
                    "key": "0751264220",
                    "loc": "440 -230"
                },
                {
                    "name": "dada2_filter_trim_PE",
                    "text": "dada2_filter_trim PE",
                    "size2": "185 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "reads",
                            "value": "read",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "reads",
                            "value": "read2",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fq.gz",
                            "value": "filtFs",
                            "description": "List of filtered forward reads",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "fq.gz",
                            "value": "filtRs",
                            "description": "List of filtered reverse reads",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Fast and accurate sample inference from amplicon data with single-nucleotide resolution",
                    "version": "1.16",
                    "key": "1259008530",
                    "loc": "90 -230"
                },
                {
                    "name": "dada2_plotQualityProfile_PE",
                    "text": "dada2_plotQualityProfile PE",
                    "size2": "265 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "reads",
                            "value": "read",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "reads",
                            "value": "read2",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "png",
                            "value": "qualityF",
                            "description": "Quality plot forward",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "png",
                            "value": "qualityR",
                            "description": "Quality plot reverse",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Fast and accurate sample inference from amplicon data with single-nucleotide resolution",
                    "version": "1.16",
                    "key": "0700693146",
                    "loc": "50 -390"
                },
                {
                    "name": "lulu",
                    "text": "lulu post clustering",
                    "size2": "195 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "tsv",
                            "value": "abundance_file",
                            "description": "OTU table with samples as columns and OTUs as rows, with unique OTU id's as row names",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "fasta_file",
                            "value": "sequence_file",
                            "description": "OTU sequences",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "tsv",
                            "value": "curated_table",
                            "description": "Table of retained OTUs",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "otu_map",
                            "description": "Table of information of which daughters were mapped to which parents OTUs",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "A r-package for distribution based post clustering curation of amplicon data.",
                    "version": "latest",
                    "key": "7440109551",
                    "loc": "1140 -30"
                }
            ],
            "linkDataArray": [
                {
                    "from": -3,
                    "to": "0700693146",
                    "fromPort": "raw_reads",
                    "toPort": "read",
                    "points": [
                        -352.385009765625,
                        -371.5463053385417,
                        -342.385009765625,
                        -371.5463053385417,
                        -224.0147705078125,
                        -371.5463053385417,
                        -224.0147705078125,
                        -398.888916015625,
                        -105.64453125,
                        -398.888916015625,
                        -95.64453125,
                        -398.888916015625
                    ]
                },
                {
                    "from": -2,
                    "to": "0700693146",
                    "fromPort": "raw_reads",
                    "toPort": "read2",
                    "points": [
                        -352.385009765625,
                        -281.5463053385417,
                        -342.385009765625,
                        -281.5463053385417,
                        -224.0147705078125,
                        -281.5463053385417,
                        -224.0147705078125,
                        -375.81108398437493,
                        -105.64453125,
                        -375.81108398437493,
                        -95.64453125,
                        -375.81108398437493
                    ]
                },
                {
                    "from": -3,
                    "to": "1259008530",
                    "fromPort": "raw_reads",
                    "toPort": "read",
                    "points": [
                        -352.385009765625,
                        -365.85369466145835,
                        -342.385009765625,
                        -365.85369466145835,
                        -184.0147705078125,
                        -365.85369466145835,
                        -184.0147705078125,
                        -238.888916015625,
                        -25.64453125,
                        -238.888916015625,
                        -15.64453125,
                        -238.888916015625
                    ]
                },
                {
                    "from": -2,
                    "to": "1259008530",
                    "fromPort": "raw_reads",
                    "toPort": "read2",
                    "points": [
                        -352.385009765625,
                        -275.85369466145835,
                        -342.385009765625,
                        -275.85369466145835,
                        -184.0147705078125,
                        -275.85369466145835,
                        -184.0147705078125,
                        -215.811083984375,
                        -25.64453125,
                        -215.811083984375,
                        -15.64453125,
                        -215.811083984375
                    ]
                },
                {
                    "from": "1259008530",
                    "to": "0751264220",
                    "fromPort": "filtFs",
                    "toPort": "read",
                    "points": [
                        195.64453125,
                        -238.888916015625,
                        205.64453125,
                        -238.888916015625,
                        245,
                        -238.888916015625,
                        245,
                        -241.38891601562497,
                        284.35546875,
                        -241.38891601562497,
                        294.35546875,
                        -241.38891601562497
                    ]
                },
                {
                    "from": "1259008530",
                    "to": "0751264220",
                    "fromPort": "filtRs",
                    "toPort": "read2",
                    "points": [
                        195.64453125,
                        -215.811083984375,
                        205.64453125,
                        -215.811083984375,
                        245,
                        -215.811083984375,
                        245,
                        -218.31108398437496,
                        284.35546875,
                        -218.31108398437496,
                        294.35546875,
                        -218.31108398437496
                    ]
                },
                {
                    "from": "0751264220",
                    "to": "2959189882",
                    "fromPort": "ASVseqfile",
                    "toPort": "seqs",
                    "points": [
                        585.64453125,
                        -267.31305338541665,
                        603.64453125,
                        -267.31305338541665,
                        710.25,
                        -267.31305338541665,
                        710.25,
                        -258.888916015625,
                        816.85546875,
                        -258.888916015625,
                        826.85546875,
                        -258.888916015625
                    ]
                },
                {
                    "from": "0751264220",
                    "to": "2959189882",
                    "fromPort": "ASVtable",
                    "toPort": "abundance",
                    "points": [
                        585.64453125,
                        -241.38891601562497,
                        595.64453125,
                        -241.38891601562497,
                        706.25,
                        -241.38891601562497,
                        706.25,
                        -235.81108398437496,
                        816.85546875,
                        -235.81108398437496,
                        826.85546875,
                        -235.81108398437496
                    ]
                },
                {
                    "from": "0751264220",
                    "to": "7440109551",
                    "fromPort": "ASVseqfile",
                    "toPort": "sequence_file",
                    "points": [
                        585.64453125,
                        -261.6204427083333,
                        595.64453125,
                        -261.6204427083333,
                        807.5,
                        -261.6204427083333,
                        807.5,
                        -15.811083984375005,
                        1019.35546875,
                        -15.811083984375005,
                        1029.35546875,
                        -15.811083984375005
                    ]
                },
                {
                    "from": "0751264220",
                    "to": "7440109551",
                    "fromPort": "ASVtable",
                    "toPort": "abundance_file",
                    "points": [
                        585.64453125,
                        -238.5426106770833,
                        595.64453125,
                        -238.5426106770833,
                        807.5,
                        -238.5426106770833,
                        807.5,
                        -38.88891601562501,
                        1019.35546875,
                        -38.88891601562501,
                        1029.35546875,
                        -38.88891601562501
                    ]
                }
            ],
            "version": 2
        },
        "yaml": "{\nname: \"Dada2\",\ndocker_name: \"Dada2\",\ndescription: \"Metabarcoding with dada2\",\nversion: \"0.0.1\",\nauthor: \"MBB\",\noptions: [\n    {\n    name: \"results_dir\",\n    type: \"output_dir\",\n    value: \"\/Results\",\n    label: \"Results directory: \",\n    volumes:  [Results: \"\/Results\"]\n    },\n],\nsteps_in: [\n{ step_name: \"metabarcoding_3\", tool_name: \"dada2_filter_trim\", rule_name: \"dada2_filter_trim_PE\",\n    params: [\n        { input_name: read, origin_command: raw_reads, origin_name: read, origin_step: input},\n        { input_name: read2, origin_command: raw_reads, origin_name: read2, origin_step: input},\n    ]\n},\n{ step_name: \"metabarcoding_4\", tool_name: \"dada2_plotQualityProfile\", rule_name: \"dada2_plotQualityProfile_PE\",\n    params: [\n        { input_name: read, origin_command: raw_reads, origin_name: read, origin_step: input},\n        { input_name: read2, origin_command: raw_reads, origin_name: read2, origin_step: input},\n    ]\n},\n{ step_name: \"metabarcoding_2\", tool_name: \"dada2_Err_Derep_makeSequenceTable\", rule_name: \"dada2_Err_Derep_makeSequenceTable_PE\",\n    params: [\n        { input_name: read, origin_command: dada2_filter_trim_PE, origin_name: filtFs, origin_step: metabarcoding_3},\n        { input_name: read2, origin_command: dada2_filter_trim_PE, origin_name: filtRs, origin_step: metabarcoding_3},\n    ]\n},\n{ step_name: \"metabarcoding\", tool_name: \"dada2_assign_taxonomy\", rule_name: \"dada2_assign_taxonomy\",\n    params: [\n        { input_name: seqs, origin_command: dada2_Err_Derep_makeSequenceTable_PE, origin_name: ASVseqfile, origin_step: metabarcoding_2},\n        { input_name: abundance, origin_command: dada2_Err_Derep_makeSequenceTable_PE, origin_name: ASVtable, origin_step: metabarcoding_2},\n    ]\n},\n{ step_name: \"metabarcoding_5\", tool_name: \"lulu\", rule_name: \"lulu\",\n    params: [\n        { input_name: abundance_file, origin_command: dada2_Err_Derep_makeSequenceTable_PE, origin_name: ASVtable, origin_step: metabarcoding_2},\n        { input_name: sequence_file, origin_command: dada2_Err_Derep_makeSequenceTable_PE, origin_name: ASVseqfile, origin_step: metabarcoding_2},\n    ]\n},\n],\nsteps: [\n    { title: \"metabarcoding_3\", name: \"metabarcoding_3\", tools: [dada2_filter_trim], default: \"dada2_filter_trim\" },\n    { title: \"metabarcoding_4\", name: \"metabarcoding_4\", tools: [dada2_plotQualityProfile], default: \"dada2_plotQualityProfile\" },\n    { title: \"metabarcoding_2\", name: \"metabarcoding_2\", tools: [dada2_Err_Derep_makeSequenceTable], default: \"dada2_Err_Derep_makeSequenceTable\" },\n    { title: \"metabarcoding\", name: \"metabarcoding\", tools: [dada2_assign_taxonomy], default: \"dada2_assign_taxonomy\" },\n    { title: \"metabarcoding_5\", name: \"metabarcoding_5\", tools: [lulu], default: \"lulu\" },\n],\ninput: [\"raw_reads\",],\nparams_equals: [\n\n]\n}\n"
    }
]