radsex_signif.yaml 2.87 KB
Newer Older
abensaid's avatar
Radsex  
abensaid committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  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)" },
20
          { name: "popmap_file", type: "popmap",  description: "Path to population tsv file"}
abensaid's avatar
Radsex  
abensaid committed
21
22
23
        ],
        outputs:
          [
24
            { name: significant_markers, type: "tsv", file: "significant_markers_mqc.tsv", description: "Table containing the markers significantly different between males and females" },
khalid's avatar
khalid committed
25
            { name: significant_sequences, type: "contigs", file: "significant_markers_sequences.fa", description: "The fasta sequences of significant markers" },
26

abensaid's avatar
Radsex  
abensaid committed
27
28
29
30
31
32
33
34
35
36
37
38
39
          ],
        options:
          [
            {
              name: "radsex_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",
            },
khalid's avatar
khalid committed
40
            {
khalid's avatar
khalid committed
41
              name: "radsex_signif_threshold",
khalid's avatar
khalid committed
42
43
44
45
46
47
48
49
              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",
            },
abensaid's avatar
Radsex  
abensaid committed
50
51
52
          ],
      },
    ],
53
54
55
56
  prepare_report_script:  radsex_signif.prepare.report.R,
   prepare_report_outputs: [
     Marker_depth_radsex_signif_mqc.png,
   ],
abensaid's avatar
Radsex  
abensaid committed
57
58
59
60
61
62
63
64
  install:
    {
      radsex_apt_dependencies: [
        "apt-get update",
        "apt-get install -y gcc zlib1g-dev pkg-config libfreetype6-dev libpng-dev"
      ],
      radsex: [
        "cd /opt/biotools",
65
        "git clone https://gitlab.mbb.univ-montp2.fr/khalid/radsex",
abensaid's avatar
Radsex  
abensaid committed
66
67
68
69
70
71
72
73
74
75
76
77
78
        "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‐associated DNA sequencing data. Mol Ecol Resour. https://doi.org/10.1111/1755-0998.13360"
      ]
    }
}