Skip to content
Snippets Groups Projects
Select Git revision
  • 166a498cd0c99ee6443c9d205485c219eba4d082
  • master default protected
2 results

font.h

Blame
  • ldmap_to_csv.pl 321 B
    use warnings; use strict;
    
    ## Script to convert LDmap output  to CSV
    ## RJPengelly, 2014, r.j.pengelly@soton.ac.uk
    
    open FILE, $ARGV[0];
    open OUT, ">$ARGV[0]" . '.csv';
    
    print OUT 'N,Locus,KBmap,LDUmap';
    while (<FILE>) {
    	if ($_ =~ /#/) {next;}
    	$_ =~ s/^\s+//; 
    	$_ =~ s/\s+$//;
    	$_ =~ s/\s+/\,/g; 
    	print OUT "$_\n";
    }