A very small nit: $data{"$chr$bp"} = $min;, I added a space between the values "$chr $bp" to prevent possible collisions between these two things.
Update: Cristoforo is right about this seldom used hash key idiom with the commas for hash keys. I also wondered about /CHR/.
In reply to Re^2: extract values from file if greater than value
by Marshall
in thread extract values from file if greater than value
by mulder4786
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |