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
Add Windows compatibility, geo_loc_name support, and fix memory leaks
- Add support for /geo_loc_name qualifier (GenBank 2024 change) in addition to /country
- Add Windows compatibility with portable strptime and getopt implementations
- Replace VLA with dynamic allocation for MSVC compatibility
- Fix memory leak: sCountry2 was allocated but never freed in main loop
- Fix memory leak: add freeSingleGBData() for proper cleanup on parse errors
- Update README with Windows build instructions (WSL, MSYS2, PCRE2, TRE)
Copy file name to clipboardExpand all lines: README.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This little C program will extract the following information from a GenBank file
9
9
- length
10
10
- submission date
11
11
- host
12
-
- country
12
+
- country (supports both `/country` and `/geo_loc_name` qualifiers)
13
13
- collection date
14
14
15
15
In addition to extracting this information, dates are reformatted e.g. `31-DEC-2001` becomes `2001-12-31`, which makes them more digestible to downstream software like BEAST, and country names are cleaned and matched to ISO3 codes.
0 commit comments