modules/custom_geneticmapconvert
This R script allows to automatically detect the different genetic map format and convert the input file in all the other format type.
mapconvertionR
Description
This R script allows to automatically detect the different genetic map format and convert the input file in all the other format type.
Input
name:type
description
pattern
Genomic map file to process. This file should contain the data of only one chromosome. It should be a flat file (comma, semicolon, tab or space delimited) with at least the physical position and its corresponding recombination distance in centiMorgans. The columns names will be normalised (no space, extra character transformed to ”_”) and then automatically recognise as:
- chr: _chr, chrom, chromosome
- pos: position, bp
- id: snp, marker, rsid
- cm: genetic_map_cm
- rate: combined_rate, combined_rate_cm_mb, cm_mb If no header present, then it will try for 3 columns table with chr, pos, cm format and for 4 columns table with chr, id, cm, pos format.