Sorry new to programming.  Just wrote my first perl script, and using samtools piped into grep to get an calls at a specific location.  However, each time it run the script and it runs samtools, I get this in STDOUT:


[mpileup] 1 samples in 1 input files

<mpileup> Set max per-sample depth to 8000


Anyway to re-direct this or prevent this, so I just get the output from the grep it is piped into?  Doing this for multiple locations and want to create a file of the results, but have these two lines between each result.



Catherine Sullivan