Skip to content

A script for colapsing similar lines from genetic marker maps

Notifications You must be signed in to change notification settings

juancresc/mapmerger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

A python script that colapse similar molecular markers (standart format) into one line in order to simplify further statistical analyses.

python merger.py input.csv output.csv

Input: Comma separated Values Columns: Id,chromosme, position (if any), marker values or missing data ('-')

1040965*_1A,1A,1627778,-,A,A,B,B,-,-,A

Output: Tab separated values Columns: Collapsed Ids,chromosme, position of first marker (if any), marker name of first position (if any), marker values or missing data ('-')

{1121398_6B}    6B      96329366        1121398_6B      B       A       A       A       A       A       B       B       B       A     A

About

A script for colapsing similar lines from genetic marker maps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages