Skip to content

GreenawayLab/cagey

This branch is up to date with lukasturcani/cagey:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e81ecf · Feb 28, 2024

History

18 Commits
Feb 22, 2024
Feb 22, 2024
Feb 21, 2024
Feb 28, 2024
Feb 21, 2024
Nov 13, 2023
Nov 13, 2023
Sep 7, 2023
Feb 21, 2024
Feb 21, 2024
Feb 22, 2024
Feb 27, 2024

Repository files navigation

Docs:https://cagey.readthedocs.io

Cagey

First and foremost cagey is a command line tool for creating and managing a cage database. With cagey you will extract a a range of experimental and computational data in a variety of formats and place it into a single file. You can then use this file as input for your scripts which perform data analysis. You can install cagey with:

pip install cagey

Once installed you can use the command line tool to create a new database:

cagey new path/to/data path/to/cagey.db

This will create a new database at path/to/cagey.db and populate it with data from path/to/data. There are in fact a lot more things you can do with cagey, and the best way to learn about them is to use it interactively, starting with:

cagey --help
 Usage: cagey [OPTIONS] COMMAND [ARGS]...

 A cage database tool.
 Run cagey help intro for an introduction.

╭─ Options ───────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.             │
│ --show-completion             Show completion for the current shell, to copy it or  │
│                               customize the installation.                           │
│ --help                        Show this message and exit.                           │
╰─────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────╮
│ help         Get help on how to use cagey.                                          │
│ insert       Insert new data into the cagey database.                               │
│ ms           Mass spectrum analysis.                                                │
│ new          Create a new database.                                                 │
│ nmr          Extract NMR peaks.                                                     │
╰─────────────────────────────────────────────────────────────────────────────────────╯

Working with the database

Once you've used cagey to create a database, you can use the cagey.queries module to extract data from it in your Python scripts. This step is best understood by reading our documentation, which you can find at https://cagey.readthedocs.io.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.2%
  • PLpgSQL 3.9%
  • Just 0.9%