Giter Site home page Giter Site logo

phenopackets / pxftools Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 67 KB

A command line utility for operating over Phenotype eXchange Format (PXF) files.

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

Scala 99.29% Groovy 0.71%
monarchinitiative pxf phenotype phenotype-exchange-format phenopackets

pxftools's Introduction

Build Status

CAUTION! THIS REPO HAS BEED RETIRED!

This initial implementation has now been archived - please refer to the phenopacket-schema repository for the current implementation.

PXFtools command line utility

This project provides a command line utility for operating over Phenotype eXchange Format (PXF) files.

Building

Install sbt (Scala Build Tool) on your system. For Mac OS X, it is easily done using Homebrew: brew install sbt. sbt requires a working Java installation, but you do not need to otherwise install Scala.

sbt compile

Development versions of pxftools may depend on the latest snapshot version of the PhenoPackets Java API. You may need to install the latest phenopackets-api into your local Maven repository before building pxftools.

Running

You can download a prepackaged release.

To build the command-line executable, run:

sbt stage

You will find executables for Unix and Windows in target/universal/stage/bin/. These depend on the libraries in target/universal/stage/lib.

Packaging a release

sbt universal:packageZipTarball

The release package will be at target/universal/pxftools-<version>.tgz

Usage output

Usage

 pxftools [options] command [command options]

Options

   --informat=STRING  : Input format. By default both yaml and json will be attempted. Set the input format to one of:
                        yaml
                        json
                        hpo-phenote
   --out=STRING       : Output file. Omit to write to standard out.
   --outformat=STRING : Output format. Set the output format to one of:
                        yaml
                        json
                        turtle

Commands

   convert <infile> : Read in a PXF file and output in the specified format.

   merge <files> ... : Read in multiple PXF files and output as a single merged PXF file in the specified format.

pxftools's People

Contributors

balhoff avatar jnguyenx avatar julesjacobsen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

doctorbud

pxftools's Issues

Add parser/writer for GAF

Many groups use GAFs for phenotypes as well as GO - e.g. planteome (cc @jhpoelen)

Conversely, pxf is generic enough for GO annotations (which are essentially normal, evolved phenotypes for genes)

It would be useful to read/write from GAFs into the phenopacket datamodel.

There are also a family of similar formats which could follow the same pattern. E.g. PAFs:
phenopackets/phenopacket-format#67

And of course the HPOA (non-phenote) TSVs

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.