Change to the method get_base_count():
Change to the method get_base_count():

  Requiring that all of $a, $c, $t, and $g be non-zero is too strict
  when trying to avoid that $a+$c+$t+g be non-zero in division.  Just
  test the sum instead.  This would have generated the wrong results for
  sequences which lacked one of A, C, T, or G...

  tr/Aa// is theoretically quicker than tr/Aa/Aa/

  Formatting


Tested.

Ensembl/ensembl,mjg17/ensembl,james-monkeyshines/ensembl,willmclaren/ensembl,james-monkeyshines/ensembl,at7/ensembl,mjg17/ensembl,danstaines/ensembl,mjg17/ensembl,danstaines/ensembl,at7/ensembl,Ensembl/ensembl,danstaines/ensembl,james-monkeyshines/ensembl,james-monkeyshines/ensembl,Ensembl/ensembl,muffato/ensembl,at7/ensembl,Ensembl/ensembl,muffato/ensembl,willmclaren/ensembl,mjg17/ensembl,at7/ensembl,muffato/ensembl,muffato/ensembl