Skip to content

Latest commit

 

History

History
250 lines (223 loc) · 24.5 KB

SCRIPTS.md

File metadata and controls

250 lines (223 loc) · 24.5 KB

Detailed description of scripts

summary, inputs, outputs of scritps

Scripts are classified by step (see Table of contents) and programmatic language(BASH , PYTHON, JULIA, R).

Table of contents

  1. Filter raw data
  2. Georeferenced sequences alignments by species
  3. Species sequence pairwise comparison
  4. Genetic Diversity calculation
  5. Statistical analysis
  6. Taxonomy and habitat attributed to each individual sequences

1 Filter raw data

BASH scripts

PYTHON2 scripts

2 Georeferenced sequences alignments by species

BASH scripts

PYTHON2 scripts

R scripts

3 Species sequence pairwise comparison

JULIA scripts

4 Genetic Diversity calculation

BASH scripts

  • gdval_by_cell.sh : generates CSV files with 2 columns : cell ID and mean genetic diversity per species into the cell.

JULIA scripts

  • Lib_GD_summary_functions.jl : functions to calculate genetic diversity at species level and cell level

  • equalarea_numbers.jl : attributes mean genetic diversity at each equal area grid cell. Genetic diversity is calculated from master data matrices.

  • metrics_by_area_and_species.jl: it generates files for statistical analysis at next step : mean genetic diversity per cell, genetic diversity per species per cell, number of individuals per species, number of species per cell, cell coordinates, cell ID...

    • input :
    • outputs :
      • metrics_by_area_marine.csv : table of ID_cell,ISO3,is_sea,cloMeanVal,cloMinVal,cloMaxVal,bathyVal,AP,HDI_2015,fshD information attributed to each cell with marine species
      • metrics_by_area_freshwater.csv : table of ID_cell,ISO3,is_sea,cloMeanVal,cloMinVal,cloMaxVal,bathyVal,AP,HDI_2015,fshD information attributed to each cell with freshwater species
  • latband_numbers.jl : attributes mean genetic diversity at each latitudinal band.

  • Lib_bootstrap.jl : functions to bootstrap by species latitudinal band genetic diversity

5 Statistical analysis

R scripts

6 Taxonomy and habitat attributed to each individual sequences

BASH scripts

PYTHON3 scripts

R scripts