let row_to_string r =
let (pmx,pmy) = r.pmcoord in
let (mmx,mmy) = r.mmcoord in
String.concat ~sep:"\t"
[string_of_int pmx;
string_of_int pmy;
string_of_int mmx;
string_of_int mmy;
r.probe.org_name ^ ":" ^ r.probe.version ^ ";" ^ r.probe.chr_name;
string_of_int (r.probe.start_pos);
Seq.to_string (r.probe.sequence)
]