Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

List Get Interface

cshenry edited this page Mar 22, 2012 · 2 revisions

Command Syntax

$ mseed list <path> <options>

This command lists objects in the specified path in the database. It is similar to the unix ls command. The command has the following options:

    -v[erbose]   Print detailed information for each object (attributes and IDs instead of only IDs)
    -w[orkspace] Print output to current workspace instead of stdout
    -f[ile] f    Print output to named file 'f' instead of stdout

$ mseed get

This command prints the data for the specified object. The command has the following options:

    -r[aw]       Print raw JSON (implies -v)
    -readable    Print in a user readable format
    -w[orkspace] Print output to current workspace 
    -f[ile] f    Print output to named file 'f'

Examples

List all top level object types in Model SEED:

>> mseed list
biochems (3)
models (10)
mappings (1)
annotations (8)

List all models:

>> mseed list models
chenry/Seed83333.1
public/iJR904
...

List all media in the biochemistry currently selected in the environment:

>> mseed list biochem/media
biochem/chenry/main/media/LB
biochem/chenry/main/media/GlucoseMinimal
biochem/chenry/main/media/NMS
...

List all media in the specific biochemistry "chenry/main":

>> mseed list biochem/chenry/main/media
biochem/chenry/main/media/LB
biochem/chenry/main/media/GlucoseMinimal
biochem/chenry/main/media/NMS
...

List all sub-entities of the biochemistry entity:

>> mseed list biochem/
media (200)
reactions (10,134)
compounds (12,439)
compartments (10)
...