Code Monkey home page Code Monkey logo

irods_fcs's Introduction

irods-fcs

Summary

As of version 0.0.1, this Python3 module contains the basic functionality to

  • pull keyword/value parameter pairs from the headers of FCS files

  • if the file is registered in iRODS, filter the parameter pairs optionally via a list of desired keywords and translate the selected parameters into metadata tags that will annotate the corresponding iRODS data object.

These capabilities can be extended to become interoperable with

We rely on the PyPI 'FlowCal' module at present

Setup

On Centos 7 with an iRODS 4.2.11 server installed, we can set up in this way:

(as root)  
# sudo apt install python3-tkinter python3-pip python36-virtualenv git
(as irods) 
$ virtualenv-3 ~/py3
$ . ~/py3/bin/activate
(py3) $ git clone http://github.com/d-w-moore/irods_fcs
(py3) $ pip install ./irods_fcs

Demonstration

Using a sample .FCS file:

# -- choose a subset of the available keywords in the file header (no filtering if keywords are not entered)

(py3) $ irods_fcs/src/demo.sh /tmp/01-ALL_651149252706-A8.fcs 
enter keywords > SMID TBID

# -- list the registered data object's metadata tags that were attached 

(py3) $ imeta ls -d  `ipwd`//01-ALL_651149252706-A8.fcs
AVUs defined for dataObj /tempZone/home/rods/01-ALL_651149252706-A8.fcs:
attribute: SMID
value: CA012-004_20OCT20_0024 00212_C1D15
units: 
----
attribute: TBID
value: 2e48cac4-566e-4d07-bf90-44fc3e568e12
units: 

irods_fcs's People

Contributors

d-w-moore avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.