[
    {
        "id": "radsex_signif",
        "name": "radsex_signif",
        "article": "https:\/\/doi.org\/10.1111\/1755-0998.13360",
        "website": "https:\/\/onlinelibrary.wiley.com\/doi\/full\/10.1111\/1755-0998.13360",
        "git": "https:\/\/github.com\/SexGenomicsToolkit\/radsex",
        "description": "Extracting all markers significantly associated with sex",
        "version": "latest",
        "documentation": "https:\/\/sexgenomicstoolkit.github.io\/html\/radsex\/introduction.html",
        "multiqc": "custom",
        "commands": [
            {
                "name": "radsex_signif",
                "command": "\/opt\/biotools\/radsex\/bin\/radsex signif",
                "category": "radsex",
                "output_dir": "radsex_signif",
                "inputs": [
                    {
                        "name": "markers_table",
                        "type": "tsv",
                        "file": "",
                        "description": "Table containing the depth of each marker in each individual (tabulated file)"
                    },
                    {
                        "name": "popmap_file",
                        "type": "popmap",
                        "description": "Path to population tsv file"
                    }
                ],
                "outputs": [
                    {
                        "name": "significant_markers",
                        "type": "tsv",
                        "file": "significant_markers_mqc.tsv",
                        "description": "Table containing the markers significantly different between males and females"
                    },
                    {
                        "name": "significant_sequences",
                        "type": "contigs",
                        "file": "significant_markers_sequences.fa",
                        "description": "The fasta sequences of significant markers"
                    }
                ],
                "options": [
                    {
                        "name": "radsex_signif_min_depth",
                        "prefix": "--min-depth",
                        "value": 5,
                        "min": 1,
                        "max": "NA",
                        "step": 1,
                        "label": "Minimum depth to consider a marker present in an individual",
                        "type": "numeric"
                    },
                    {
                        "name": "radsex_signif_threshold",
                        "prefix": "--signif-threshold",
                        "value": 0.05,
                        "min": 0,
                        "max": 1,
                        "step": 0.001,
                        "label": "P-value threshold to consider a marker significantly associated with a phenotypic group",
                        "type": "numeric"
                    }
                ]
            }
        ],
        "prepare_report_script": "radsex_signif.prepare.report.R",
        "prepare_report_outputs": [
            "Marker_depth_radsex_signif_mqc.png"
        ],
        "install": {
            "radsex_apt_dependencies": [
                "apt-get update",
                "apt-get install -y gcc zlib1g-dev pkg-config libfreetype6-dev libpng-dev"
            ],
            "radsex": [
                "cd \/opt\/biotools",
                "git clone https:\/\/gitlab.mbb.univ-montp2.fr\/khalid\/radsex",
                "cd radsex",
                "make -j 10"
            ],
            "sgtr": [
                "Rscript -e 'devtools::install_github(\"SexGenomicsToolkit\/sgtr\");library(\"sgtr\")'"
            ]
        },
        "citations": {
            "radsex": [
                "Feron, R., Pan, Q., Wen, M., Imarazene, B., Jouanno, E., Anderson, J., Herpin, A., et al. (2021), RADSex: A computational workflow to study sex determination using restriction site\u2010associated DNA sequencing data. Mol Ecol Resour. https:\/\/doi.org\/10.1111\/1755-0998.13360"
            ]
        },
        "yaml": "{\n  id: radsex_signif,\n  name: radsex_signif,\n  article:  https:\/\/doi.org\/10.1111\/1755-0998.13360,\n  website: \"https:\/\/onlinelibrary.wiley.com\/doi\/full\/10.1111\/1755-0998.13360\",\n  git: \"https:\/\/github.com\/SexGenomicsToolkit\/radsex\",\n  description: \"Extracting all markers significantly associated with sex\",\n  version: \"latest\",\n  documentation: \"https:\/\/sexgenomicstoolkit.github.io\/html\/radsex\/introduction.html\",\n  multiqc: \"custom\",\n  commands:\n    [\n      {\n        name: radsex_signif,\n        command: \/opt\/biotools\/radsex\/bin\/radsex signif,\n        category: \"radsex\",\n        output_dir: radsex_signif,\n        inputs: [\n          { name: markers_table, type: \"tsv\", file: \"\", description: \"Table containing the depth of each marker in each individual (tabulated file)\" },\n          { name: \"popmap_file\", type: \"popmap\",  description: \"Path to population tsv file\"}\n        ],\n        outputs:\n          [\n            { name: significant_markers, type: \"tsv\", file: \"significant_markers_mqc.tsv\", description: \"Table containing the markers significantly different between males and females\" },\n            { name: significant_sequences, type: \"contigs\", file: \"significant_markers_sequences.fa\", description: \"The fasta sequences of significant markers\" },\n\n          ],\n        options:\n          [\n            {\n              name: \"radsex_signif_min_depth\",\n              prefix: \"--min-depth\",\n              value: 5,\n              min: 1,\n              max: NA,\n              step: 1,\n              label: \"Minimum depth to consider a marker present in an individual\",\n              type: \"numeric\",\n            },\n            {\n              name: \"radsex_signif_threshold\",\n              prefix: \"--signif-threshold\",\n              value: 0.05,\n              min: 0,\n              max: 1,\n              step: 0.001,\n              label: \"P-value threshold to consider a marker significantly associated with a phenotypic group\",\n              type: \"numeric\",\n            },\n          ],\n      },\n    ],\n  prepare_report_script:  radsex_signif.prepare.report.R,\n   prepare_report_outputs: [\n     Marker_depth_radsex_signif_mqc.png,\n   ],\n  install:\n    {\n      radsex_apt_dependencies: [\n        \"apt-get update\",\n        \"apt-get install -y gcc zlib1g-dev pkg-config libfreetype6-dev libpng-dev\"\n      ],\n      radsex: [\n        \"cd \/opt\/biotools\",\n        \"git clone https:\/\/gitlab.mbb.univ-montp2.fr\/khalid\/radsex\",\n        \"cd radsex\",\n        \"make -j 10\",\n      ],\n      sgtr: [\n        'Rscript -e ''devtools::install_github(\"SexGenomicsToolkit\/sgtr\");library(\"sgtr\")'''\n      ],\n    },\n    citations:  {\n      radsex: [\n        \"Feron, R., Pan, Q., Wen, M., Imarazene, B., Jouanno, E., Anderson, J., Herpin, A., et al. (2021), RADSex: A computational workflow to study sex determination using restriction site\u2010associated DNA sequencing data. Mol Ecol Resour. https:\/\/doi.org\/10.1111\/1755-0998.13360\"\n      ]\n    }\n}\n"
    }
]