Search:

Type: Posts; User: JBow94

Search: Search took 0.09 seconds.

  1. Re: It's not printing out the correct percentage...

    Never-mind I got it to work:

    I had to add:
    System.out.printf("A: == (%1$1.0f%%)\r\n", ((float) countBase(
    getSequence(fastaFile), 'A') / totalCount) * 100);
  2. It's not printing out the correct percentage...

    public static void main(String[] args) {
    getFile();

    if (fastaFile != null) {
    totalCount = countBase(getSequence(fastaFile), 'A')
    + countBase(getSequence(fastaFile), 'G')
    +...
Results 1 to 2 of 2