This is the first chunck for microsatellite analysis and uses the library Fragman developed by Giovanny Covarrubias-Pazaran et al.
Fragman 1.0.9 - Peak scoring functions
tidyr 1.1.4 - Tidyverse best practices
dplyr 1.0.7 - Tidyverse best practices
magrittr 2.0.1 - Use of L->R piping of functions
qpdf 1.1 - PDF manipulations
.fsa files maker_info.R ladder_info.R
Pseudocode:
- Read fsa binary files (new)
- Check if the fsa directory has fsa files from the same batch: source("check_fsa_v_batch.R")
- Retrieve metadata from fsa files into a table and a file called fsa_info.txt: source("get_fsa_metadata.R")
- Retrieve the eletrophoretic data and show plots from each channel: source("storing_inds_rev3.R")
- Associate the actual dyes to the channels ("associate_dye_names.R")
- Save the .fsa files from each marker set in different folder (ie. fsa_set1, fsa_set2...)
- Structure markers sets and markers info in the source maker_info.R
- Read .fsa files for particular marker set and analyse all markers at once
- Use the markers_info to create panels for peak scoring
- Report .fsa files with bad ladder
- Check and edit manually the electropherograms for size matching with expected allele sizes
- Export the results in a data.frame including sample_ID, peak sizes and peak scores (heights)