[Bioperl-l] base content

gabriele bucci gabriele.bucci at ieo-research.it
Fri Apr 2 04:46:39 EST 2004


Dears,
can you tell me which is the way to manage an hash object resulting from
the method get_base_count?
Say I want to show in my output the %GC as in the subroutine below:

sub main {             my $m=shift;
                        $chr=$m->chr_name();
                        $chr_start=$m->chr_start();
                        $chr_end=$m->chr_end();
                        $slice_length=$m->length();
                        $slice_GC=$slice->get_base_count('%gc');
                        $sliceGC=$slice_GC->???;
                        return
"$LIBclo\t$chr\t$chr_start\t$chr_end\t$slice_length\t$sliceGC\t";}

Thanks


Gabriele Bucci
Department of Experimental Oncology
European Institute of Oncology
Via Ripamonti, 435
20141 Milan, Italy
Tel. 02-57489-864
Fax. 02-57489-851
e-mail: gabriele.bucci at ieo-research.it
 




More information about the Bioperl-l mailing list