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);
Type: Posts; User: JBow94
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);
public static void main(String[] args) {
getFile();
if (fastaFile != null) {
totalCount = countBase(getSequence(fastaFile), 'A')
+ countBase(getSequence(fastaFile), 'G')
+...