hi monks,
my question should be relatively simple, but as i am a perl newbie, it is a little difficult for me to find a way to do this:
i have a 2D array (initialized with push @positions, $read->start - 1, $base;). column 1 is full of scalars and column 2 is a corresponding string.
e.g. array = {1, A; 2, A; 3 G; 4 T; 5 C}.
if the second column of a row starts with a G or a C, i would like to remove it. how do i go about doing this? i heard something about the splice function, so maybe that can point me in the right direction.
thanks!