radsex_map.yaml 3.9 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
{
  id: radsex_map,
  name: radsex_map,
  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: "Aligning markers to a genome and computing bias and probability of association with group for each aligned marker",
  version: "latest",
  documentation: "https://sexgenomicstoolkit.github.io/html/radsex/introduction.html",
  multiqc: "custom",
  commands:
    [
      {
        name: radsex_map,
        command: /opt/biotools/radsex/bin/radsex map,
        category: "radsex",
        output_dir: radsex_map,
        inputs: [
19
20
21
          { 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" },
          { name: "genome_fasta", type: "contigs", description: "Fasta reference", from: "parameter"},
abensaid's avatar
Radsex  
abensaid committed
22
23
24
25
26
27
28
        ],
        outputs:
          [
            { name: map_results, type: "tsv", file: "map_results.tsv", description: "Alignment results indicating contig and contig position where the marker was mapped" }
          ],
        options:
          [
29
30
31
             {
              name: radsex_map_genome_fasta,
              prefix: "--genome-file",
abensaid's avatar
Radsex  
abensaid committed
32
33
              type: input_file,
              value: "",
34
              label: "Path to the genome file",
abensaid's avatar
Radsex  
abensaid committed
35
36
            },
            {
khalid's avatar
khalid committed
37
              name: radsex_map_chromosome_file,
38
              prefix: "",
abensaid's avatar
Radsex  
abensaid committed
39
40
              type: input_file,
              value: "",
41
42
              label: "Path to the chromosome file",
            },            
abensaid's avatar
Radsex  
abensaid committed
43
            {
khalid's avatar
khalid committed
44
              name: "radsex_map_min_quality",
abensaid's avatar
Radsex  
abensaid committed
45
46
47
48
49
50
51
52
53
              prefix: "--min-quality",
              value: 20,
              min: 1,
              max: NA,
              step: 1,
              label: "Minimum mapping quality to consider a marker properly aligned",
              type: "numeric",
            },
            {
khalid's avatar
khalid committed
54
              name: "radsex_map_min_frequency",
abensaid's avatar
Radsex  
abensaid committed
55
56
57
58
59
60
61
62
63
              prefix: "--min-frequency",
              value: 0.1,
              min: 0,
              max: 1,
              step: 0.1,
              label: "Minimum frequency of a marker in a population to retain it",
              type: "numeric",
            },
            {
khalid's avatar
khalid committed
64
              name: "radsex_map_min_depth",
abensaid's avatar
Radsex  
abensaid committed
65
66
67
68
69
70
71
72
73
              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
74
              name: "radsex_map_signif_threshold",
abensaid's avatar
Radsex  
abensaid committed
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
              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_map.prepare.report.R,
  prepare_report_outputs: [
    Marker_depth_radsex_map_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",
98
        "git clone https://gitlab.mbb.univ-montp2.fr/khalid/radsex",
abensaid's avatar
Radsex  
abensaid committed
99
100
101
102
103
104
105
106
107
108
109
110
111
        "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"
      ]
    }
}