Skip to content

Reorganize GFA operations into ops and cli modules#198

Merged
sampsyo merged 8 commits intomainfrom
fgfa-ops-mod
Dec 28, 2024
Merged

Reorganize GFA operations into ops and cli modules#198
sampsyo merged 8 commits intomainfrom
fgfa-ops-mod

Conversation

@sampsyo
Copy link
Collaborator

@sampsyo sampsyo commented Dec 28, 2024

Closes #191. This goes in a somewhat different direction: it puts the core logic of the nontrivial command into ops and leaves all the CLI stuff (argh structs, odgi-style option string parsing, odgi-style TSV printing) in cmds. The latter goes in a new cli module.

So now the module hierarchy goes like this:

flatgfa
  ::ops::*  // various transformations and analyses
  ::cli::*  // an odgi-like command-line interface
  ::*  // the actual data structure, etc.

Someday it may make sense to separate the CLI into a separate crate?

@sampsyo sampsyo merged commit 30868ef into main Dec 28, 2024
@sampsyo sampsyo deleted the fgfa-ops-mod branch December 28, 2024 22:12
sampsyo added a commit that referenced this pull request Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant