boydgreenfield / cual-id

A package for creating and managing sample identifiers in comparative -omics datasets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cual-id

Build Status Coverage Status Conda Install

Install

Miniconda

We strongly recommend installing cual-id using Miniconda. which greatly simplifies Python package management. To do this, you should first choose which version of Miniconda to install from the install page. You can choose either the Python 2 or 3 version. After you've installed Miniconda, you should run:

After this completes (it should take less than a minute), you can activate your cual-id environment by running:

Then, to see the available cual-id commands, run:

pip

If you prefer to install with pip, and already have a Python 3 development environment configured, you can do this with the following command:

Usage

Activating your environment

If you installed cual-id using Miniconda, to start using cual-id you'll need to run the following command when you open a new terminal:

Getting help

Creating a list of IDs

Creating a PDF of ID labels

If you need to label sample containers with stickers, you can create a printable PDF for those stickers. Currently the only sticker sheet format supported is a 4 by 9 sheet. We designed this printout for Electronic Imaging Materials #80402 label sheets. When printing PDFs make sure to check Actual Size in the print dialog box.

Correcting a list of ids

Result code definitions

  • D: duplicate
  • F: fixed
  • N: not fixable
  • V: valid (didn't need correction)

Output Format

input-id <tab> output-id <tab> result-codes

For example:

1a529f8b 1a529f88    F
d60d0e2b d60d0c2b    F
439628o9 43962809    F
439628o9 43962809    DF
df47deb4 df47deba    F

Python API

Citing cual-id

cual-id is currently under review at mSystems. Our pre-print of that manuscript is available on PeerJ:

cual-id globally unique, correctable, and human-friendly sample identifiers for comparative -omics studies.

Please cite this pre-print if you use cual-id in any published work.

About

A package for creating and managing sample identifiers in comparative -omics datasets.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 92.2%Language:Python 7.8%