Skip to content

Community profile format is cumbersome #30

Description

@cerebis

The format used to define a community is presently a simple flat table. This approach incurs a great deal of duplicated information, and a cleaner approach would be a to use JSON or TOML to define a simple object hierarchy.

The fundamental component is just the one-to-many relationship:

Community 1->* Cell 1->* Molecule 1->* Segment

Additional details would become parameters at the relevant object level.

An example prototype definition using TOML

[ecoli]
abundance = 1

[ecoli.chromosome]
copy_number = 1
linear = true
segments = [ "contig_1", "contig_2",]

[ecoli.plasmid]
copy_number = 4
linear = false
segments = [ "contig_3",]

[bsubt]
abundance = 0.5

[bsubt.chromosome]
copy_number = 1
linear = true
segments = [ "contig_4", "contig_5", "contig_6",]

[bsubt.plasmid]
copy_number = 1
linear = false
segments = [ "contig_7",]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions