Skip to content

Instantly share code, notes, and snippets.

@nickpettican
Last active October 30, 2015 15:58
Show Gist options
  • Save nickpettican/d2cfc146a96fcbb4be69 to your computer and use it in GitHub Desktop.
Save nickpettican/d2cfc146a96fcbb4be69 to your computer and use it in GitHub Desktop.
Ion Stats
#!/usr/bin/perl -w
#
use strict;
use Getopt::Long;
# You might want to have a flag --binwidth and --bintarget
# perl ion_stats.pl --binwidth 30 --bintarget 150
# the above would specify bin parameters: 135-165
my $binwidth;
my $bintarget;
GetOptions ("binwidth" => \$binwidth,
"bintarget" => \$bintarget);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment