You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -378,7 +392,7 @@ type parseLoopParameters struct {
378
392
emptyAttributebool
379
393
sequenceBuilder strings.Builder
380
394
parseStepstring
381
-
genbankGenbank// since we are scanning lines we need a Genbank struct to store the data outside the loop.// since we are scanning lines we need a Genbank struct to store the data outside the loop.
395
+
genbankGenbank// since we are scanning lines we need a Genbank struct to store the data outside the loop.
baseCountFlag:=strings.Contains(line, "BASE COUNT") // example string for BASE COUNT: "BASE COUNT 67070277 a 48055043 c 48111528 g 67244164 t 18475410 n"
502
+
ifbaseCountFlag {
503
+
fields:=strings.Fields(line)
504
+
forcountIndex:=2; countIndex<len(fields)-1; countIndex+=2 { // starts at two because we don't want to include "BASE COUNT" in our fields
0 commit comments