[
    {
        "name": "JAMP",
        "docker_name": "JAMP",
        "description": "",
        "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": "VSEARCH_3",
                "tool_name": "VSEARCH_mergepairs",
                "rule_name": "VSEARCH_mergepairs",
                "params": [
                    {
                        "input_name": "read_dir",
                        "origin_command": "raw_read_dir",
                        "origin_name": "read_dir",
                        "origin_step": "input"
                    }
                ]
            },
            {
                "step_name": "VSEARCH_2",
                "tool_name": "VSEARCH_filter",
                "rule_name": "VSEARCH_filter",
                "params": [
                    {
                        "input_name": "read_dir",
                        "origin_command": "VSEARCH_mergepairs",
                        "origin_name": "mergepairs_done",
                        "origin_step": "VSEARCH_3"
                    }
                ]
            },
            {
                "step_name": "VSEARCH",
                "tool_name": "VSEARCH_derep",
                "rule_name": "VSEARCH_derep",
                "params": [
                    {
                        "input_name": "fasta_dir",
                        "origin_command": "VSEARCH_filter",
                        "origin_name": "filter_done",
                        "origin_step": "VSEARCH_2"
                    }
                ]
            },
            {
                "step_name": "format_conversion",
                "tool_name": "fastamerge",
                "rule_name": "fastamerge",
                "params": [
                    {
                        "input_name": "fasta_dir",
                        "origin_command": "VSEARCH_derep",
                        "origin_name": "derepfasta_dir",
                        "origin_step": "VSEARCH"
                    }
                ]
            },
            {
                "step_name": "VSEARCH_4",
                "tool_name": "VSEARCH_derep_fastafile",
                "rule_name": "VSEARCH_derep_fastafile",
                "params": [
                    {
                        "input_name": "fasta",
                        "origin_command": "fastamerge",
                        "origin_name": "fasta",
                        "origin_step": "format_conversion"
                    }
                ]
            },
            {
                "step_name": "VSEARCH_5",
                "tool_name": "VSEARCH_unoise",
                "rule_name": "VSEARCH_unoise",
                "params": [
                    {
                        "input_name": "fasta",
                        "origin_command": "VSEARCH_derep_fastafile",
                        "origin_name": "derepfasta",
                        "origin_step": "VSEARCH_4"
                    },
                    {
                        "input_name": "otutab",
                        "origin_command": "VSEARCH_derep_fastafile",
                        "origin_name": "otutab",
                        "origin_step": "VSEARCH_4"
                    }
                ]
            },
            {
                "step_name": "VSEARCH_6",
                "tool_name": "VSEARCH_clustering",
                "rule_name": "VSEARCH_clustering",
                "params": [
                    {
                        "input_name": "fasta",
                        "origin_command": "VSEARCH_unoise",
                        "origin_name": "centroids",
                        "origin_step": "VSEARCH_5"
                    },
                    {
                        "input_name": "otutab",
                        "origin_command": "VSEARCH_unoise",
                        "origin_name": "otutab",
                        "origin_step": "VSEARCH_5"
                    }
                ]
            },
            {
                "step_name": "metabarcoding_2",
                "tool_name": "lulu",
                "rule_name": "lulu",
                "params": [
                    {
                        "input_name": "abundance_file",
                        "origin_command": "VSEARCH_clustering",
                        "origin_name": "otutab",
                        "origin_step": "VSEARCH_6"
                    },
                    {
                        "input_name": "sequence_file",
                        "origin_command": "VSEARCH_clustering",
                        "origin_name": "centroids",
                        "origin_step": "VSEARCH_6"
                    }
                ]
            },
            {
                "step_name": "phylogenetics",
                "tool_name": "mafft",
                "rule_name": "mafft",
                "params": [
                    {
                        "input_name": "fasta",
                        "origin_command": "VSEARCH_clustering",
                        "origin_name": "centroids",
                        "origin_step": "VSEARCH_6"
                    }
                ]
            },
            {
                "step_name": "phylogenetics_2",
                "tool_name": "raxml_ng",
                "rule_name": "raxml_ng",
                "params": [
                    {
                        "input_name": "aligned_seqs",
                        "origin_command": "mafft",
                        "origin_name": "aligned_fasta",
                        "origin_step": "phylogenetics"
                    }
                ]
            },
            {
                "step_name": "metabarcoding",
                "tool_name": "dada2_assign_taxonomy",
                "rule_name": "dada2_assign_taxonomy",
                "params": [
                    {
                        "input_name": "seqs",
                        "origin_command": "VSEARCH_clustering",
                        "origin_name": "centroids",
                        "origin_step": "VSEARCH_6"
                    },
                    {
                        "input_name": "abundance",
                        "origin_command": "lulu",
                        "origin_name": "curated_table",
                        "origin_step": "metabarcoding_2"
                    }
                ]
            }
        ],
        "steps": [
            {
                "title": "VSEARCH_3",
                "name": "VSEARCH_3",
                "tools": [
                    "VSEARCH_mergepairs"
                ],
                "default": "VSEARCH_mergepairs"
            },
            {
                "title": "VSEARCH_2",
                "name": "VSEARCH_2",
                "tools": [
                    "VSEARCH_filter"
                ],
                "default": "VSEARCH_filter"
            },
            {
                "title": "VSEARCH",
                "name": "VSEARCH",
                "tools": [
                    "VSEARCH_derep"
                ],
                "default": "VSEARCH_derep"
            },
            {
                "title": "format_conversion",
                "name": "format_conversion",
                "tools": [
                    "fastamerge"
                ],
                "default": "fastamerge"
            },
            {
                "title": "VSEARCH_4",
                "name": "VSEARCH_4",
                "tools": [
                    "VSEARCH_derep_fastafile"
                ],
                "default": "VSEARCH_derep_fastafile"
            },
            {
                "title": "VSEARCH_5",
                "name": "VSEARCH_5",
                "tools": [
                    "VSEARCH_unoise"
                ],
                "default": "VSEARCH_unoise"
            },
            {
                "title": "VSEARCH_6",
                "name": "VSEARCH_6",
                "tools": [
                    "VSEARCH_clustering"
                ],
                "default": "VSEARCH_clustering"
            },
            {
                "title": "metabarcoding_2",
                "name": "metabarcoding_2",
                "tools": [
                    "lulu"
                ],
                "default": "lulu"
            },
            {
                "title": "phylogenetics",
                "name": "phylogenetics",
                "tools": [
                    "mafft"
                ],
                "default": "mafft"
            },
            {
                "title": "phylogenetics_2",
                "name": "phylogenetics_2",
                "tools": [
                    "raxml_ng"
                ],
                "default": "raxml_ng"
            },
            {
                "title": "metabarcoding",
                "name": "metabarcoding",
                "tools": [
                    "dada2_assign_taxonomy"
                ],
                "default": "dada2_assign_taxonomy"
            }
        ],
        "input": [
            "raw_read_dir"
        ],
        "params_equals": [
            {
                "remove": "phylogenetics_2__raxml_ng_aligned_seqs"
            }
        ],
        "git": "https:\/\/gitlab.mbb.univ-montp2.fr\/khalid\/JAMP",
        "json": {
            "class": "GraphLinksModel",
            "linkFromPortIdProperty": "fromPort",
            "linkToPortIdProperty": "toPort",
            "modelData": {
                "position": "230.02500009536743 -1538.5"
            },
            "nodeDataArray": [
                {
                    "name": "VSEARCH_derep",
                    "text": "VSEARCH Dereplicate",
                    "size2": "185 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_dir",
                            "value": "fasta_dir",
                            "description": "Directory containing fasta files *.fasta *.fas *.fa",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "derepfasta_done",
                            "value": "derepfasta_done",
                            "description": "stats after fasta files dereplication",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "fasta_dir",
                            "value": "derepfasta_dir",
                            "description": "dir containing dereplicated fasta files",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Conversion of an aligned fasta file to phylip format",
                    "version": "2.21.1",
                    "key": "5008666689",
                    "loc": "310 -700"
                },
                {
                    "name": "VSEARCH_filter",
                    "text": "VSEARCH Filter",
                    "size2": "155 60",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "read_dir",
                            "value": "read_dir",
                            "description": "Directory containing read dir files *.fastq.gz *.fq.gz",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_dir",
                            "value": "filter_done",
                            "description": "dir containing filtered fasta files",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Filter fastqc reads and produce fasta files",
                    "version": "2.21.1",
                    "key": "5939661377",
                    "loc": "60 -620"
                },
                {
                    "name": "read_dir",
                    "text": "read_dir",
                    "size2": "",
                    "category": "Data",
                    "strokeWidth": 2,
                    "fill": "#2ecc71",
                    "inservices": [],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "read_dir",
                            "value": "raw_read_dir",
                            "description": "",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "unknown",
                    "version": "unknown",
                    "key": -9,
                    "loc": "-380 -890"
                },
                {
                    "name": "fastamerge",
                    "text": "fasta merge",
                    "size2": "155 60",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_dir",
                            "value": "fasta_dir",
                            "description": "",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_file",
                            "value": "fasta",
                            "description": "merged fasta file",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Concatenate fasta files in a dir in a single fasta file",
                    "version": "unknown",
                    "key": "3952800598",
                    "loc": "460 -830"
                },
                {
                    "name": "VSEARCH_mergepairs",
                    "text": "VSEARCH MergePairs",
                    "size2": "185 60",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "read_dir",
                            "value": "read_dir",
                            "description": "Directory containing read dir files *.fastq.gz *.fq.gz",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "read_dir",
                            "value": "mergepairs_done",
                            "description": "dir containing merged fastq files",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Merge paired-end reads into one sequence",
                    "version": "2.21.1",
                    "key": "1833319893",
                    "loc": "-160 -890"
                },
                {
                    "name": "VSEARCH_derep_fastafile",
                    "text": "VSEARCH Dereplicate file",
                    "size2": "220 110",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_file",
                            "value": "fasta",
                            "description": "fasta file ",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_file",
                            "value": "derepfasta",
                            "description": "dereplicated sequences in fasta format sorted by decreasing abundance.",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "uclust_like",
                            "description": "tab-separated uclust-like format with 10 columns and 3 different type of entries (S, H or C)",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o3",
                            "type": "tsv",
                            "value": "otutab",
                            "description": "Abundance table with dereplicates sequences as row",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o4",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Merge strictly identical sequences contained in fasta file",
                    "version": "2.21.1",
                    "key": "1733397446",
                    "loc": "740 -830"
                },
                {
                    "name": "VSEARCH_unoise",
                    "text": "VSEARCH Unoise rm chimera generate ZOTU Table",
                    "size2": "340 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_file",
                            "value": "fasta",
                            "description": "dereplicated or centroids (OTU) or ASV fasta file",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "tsv",
                            "value": "otutab",
                            "description": "Abundance table with dereplicates or centroids (OTU) or ASV sequences as row and samples as columns",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_file",
                            "value": "centroids",
                            "description": "Fasta denoised, denovo chimera removed and relabel with ZOTU_n",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "otutab",
                            "description": "Abundance table with ZOTU as row",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Denoising of the fasta sequences in filename according to the UNOISE3 algorithm (Robert Edgar), chimera removal and ZOTU output",
                    "version": "2.21.1",
                    "key": "1566622176",
                    "loc": "1140 -830"
                },
                {
                    "name": "VSEARCH_clustering",
                    "text": "VSEARCH clustering rm chimera generate OTU Table",
                    "size2": "340 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_file",
                            "value": "fasta",
                            "description": "dereplicated or unoise (ZOTU) or ASV fasta file",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "i2",
                            "type": "tsv",
                            "value": "otutab",
                            "description": "Abundance table with dereplicates or unoised (ZOTU) or ASV sequences as row and samples as columns",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "fasta_file",
                            "value": "centroids",
                            "description": "Fasta Clustered, denovo chimera removed and relabel with OTU_n",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "tsv",
                            "value": "otutab",
                            "description": "Abundance table with OTU as row",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "Clustering of the fasta sequences in filename according to the UCLUST algorithm (Robert Edgar), chimera removal and OTU output",
                    "version": "2.21.1",
                    "key": "1561925555",
                    "loc": "1550 -1020"
                },
                {
                    "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.18",
                    "key": "2550106556",
                    "loc": "2120 -820"
                },
                {
                    "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": "0070084173",
                    "loc": "1870 -1150"
                },
                {
                    "name": "mafft",
                    "text": "MAFFT",
                    "size2": "125 60",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": "fasta_file",
                            "value": "fasta",
                            "description": "fasta file",
                            "ptype": "IN",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "aligned_fasta",
                            "value": "aligned_fasta",
                            "description": "aligned fasta file",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o2",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "MAFFT: a multiple sequence alignment program",
                    "version": "7.471-1",
                    "key": "6064599883",
                    "loc": "1620 -600"
                },
                {
                    "name": "raxml_ng",
                    "text": "raxml_ng",
                    "size2": "125 85",
                    "category": "Tool",
                    "strokeWidth": 2,
                    "fill": "#3498db",
                    "inservices": [
                        {
                            "name": "i1",
                            "type": [
                                "aligned_fasta",
                                "phylip"
                            ],
                            "value": "aligned_seqs",
                            "description": "Aligned sequences",
                            "ptype": "IN",
                            "from": "parameter",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices": [
                        {
                            "name": "o1",
                            "type": "newick",
                            "value": "best_tree",
                            "description": "Best-scoring ML tree (strictly bifurcating)",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        },
                        {
                            "name": "o2",
                            "type": "txt",
                            "value": "log",
                            "description": "RAxML-NG log",
                            "ptype": "OUT",
                            "from": "",
                            "list": false,
                            "stroke": "#000000"
                        }
                    ],
                    "outservices2": [
                        {
                            "name": "o3",
                            "type": "link",
                            "value": "linkOut"
                        }
                    ],
                    "description": "RAxML-NG is a phylogenetic tree inference tool which uses maximum-likelihood (ML) optimality criterion",
                    "version": "1.0.1",
                    "key": "8568304687",
                    "loc": "1880 -600"
                }
            ],
            "linkDataArray": [
                {
                    "from": "5939661377",
                    "to": "5008666689",
                    "fromPort": "filter_done",
                    "toPort": "fasta_dir",
                    "points": [
                        151.52500009536743,
                        -616.0999999999999,
                        161.52500009536743,
                        -616.0999999999999,
                        177.5,
                        -616.0999999999999,
                        177.5,
                        -697.3499999999999,
                        193.47499990463257,
                        -697.3499999999999,
                        203.47499990463257,
                        -697.3499999999999
                    ]
                },
                {
                    "from": "5008666689",
                    "to": "3952800598",
                    "fromPort": "derepfasta_dir",
                    "toPort": "fasta_dir",
                    "points": [
                        415.64453125,
                        -685.811083984375,
                        425.64453125,
                        -685.811083984375,
                        425.64453125,
                        -771.25,
                        359.35546875,
                        -771.25,
                        359.35546875,
                        -826.1,
                        369.35546875,
                        -826.1
                    ]
                },
                {
                    "from": -9,
                    "to": "1833319893",
                    "fromPort": "raw_read_dir",
                    "toPort": "read_dir",
                    "points": [
                        -322.385009765625,
                        -888.7,
                        -312.385009765625,
                        -888.7,
                        -294.0147705078125,
                        -888.7,
                        -294.0147705078125,
                        -886.1,
                        -275.64453125,
                        -886.1,
                        -265.64453125,
                        -886.1
                    ]
                },
                {
                    "from": "1833319893",
                    "to": "5939661377",
                    "fromPort": "mergepairs_done",
                    "toPort": "read_dir",
                    "points": [
                        -53.47499990463257,
                        -886.0999999999999,
                        -43.47499990463257,
                        -886.0999999999999,
                        -42.5,
                        -886.0999999999999,
                        -42.5,
                        -616.0999999999999,
                        -41.52500009536743,
                        -616.0999999999999,
                        -31.52500009536743,
                        -616.0999999999999
                    ]
                },
                {
                    "from": "3952800598",
                    "to": "1733397446",
                    "fromPort": "fasta",
                    "toPort": "fasta",
                    "points": [
                        551.5250000953674,
                        -826.0999999999999,
                        561.5250000953674,
                        -826.0999999999999,
                        583.75,
                        -826.0999999999999,
                        583.75,
                        -828.5999999999999,
                        605.9749999046326,
                        -828.5999999999999,
                        615.9749999046326,
                        -828.5999999999999
                    ]
                },
                {
                    "from": "1733397446",
                    "to": "1566622176",
                    "fromPort": "derepfasta",
                    "toPort": "fasta",
                    "points": [
                        864.0250000953674,
                        -852.1816660881043,
                        874.0250000953674,
                        -852.1816660881043,
                        910,
                        -852.1816660881043,
                        910,
                        -839.1408330440522,
                        945.9749999046326,
                        -839.1408330440522,
                        955.9749999046326,
                        -839.1408330440522
                    ]
                },
                {
                    "from": "1733397446",
                    "to": "1566622176",
                    "fromPort": "otutab",
                    "toPort": "otutab",
                    "points": [
                        864.0250000953674,
                        -805.0183339118958,
                        874.0250000953674,
                        -805.0183339118958,
                        876,
                        -805.0183339118958,
                        876,
                        -815.5591669559478,
                        1285.8083329200745,
                        -815.5591669559478,
                        1295.8083329200745,
                        -815.5591669559478
                    ]
                },
                {
                    "from": "1566622176",
                    "to": "1561925555",
                    "fromPort": "centroids",
                    "toPort": "fasta",
                    "points": [
                        1324.0250000953674,
                        -839.1408330440522,
                        1334.0250000953674,
                        -839.1408330440522,
                        1345,
                        -839.1408330440522,
                        1345,
                        -1029.1408330440522,
                        1355.9749999046326,
                        -1029.1408330440522,
                        1365.9749999046326,
                        -1029.1408330440522
                    ]
                },
                {
                    "from": "1566622176",
                    "to": "1561925555",
                    "fromPort": "otutab",
                    "toPort": "otutab",
                    "points": [
                        1324.0250000953674,
                        -815.5591669559478,
                        1334.0250000953674,
                        -815.5591669559478,
                        1334.0250000953674,
                        -815.5591669559478,
                        1334.0250000953674,
                        -1005.5591669559478,
                        1695.8083329200745,
                        -1005.5591669559478,
                        1705.8083329200745,
                        -1005.5591669559478
                    ]
                },
                {
                    "from": "1561925555",
                    "to": "2550106556",
                    "fromPort": "centroids",
                    "toPort": "seqs",
                    "points": [
                        1734.0250000953674,
                        -1026.2105553627014,
                        1744.0250000953674,
                        -1026.2105553627014,
                        1870,
                        -1026.2105553627014,
                        1870,
                        -829.1408330440522,
                        1995.9749999046326,
                        -829.1408330440522,
                        2005.9749999046326,
                        -829.1408330440522
                    ]
                },
                {
                    "from": "1561925555",
                    "to": "0070084173",
                    "fromPort": "centroids",
                    "toPort": "sequence_file",
                    "points": [
                        1734.0250000953674,
                        -1032.0711107254028,
                        1744.0250000953674,
                        -1032.0711107254028,
                        1746.25,
                        -1032.0711107254028,
                        1746.25,
                        -1135.559166955948,
                        1748.4749999046326,
                        -1135.559166955948,
                        1758.4749999046326,
                        -1135.559166955948
                    ]
                },
                {
                    "from": "1561925555",
                    "to": "0070084173",
                    "fromPort": "otutab",
                    "toPort": "abundance_file",
                    "points": [
                        1734.0250000953674,
                        -1008.4894446372986,
                        1744.0250000953674,
                        -1008.4894446372986,
                        1746.25,
                        -1008.4894446372986,
                        1746.25,
                        -1159.1408330440522,
                        1748.4749999046326,
                        -1159.1408330440522,
                        1758.4749999046326,
                        -1159.1408330440522
                    ]
                },
                {
                    "from": "0070084173",
                    "to": "2550106556",
                    "fromPort": "curated_table",
                    "toPort": "abundance",
                    "points": [
                        1981.5250000953674,
                        -1159.1408330440522,
                        1991.5250000953674,
                        -1159.1408330440522,
                        1993.75,
                        -1159.1408330440522,
                        1993.75,
                        -805.5591669559478,
                        1995.9749999046326,
                        -805.5591669559478,
                        2005.9749999046326,
                        -805.5591669559478
                    ]
                },
                {
                    "from": "6064599883",
                    "to": "8568304687",
                    "fromPort": "aligned_fasta",
                    "toPort": "aligned_seqs",
                    "points": [
                        1696.5250000953674,
                        -596.0999999999999,
                        1706.5250000953674,
                        -596.0999999999999,
                        1750,
                        -596.0999999999999,
                        1750,
                        -597.3499999999999,
                        1793.4749999046326,
                        -597.3499999999999,
                        1803.4749999046326,
                        -597.3499999999999
                    ]
                },
                {
                    "from": "1561925555",
                    "to": "6064599883",
                    "fromPort": "centroids",
                    "toPort": "fasta",
                    "points": [
                        1734.0250000953674,
                        -1024.745416522026,
                        1744.0250000953674,
                        -1024.745416522026,
                        1744.0250000953674,
                        -803.75,
                        1533.4749999046326,
                        -803.75,
                        1533.4749999046326,
                        -596.0999999999999,
                        1543.4749999046326,
                        -596.0999999999999
                    ]
                }
            ],
            "version": 2
        },
        "yaml": "{\r\nname: \"JAMP\",\r\ndocker_name: \"JAMP\",\r\ndescription: \"\",\r\nversion: \"0.0.1\",\r\nauthor: \"MBB\",\r\noptions: [\r\n    {\r\n    name: \"results_dir\",\r\n    type: \"output_dir\",\r\n    value: \"\/Results\",\r\n    label: \"Results directory: \",\r\n    volumes:  [Results: \"\/Results\"]\r\n    },\r\n],\r\nsteps_in: [\r\n{ step_name: \"VSEARCH_3\", tool_name: \"VSEARCH_mergepairs\", rule_name: \"VSEARCH_mergepairs\",\r\n    params: [\r\n        { input_name: read_dir, origin_command: raw_read_dir, origin_name: read_dir, origin_step: input},\r\n    ]\r\n},\r\n{ step_name: \"VSEARCH_2\", tool_name: \"VSEARCH_filter\", rule_name: \"VSEARCH_filter\",\r\n    params: [\r\n        { input_name: read_dir, origin_command: VSEARCH_mergepairs, origin_name: mergepairs_done, origin_step: VSEARCH_3},\r\n    ]\r\n},\r\n{ step_name: \"VSEARCH\", tool_name: \"VSEARCH_derep\", rule_name: \"VSEARCH_derep\",\r\n    params: [\r\n        { input_name: fasta_dir, origin_command: VSEARCH_filter, origin_name: filter_done, origin_step: VSEARCH_2},\r\n    ]\r\n},\r\n{ step_name: \"format_conversion\", tool_name: \"fastamerge\", rule_name: \"fastamerge\",\r\n    params: [\r\n        { input_name: fasta_dir, origin_command: VSEARCH_derep, origin_name: derepfasta_dir, origin_step: VSEARCH},\r\n    ]\r\n},\r\n{ step_name: \"VSEARCH_4\", tool_name: \"VSEARCH_derep_fastafile\", rule_name: \"VSEARCH_derep_fastafile\",\r\n    params: [\r\n        { input_name: fasta, origin_command: fastamerge, origin_name: fasta, origin_step: format_conversion},\r\n    ]\r\n},\r\n{ step_name: \"VSEARCH_5\", tool_name: \"VSEARCH_unoise\", rule_name: \"VSEARCH_unoise\",\r\n    params: [\r\n        { input_name: fasta, origin_command: VSEARCH_derep_fastafile, origin_name: derepfasta, origin_step: VSEARCH_4},\r\n        { input_name: otutab, origin_command: VSEARCH_derep_fastafile, origin_name: otutab, origin_step: VSEARCH_4},\r\n    ]\r\n},\r\n{ step_name: \"VSEARCH_6\", tool_name: \"VSEARCH_clustering\", rule_name: \"VSEARCH_clustering\",\r\n    params: [\r\n        { input_name: fasta, origin_command: VSEARCH_unoise, origin_name: centroids, origin_step: VSEARCH_5},\r\n        { input_name: otutab, origin_command: VSEARCH_unoise, origin_name: otutab, origin_step: VSEARCH_5},\r\n    ]\r\n},\r\n{ step_name: \"metabarcoding_2\", tool_name: \"lulu\", rule_name: \"lulu\",\r\n    params: [\r\n        { input_name: abundance_file, origin_command: VSEARCH_clustering, origin_name: otutab, origin_step: VSEARCH_6},\r\n        { input_name: sequence_file, origin_command: VSEARCH_clustering, origin_name: centroids, origin_step: VSEARCH_6},\r\n    ]\r\n},\r\n{ step_name: \"phylogenetics\", tool_name: \"mafft\", rule_name: \"mafft\",\r\n    params: [\r\n        { input_name: fasta, origin_command: VSEARCH_clustering, origin_name: centroids, origin_step: VSEARCH_6},\r\n    ]\r\n},\r\n{ step_name: \"phylogenetics_2\", tool_name: \"raxml_ng\", rule_name: \"raxml_ng\",\r\n    params: [\r\n        { input_name: aligned_seqs, origin_command: mafft, origin_name: aligned_fasta, origin_step: phylogenetics},\r\n    ]\r\n},\r\n{ step_name: \"metabarcoding\", tool_name: \"dada2_assign_taxonomy\", rule_name: \"dada2_assign_taxonomy\",\r\n    params: [\r\n        { input_name: seqs, origin_command: VSEARCH_clustering, origin_name: centroids, origin_step: VSEARCH_6},\r\n        { input_name: abundance, origin_command: lulu, origin_name: curated_table, origin_step: metabarcoding_2},\r\n    ]\r\n},\r\n],\r\nsteps: [\r\n    { title: \"VSEARCH_3\", name: \"VSEARCH_3\", tools: [VSEARCH_mergepairs], default: \"VSEARCH_mergepairs\" },\r\n    { title: \"VSEARCH_2\", name: \"VSEARCH_2\", tools: [VSEARCH_filter], default: \"VSEARCH_filter\" },\r\n    { title: \"VSEARCH\", name: \"VSEARCH\", tools: [VSEARCH_derep], default: \"VSEARCH_derep\" },\r\n    { title: \"format_conversion\", name: \"format_conversion\", tools: [fastamerge], default: \"fastamerge\" },\r\n    { title: \"VSEARCH_4\", name: \"VSEARCH_4\", tools: [VSEARCH_derep_fastafile], default: \"VSEARCH_derep_fastafile\" },\r\n    { title: \"VSEARCH_5\", name: \"VSEARCH_5\", tools: [VSEARCH_unoise], default: \"VSEARCH_unoise\" },\r\n    { title: \"VSEARCH_6\", name: \"VSEARCH_6\", tools: [VSEARCH_clustering], default: \"VSEARCH_clustering\" },\r\n    { title: \"metabarcoding_2\", name: \"metabarcoding_2\", tools: [lulu], default: \"lulu\" },\r\n    { title: \"phylogenetics\", name: \"phylogenetics\", tools: [mafft], default: \"mafft\" },\r\n    { title: \"phylogenetics_2\", name: \"phylogenetics_2\", tools: [raxml_ng], default: \"raxml_ng\" },\r\n    { title: \"metabarcoding\", name: \"metabarcoding\", tools: [dada2_assign_taxonomy], default: \"dada2_assign_taxonomy\" },\r\n],\r\ninput: [\"raw_read_dir\",],\r\nparams_equals: [\r\n        { remove: phylogenetics_2__raxml_ng_aligned_seqs},\r\n\r\n]\r\n}\r\n"
    }
]