Coder Social home page Coder Social logo

get-gene-info's Introduction

get-gene-info.pl

Retrieving HGNC gene symbol reports (human genes only) via a list of gene IDs. (mac or linux compatible only).

SYNOPSIS

./get-gene-info.pl -type=ncbi -file=ids.txt -column=hgnc_id -column=symbol

Options:
  -help            Brief help message.
  -man             Full documentation.
  -type            Gene ID type within the file.
  -file            File name containing the list of gene IDs.
  -column          This argument can be used multiple times. Will
                   retrieve the columns specified from the gene report.

DESCRIPTION

A perl script which will return tab separated tabular data containing HGNC gene information for each gene ID specified in the user provided file. The script utilises the HGNC REST service and allows the user to retrieve any data that is displayed within our gene symbol reports.

OPTIONS

-help

Print a brief help message and exits.

-man

Prints the manual page and exits.

-type

The type of gene IDs found within the provided file. Type can be one of the following:

ncbi               for NCBI gene IDs eg. 673
hgnc               for HGNC gene IDs eg. HGNC:1097
ensembl            for ensembl gene IDs eg. ENSG00000157764
symbol             for HGNC approved symbol eg. TP53

-file

The path of the txt file that contains a list of gene IDs of the type seen above

-column

Use this flag for each column you want to appear within the output. Columns will be tab separated. For a list of columns that you can use please refer to either our REST help page or using the info REST service command and use any columns under "storedFields".

REQUIREMENTS

This will only work for macs and linux machines. Git must be installed.

Mac users

If you haven't install git or xcode and you initiate a git clone, your mac may ask you to install xcode. Please install this app and try to git clone once again.

INSTALL

To install this command line tool, clone this project into your directory of choice:

git clone https://github.com/HGNC/get-gene-info.git

Once cloned you then need to run the install script:

./install.sh

The install script will download all the required modules needed for the script and will test the script. Once successfully install you may use the script as described above.

Install video

Install video

get-gene-info's People

Contributors

krisgray avatar

Watchers

James Cloos 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.