anchor.diff:          match numsamples with
           |Some x -> x 
           |None -> 
  -            (getSize serverpathip (sprintf "%s.amp" sp) |> Async.RunSynchronously)/128L
  -            //(getSize serverpathip (sprintf "%s.rhd" sp) |> Async.RunSynchronously)/176L
  +            (getSize serverpathip (sprintf "%s.amp" sp) |> Async.RunSynchronously)/128L // for AMP files. Comment if not necessary
  +            //(getSize serverpathip (sprintf "%s.rhd" sp) |> Async.RunSynchronously)/176L // for RHD files. Comment if not necessary
       let numblocks = (numsamples-(endPadding|>int64))/(samplesPerBlock|>int64)|>int
   
       let refchans chipnum =
  
positive.code: 
      let settingsfile = sprintf @"%s\SnippeterSettings.xml" dirpath
  
      let samplesPerBlock = 30000*15 //15 secondss
      let endPadding = 3000
      let w_pre,w_post = 31,32
      let dfact = 100
  
negative.code: ﻿#r "System.Xml.Linq"
  #r @".\WorkerNodes\Clusterer\SnippetMaster.exe"
  
  open System.Xml.Linq
  open System.IO
  